Impact
The Linux kernel contains an off‑by‑one error in the CephFS writeback path when a crypto bounce buffer allocation fails. If the failed folio is not contiguous with the last successful one, the counter tracking the number of write extents remains incremented, and a kernel assertion later expects the counter to match the number of operations. The mismatch triggers a BUG_ON that crashes the kernel. An attacker can induce this by writing to an fscrypt‑enabled CephFS file with alternating 4 KiB blocks and then applying memory pressure until the allocation fails. The crash results in a denial of service by rendering the node unusable until reboot. This is a pure crash condition and does not provide direct code execution or privilege escalation.
Affected Systems
Affected systems are Linux kernel builds that include the CephFS driver and have not applied the recent patch. The vulnerability was first identified in 2022; the regression was revealed in kernel releases 6.18.16, 6.19.6 and 7.0‑rc1. All subsequent kernel versions incorporate the fix that correctly decrements the operation counter when the bounce buffer allocation fails. Systems running earlier kernel releases without the patch are susceptible.
Risk and Exploitability
Risk assessment shows that the CVSS score of 5.5 indicates moderate severity. The EPSS score is unavailable, and the issue is not listed in the CISA KEV catalog. The attack vector requires privileged or local access to perform the crafted write operations and induce memory pressure, so the exploitation likelihood is moderate for an internal adversary. Nonetheless, any system exposed to CephFS with fscrypt enabled should promptly apply the patched kernel to avoid the crash.
OpenCVE Enrichment