# CVE-2026-46130: dm-verity-fec: fix reading parity bytes split across blocks (take 3)

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-28 · Modified: 2026-11-06
- Aliases: UBUNTU-CVE-2026-46130, DEBIAN-CVE-2026-46130, CGA-3r2r-4h9c-jvmg, CGA-4m78-q576-r3jp, CGA-4mj2-9ppv-78h9, CGA-4pwf-f47r-x3x6, CGA-5979-7vxr-4qgw, CGA-5hf8-qcfv-9pg5, CGA-64j5-x65x-m573, CGA-6x6r-mj8j-4339, CGA-864q-pjpj-8xjp, CGA-9qhc-5wvv-wfgh, CGA-9wvg-chhg-vhgf, CGA-g396-97wp-3f84, CGA-gwx5-9625-7jf9, CGA-jx25-rx86-cfw3, CGA-p9h9-3gh5-wq7r, CGA-pcwm-9278-wx36, CGA-pmfc-w989-jrw6, CGA-pp5h-r7q2-48pv, CGA-rwxv-9555-5q7q, CGA-rxrq-6j6h-87cj, CGA-qf9q-384m-cfc4, CGA-r4wj-c58w-m7fr, CGA-r7mx-wg55-jg7m, CGA-v387-g6pq-36q3, CGA-v692-v3fc-vpv4, CGA-v6w2-h96j-4xvw, CGA-v8vh-f9v9-7m4g, CGA-wcj9-2fgc-5pvx, CGA-wm6c-qj57-r8x3, CGA-29x5-rx7c-vwc7, CGA-4h46-q49q-fv7g, CGA-g6j3-c2ch-mjrc, CGA-prvw-69qh-5c9q, CGA-4754-7xgr-9xg4, CGA-93wf-444r-hwr4, CGA-p442-6m8c-863w, CGA-v4r6-g8mv-x8v5, CGA-47cx-6g6q-28gj, CGA-5wjp-w5qf-5p3r
- Record: https://cvemate.com/vulnerability/CVE-2026-46130 · JSON: https://cvemate.com/vulnerability/CVE-2026-46130/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

dm-verity-fec: fix reading parity bytes split across blocks (take 3)

fec_decode_bufs() assumes that the parity bytes of the first RS codeword
it decodes are never split across parity blocks.

This assumption is false.  Consider v->fec->block_size == 4096 &&
v->fec->roots == 17 && fio->nbufs == 1, for example.  In that case, each
call to fec_decode_bufs() consumes v->fec->roots * (fio->nbufs <<
DM_VERITY_FEC_BUF_RS_BITS) = 272 parity bytes.

Considering that the parity data for each message block starts on a
block boundary, the byte alignment in the parity data will iterate
through 272*i mod 4096 until the 3 parity blocks have been consumed.  On
the 16th call (i=15), the alignment will be 4080 bytes into the first
block.  Only 16 bytes remain in that block, but 17 parity bytes will be
needed.  The code reads out-of-bounds from the parity block buffer.

Fortunately this doesn't normally happen, since it can occur only for
certain non-default values of fec_roots *and* when the maximum number of
buffers couldn't be allocated due to low memory.  For example with
block_size=4096 only the following cases are affected:

    fec_roots=17: nbufs in [1, 3, 5, 15]
    fec_roots=19: nbufs in [1, 229]
    fec_roots=21: nbufs in [1, 3, 5, 13, 15, 39, 65, 195]
    fec_roots=23: nbufs in [1, 89]

Regardless, fix it by refactoring how the parity blocks are read.
```

## Signals

- CVSS: 7.1 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS: 0.159%, percentile 5.253%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 171)

- chainguard linux-aws-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-aws-6.18 (Chainguard): \< 6.18.44-r0
- chainguard linux-azure-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.18 (Chainguard): \< 6.18.44-r0
- chainguard linux-desktop-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-firecracker-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-gcp-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-gcp-6.18 (Chainguard): \< 6.18.44-r0
- chainguard linux-gcp-6.18-bootc (Chainguard): \< 6.18.44-r0
- chainguard linux-gcp-6.18-bootc-boot-installed (Chainguard): \< 6.18.38-r2
- chainguard linux-microvm-6.18 (Chainguard): All versions (No fix recorded)
- chainguard linux-microvm-6.18-image-compressed (Chainguard): All versions (No fix recorded)
- chainguard linux-microvm-6.18-image-uncompressed (Chainguard): All versions (No fix recorded)
- chainguard linux-microvm-6.18-loadpin-test (Chainguard): All versions (No fix recorded)
- chainguard linux-microvm-6.18-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-qemu-6.12 (Chainguard): All versions (No fix recorded)

## References (first 20 of 30)

- <https://git.kernel.org/stable/c/d47281b9a4472cfd73122393e79fbe76b651e46a>
- <https://git.kernel.org/stable/c/3d1b4e2d8ac0a1a1390a117f61ce0ca1c47e3bcb>
- <https://git.kernel.org/stable/c/430a05cb926f6bdf53e81460a2c3a553257f3f61>
- <https://ubuntu.com/security/CVE-2026-46130>
- <https://www.cve.org/CVERecord?id=CVE-2026-46130>
- <https://git.kernel.org/linus/430a05cb926f6bdf53e81460a2c3a553257f3f61>
- <https://ubuntu.com/security/notices/USN-8566-1>
- <https://ubuntu.com/security/notices/USN-8568-1>
- <https://ubuntu.com/security/notices/USN-8569-1>
- <https://ubuntu.com/security/notices/USN-8593-1>
- <https://ubuntu.com/security/notices/USN-8603-1>
- <https://ubuntu.com/security/notices/USN-8618-1>
- <https://ubuntu.com/security/notices/USN-8663-1>
- <https://ubuntu.com/security/notices/USN-8664-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8781-1>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8728-3>
- <https://security-tracker.debian.org/tracker/CVE-2026-46130>
- <https://git.kernel.org/stable/c/03348b440f69417dc3a3c71d8271cff6b05f67fb>

---

Data as of 2026-12-05T04:24:12.067Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
