CVE-2026-97485: omfs: handle set_blocksize failures
In the Linux kernel, the following vulnerability has been resolved:
omfs: handle setblocksize failures
omfs uses bufferheads, which don't handle block size > PAGESIZE well. Without this, mounting we will hit the
BUGON(offset >= foliosize(folio));
in foliosetbh on the first breadgfp call.
Affected Software
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems that mount an OMFS filesystem with a block size greater than PAGE_SIZE are exposed to the mount-time kernel failure described. The issue is specific to the Linux kernel's OMFS filesystem handling.
What action triggers the failure?
The failure occurs when mounting the affected OMFS filesystem. The first __bread_gfp call can reach a BUG_ON in folio_set_bh when the filesystem block size exceeds PAGE_SIZE.
How can I determine whether a filesystem is likely to trigger this issue?
Check whether the filesystem being mounted is OMFS and whether its block size is greater than the system PAGE_SIZE. The provided information does not identify any other trigger conditions.