Off-by-one in Linux kernel - CVE-2026-46066
Published: May 28, 2026
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to an off-by-one error in ceph_process_folio_batch() when handling encrypted CephFS writeback after bounce buffer allocation failure. A local user can write to fscrypt-enabled CephFS files under memory pressure to trigger a kernel panic and cause a denial of service.
The issue is triggered when processing a 4KiB-written/4KiB-skipped pattern and the failed folio is not contiguous with the last folio already added to the batch.