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.
Published: 2026-08-15
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a buffer overflow in the dm‑verity‑FEC component of the Linux kernel, where an out‑of‑bounds write occurs on the syndrome buffer during reed‑solomon decoding. This overflow can corrupt adjacent kernel memory, potentially leading to kernel crashes or data corruption. If the attacker can influence the data processed by dm‑verity, the memory overwrite could be used to hijack kernel execution and elevate privileges. This weakness is reflected in CWE‑787.

Affected Systems

All Linux kernel builds that include the dm‑verity module before the upstream patch are affected. The vulnerability is present in any kernel version that did not incorporate the fix found in the most recent kernel release. Devices that rely on dm‑verity for boot or filesystem integrity are therefore impacted.

Risk and Exploitability

The CVSS score of 9.8 signals critical severity, while the EPSS score of less than 1 % and absence from the CISA KEV catalog indicate limited public exploitation. The likely attack vector involves local interaction with a dm‑verity device during boot or while mounting a verified filesystem. This inference comes from the fact that dm‑verity operates at kernel level. Exploitation would require the ability to influence dm‑verity processing, which typically requires local or elevated privileges. Given the criticality and the low probability of exploitation, administrators should prioritize patching.

Generated by OpenCVE AI on August 18, 2026 at 04:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that incorporates the dm‑verity‑FEC buffer overflow fix.
  • For custom kernel builds, rebuild and deploy the kernel after applying the upstream patch.
  • If dm‑verity functionality is not needed, disable the dm‑verity module to remove the attack surface.

Generated by OpenCVE AI on August 18, 2026 at 04:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 03:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Mon, 17 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
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.
Title dm-verity: fix buffer overflow in FEC calculation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:40:13.507Z

Reserved: 2026-08-09T03:40:39.905Z

Link: CVE-2026-72098

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:23.897

Modified: 2026-08-17T06:18:08.687

Link: CVE-2026-72098

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72098 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T04:45:04Z

Weaknesses