freevxfs: don't BUG() on unknown typed-extent type
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The freevxfs filesystem driver in the Linux kernel is affected. A crafted or corrupted VxFS disk image containing a file with an unrecognized typed-extent type can trigger a kernel crash (denial of service) when a block-mapping ioctl is issued on a regular file.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
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.
Timeline
- CVE published
- First seen by cve.now
- Record last updated
Affected versions
- Linux Linux
From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in fe40a19d571cbb584eea46038ee919d8712b2d2c; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 500e9d5bf9eff2096a21b7ac25a0a06ca46ab821; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in f1f2d54a576f0e4133b979e545abcfefd439c300; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 7ada9807e37103b41f586d34e3075e1209182b65; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 1284d687d46953fff9c0d969df108114611aca8b; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 405f13d7b270913e06e8e2b4de568985f94ef7d6; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 704d48d81dc41470e108811c32c577ada66192d4
- Linux Linux
2.6.12
- KernelLinux
fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53
References 7
git.kernel.org
- stable/c/fe40a19d571cbb584eea46038ee919d8712b2d2c
- stable/c/500e9d5bf9eff2096a21b7ac25a0a06ca46ab821
- stable/c/f1f2d54a576f0e4133b979e545abcfefd439c300
- stable/c/7ada9807e37103b41f586d34e3075e1209182b65
- stable/c/1284d687d46953fff9c0d969df108114611aca8b
- stable/c/405f13d7b270913e06e8e2b4de568985f94ef7d6
- stable/c/704d48d81dc41470e108811c32c577ada66192d4