Technical impact
A race condition was discovered between the kernel’s set_blocksize() function and the block device I/O handling paths. When set_blocksize() updates the block size while a concurrent reader holds an old-order folio, the fallback path for direct I/O writes can execute without the proper inode lock. This race allows a partial direct write to be dropped into the page cache with an incorrect order, which triggers a kernel BUG and results in an OS crash. The weakness is a race condition (CWE‑663) that can lead to a complete denial of service when the kernel panics.
Affected Systems
All Linux kernel builds running before inclusion of commit c0e473a0d226 ("block: fix race between set_blocksize and read paths") are potentially vulnerable. The issue is vendor‑agnostic; any Linux distribution shipping an affected kernel version can be impacted. No specific product or version list was supplied, so any pre‑fix kernel may be at risk.
Risk and Exploitability
The vulnerability has no publicly listed KEV entry and the EPSS score is unavailable, yet the crash severity is high. Exploitation requires a local or privileged process capable of issuing direct I/O (O_DIRECT pwritev) and toggling block size via ioctl(BLKBSZSET). A root user or a process with CAP_SYS_ADMIN can easily trigger the fault by following the described race sequence. While remote exploitation is unlikely without elevated privileges, any victim system running a vulnerable kernel faces a serious risk of service interruption if the race is triggered.