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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 31d6e6c0ba8d5a7bd59660035a089307100c5e8e, 374775626c327aec2425c16b4d36706e5f8718b8, 5488d3a69d205e28f74f18857b853aa12e778e66, 84d4d2a6988c9a733f7821452cefb5b0d93de2d1, dc662eed1c432cc2fd4e9314f58d30b3a8cca7cc, f7990c2b0f08b8841fcd2652d1d7002f5994a7a7 (CNA); fix release not confirmed
- Status: published
- Published: 2026-08-15 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2026-72098, DEBIAN-CVE-2026-72098
- Record: https://cvemate.com/vulnerability/CVE-2026-72098 · JSON: https://cvemate.com/vulnerability/CVE-2026-72098/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.789%, percentile 57.598%, 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)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.115-2 \| \< 7.1.5-1
- debian linux-6.12 (Debian): \< 6.12.115-2~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-151.151 \| \< 7.0.0-34.34
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76 \| \< 7.0.0-1013.13
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): \< 7.0.0-1013.13~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1070.76+fips1

## References (first 20 of 28)

- <https://git.kernel.org/stable/c/5488d3a69d205e28f74f18857b853aa12e778e66>
- <https://git.kernel.org/stable/c/f7990c2b0f08b8841fcd2652d1d7002f5994a7a7>
- <https://git.kernel.org/stable/c/31d6e6c0ba8d5a7bd59660035a089307100c5e8e>
- <https://ubuntu.com/security/CVE-2026-72098>
- <https://www.cve.org/CVERecord?id=CVE-2026-72098>
- <https://git.kernel.org/linus/31d6e6c0ba8d5a7bd59660035a089307100c5e8e>
- <https://ubuntu.com/security/notices/USN-8781-1>
- <https://ubuntu.com/security/notices/USN-8816-1>
- <https://ubuntu.com/security/notices/USN-8816-2>
- <https://ubuntu.com/security/notices/USN-8816-3>
- <https://ubuntu.com/security/notices/USN-8816-4>
- <https://ubuntu.com/security/notices/USN-8888-1>
- <https://ubuntu.com/security/notices/USN-8888-2>
- <https://security-tracker.debian.org/tracker/CVE-2026-72098>
- <https://git.kernel.org/stable/c/374775626c327aec2425c16b4d36706e5f8718b8>
- <https://git.kernel.org/stable/c/dc662eed1c432cc2fd4e9314f58d30b3a8cca7cc>
- <https://git.kernel.org/stable/c/84d4d2a6988c9a733f7821452cefb5b0d93de2d1>
- <https://ubuntu.com/security/notices/USN-9003-1>
- <https://ubuntu.com/security/notices/USN-9043-1>
- <https://ubuntu.com/security/notices/USN-9173-1>

---

Data as of 2026-12-05T04:20:03.753Z. 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
