CVE-2026-46130
dm-verity FEC parity block out-of-bounds read in Linux kernel
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
| linux | linux_kernel | From 5.15.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's dm-verity-fec component, specifically in the function fec_decode_bufs(). The function incorrectly assumes that parity bytes of the first Reed-Solomon (RS) codeword it decodes are never split across parity blocks. However, under certain conditions involving specific values of fec_roots and the number of buffers (nbufs), parity bytes can be split across blocks, causing the function to read out-of-bounds from the parity block buffer.
This out-of-bounds read occurs when the byte alignment of parity data crosses a block boundary, for example when block_size is 4096 and fec_roots is 17 with nbufs equal to 1. The vulnerability is triggered only in rare cases with non-default fec_roots values and when the maximum number of buffers cannot be allocated due to low memory.
The issue was fixed by refactoring how parity blocks are read to prevent reading beyond the buffer limits.
How can this vulnerability impact me? :
This vulnerability can lead to out-of-bounds reads in the Linux kernel's dm-verity-fec component. Such out-of-bounds reads may cause system instability, crashes, or potentially expose sensitive memory contents.
However, the vulnerability is difficult to trigger because it requires specific non-default configurations and low memory conditions, which limits its practical impact.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability has been fixed by refactoring how the parity blocks are read in the Linux kernel's dm-verity-fec component.
To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix.