---
id: CVE-2026-98872
title: 'freevxfs: don''t BUG() on unknown typed-extent type'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  freevxfs: don't BUG() on unknown typed-extent type

  vxfs_bmap_typed() handles four typed-extent types and calls BUG() in
  its default case, so an on-disk typed extent wi…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    fe40a19d571cbb584eea46038ee919d8712b2d2c
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    500e9d5bf9eff2096a21b7ac25a0a06ca46ab821
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    f1f2d54a576f0e4133b979e545abcfefd439c300
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    7ada9807e37103b41f586d34e3075e1209182b65
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    1284d687d46953fff9c0d969df108114611aca8b
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    405f13d7b270913e06e8e2b4de568985f94ef7d6
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    704d48d81dc41470e108811c32c577ada66192d4
  - Linux < 5.10.271
  - Linux < 5.15.222
  - Linux < 6.1.189
  - Linux < 6.6.158
  - Linux < 6.12.111
  - Linux < 6.18.53
  - Linux (all versions)
published: '2026-10-23'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T11:37:11.214Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-98872'
references:
  - url: 'https://git.kernel.org/stable/c/fe40a19d571cbb584eea46038ee919d8712b2d2c'
  - url: 'https://git.kernel.org/stable/c/500e9d5bf9eff2096a21b7ac25a0a06ca46ab821'
  - url: 'https://git.kernel.org/stable/c/f1f2d54a576f0e4133b979e545abcfefd439c300'
  - url: 'https://git.kernel.org/stable/c/7ada9807e37103b41f586d34e3075e1209182b65'
  - url: 'https://git.kernel.org/stable/c/1284d687d46953fff9c0d969df108114611aca8b'
  - url: 'https://git.kernel.org/stable/c/405f13d7b270913e06e8e2b4de568985f94ef7d6'
  - url: 'https://git.kernel.org/stable/c/704d48d81dc41470e108811c32c577ada66192d4'
tags:
  - cve.org
ingestedAt: '2026-10-23T13:24:55.584Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

freevxfs: don't BUG() on unknown typed-extent type

vxfs_bmap_typed() handles four typed-extent types and calls BUG() in
its default case, so an on-disk typed extent with any other type value
crashes the kernel. It is reachable from ioctl(FIBMAP) on a regular
file:

  kernel BUG at fs/freevxfs/vxfs_bmap.c:230!
  RIP: vxfs_bmap_typed fs/freevxfs/vxfs_bmap.c:230 [inline]
       vxfs_bmap1+0x128a/0x12d0 fs/freevxfs/vxfs_bmap.c:257

Replace the BUG() with WARN_ON_ONCE() and return 0 -- the value
vxfs_bmap_typed() already returns on failure (and from the DEV4 case
above); vxfs_getblk() maps 0 to -EIO, so the ioctl fails cleanly.

## Affected

- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < fe40a19d571cbb584eea46038ee919d8712b2d2c`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 500e9d5bf9eff2096a21b7ac25a0a06ca46ab821`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f1f2d54a576f0e4133b979e545abcfefd439c300`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 7ada9807e37103b41f586d34e3075e1209182b65`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1284d687d46953fff9c0d969df108114611aca8b`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 405f13d7b270913e06e8e2b4de568985f94ef7d6`
- `Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 704d48d81dc41470e108811c32c577ada66192d4`
- `Linux < 5.10.271`
- `Linux < 5.15.222`
- `Linux < 6.1.189`
- `Linux < 6.6.158`
- `Linux < 6.12.111`
- `Linux < 6.18.53`
- `Linux (all versions)`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
