freevxfs: don't BUG() on unknown typed-extent type
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 2.6.12, < 5.10.271→ 5.10.271 ≥ 5.11.0, < 5.15.222→ 5.15.222 ≥ 5.16.0, < 6.1.189→ 6.1.189 ≥ 6.2.0, < 6.6.158→ 6.6.158 ≥ 6.7.0, < 6.12.111→ 6.12.111 ≥ 6.13.0, < 6.18.53→ 6.18.53 |
5.10.271 5.15.222 6.1.189 6.6.158 6.12.111 6.18.53 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-98872 linux-lts Fix available
- Debian DEBIAN-CVE-2026-98872 linux Fix available
- Ubuntu UBUNTU-CVE-2026-98872 linux-vmware, linux-riscv-7.0, linux-riscv-6.8 +54 more Fix available
Original description The description as published by the source.
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.
Source: Linux kernel CVE announcements NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- LINUX-CVE-ANNOUNCE CVE-2026-98872: freevxfs: don't BUG() on unknown typed-extent type
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com