dm-verity: fix buffer overflow in FEC calculation
Published Aug 15, 2026
9.8
CRITICALCVSS 3.1
EPSS 0.66%
Description
There's a buffer overflow in dm-verity-fec:
if (neras && *neras <= v->fec->roots) fio->erasures[(*neras)++] = i;
This allows *neras to reach roots + 1 (the post-increment pushes it past roots). This value is then passed as no_eras to decode_rs8(). Inside the RS decoder (lib/reed_solomon/decode_rs.c:113-121), the erasure locator polynomial loop writes lambda[j] where j can reach nroots + 1 — one element past the end of lambda[] (which is sized nroots + 1, valid indices 0..nroots). The out-of-bounds write lands on syn[0], corrupting the syndrome buffer.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.5StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.5
- Version 6.18.42StatusunaffectedConstraints<=6.18.*
- Version 7.1.5StatusunaffectedConstraints<=7.1.*
- Version 7.2StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
No data.
No data.
Red Hat Enterprise Linux 10
kernel-0:6.12.0-211.53.1.el10_2
Fixed · RHSA-2026:65334
Red Hat Enterprise Linux 8
kernel-0:4.18.0-553.163.1.el8_10
Fixed · RHSA-2026:67468
Red Hat Enterprise Linux 8
kernel-rt-0:4.18.0-553.163.1.rt7.504.el8_10
Fixed · RHSA-2026:67469
Red Hat Enterprise Linux 9
kernel-0:5.14.0-687.47.1.el9_8
Fixed · RHSA-2026:67150
Red Hat Enterprise Linux 9
kernel-0:5.14.0-687.47.1.el9_8
Fixed · RHSA-2026:67150
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel-0:6.12.0-211.53.1.el10_2 | Fixed | RHSA-2026:65334 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-553.163.1.el8_10 | Fixed | RHSA-2026:67468 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-553.163.1.rt7.504.el8_10 | Fixed | RHSA-2026:67469 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-687.47.1.el9_8 | Fixed | RHSA-2026:67150 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-687.47.1.el9_8 | Fixed | RHSA-2026:67150 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References (9)
- https://access.redhat.com/security/cve/CVE-2026-72098 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2516501 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-59056 Advisory
- https://git.kernel.org/stable/c/31d6e6c0ba8d5a7bd59660035a089307100c5e8e
- https://git.kernel.org/stable/c/5488d3a69d205e28f74f18857b853aa12e778e66
- https://git.kernel.org/stable/c/f7990c2b0f08b8841fcd2652d1d7002f5994a7a7
- https://lore.kernel.org/linux-cve-announce/2026081524-CVE-2026-72098-cbda@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-72098
- https://www.cve.org/CVERecord?id=CVE-2026-72098
Change history (0)
No recorded changes yet.