# CVE-2026-72098: dm-verity: fix buffer overflow in FEC calculation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.78% (percentile 52, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-08-15T05:52:43.666Z
- **Modified:** 2026-10-30T13:19:46.927Z

## Who should check

- Anyone running Linux \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 84d4d2a6988c9a733f7821452cefb5b0d93de2d1; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 374775626c327aec2425c16b4d36706e5f8718b8; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< dc662eed1c432cc2fd4e9314f58d30b3a8cca7cc; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 5488d3a69d205e28f74f18857b853aa12e778e66; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< f7990c2b0f08b8841fcd2652d1d7002f5994a7a7; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 31d6e6c0ba8d5a7bd59660035a089307100c5e8e
- Anyone running Linux 4.5

## Description

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

dm-verity: fix buffer overflow in FEC calculation

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 and fixed versions

- Linux: \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 84d4d2a6988c9a733f7821452cefb5b0d93de2d1; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 374775626c327aec2425c16b4d36706e5f8718b8; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< dc662eed1c432cc2fd4e9314f58d30b3a8cca7cc; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 5488d3a69d205e28f74f18857b853aa12e778e66; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< f7990c2b0f08b8841fcd2652d1d7002f5994a7a7; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 31d6e6c0ba8d5a7bd59660035a089307100c5e8e (cvelist)
- Linux: 4.5 (cvelist)

## Mitigation

- Upgrade Linux to 31d6e6c0ba8d5a7bd59660035a089307100c5e8e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72098. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72098.md
Affected: Linux >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 84d4d2a6988c9a733f7821452cefb5b0d93de2d1; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < 374775626c327aec2425c16b4d36706e5f8718b8; >= a739ff3f543afbb4a041c16cd0182c8e8d366e70, < dc662eed1c432cc2fd4e9314f58d30b3a8cca7cc; >= a739ff3f543afbb4a041c16…
Fixed in: Linux 84d4d2a6988c9a733f7821452cefb5b0d93de2d1, Linux 374775626c327aec2425c16b4d36706e5f8718b8, Linux 5488d3a69d205e28f74f18857b853aa12e778e66, Linux 31d6e6c0ba8d5a7bd59660035a089307100c5e8e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72098 being exploited?

There is no confirmed exploitation: CVE-2026-72098 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.78% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72098?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-72098?

Linux \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 84d4d2a6988c9a733f7821452cefb5b0d93de2d1; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 374775626c327aec2425c16b4d36706e5f8718b8; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< dc662eed1c432cc2fd4e9314f58d30b3a8cca7cc; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 5488d3a69d205e28f74f18857b853aa12e778e66; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< f7990c2b0f08b8841fcd2652d1d7002f5994a7a7; \>= a739ff3f543afbb4a041c16cd0182c8e8d366e70, \< 31d6e6c0ba8d5a7bd59660035a089307100c5e8e; Linux 4.5.

### Is there a fix for CVE-2026-72098?

Yes. Fixed in Linux 84d4d2a6988c9a733f7821452cefb5b0d93de2d1, Linux 374775626c327aec2425c16b4d36706e5f8718b8, Linux 5488d3a69d205e28f74f18857b853aa12e778e66, Linux 31d6e6c0ba8d5a7bd59660035a089307100c5e8e. Upgrade Linux to 31d6e6c0ba8d5a7bd59660035a089307100c5e8e or later.

### How do I check if I'm affected by CVE-2026-72098?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/84d4d2a6988c9a733f7821452cefb5b0d93de2d1>
- other: <https://git.kernel.org/stable/c/374775626c327aec2425c16b4d36706e5f8718b8>
- other: <https://git.kernel.org/stable/c/dc662eed1c432cc2fd4e9314f58d30b3a8cca7cc>
- other: <https://git.kernel.org/stable/c/5488d3a69d205e28f74f18857b853aa12e778e66>
- other: <https://git.kernel.org/stable/c/f7990c2b0f08b8841fcd2652d1d7002f5994a7a7>
- other: <https://git.kernel.org/stable/c/31d6e6c0ba8d5a7bd59660035a089307100c5e8e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72098>

HTML: <https://flawdb.com/CVE-2026-72098> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72098>
