# CVE-2026-72210: ntfs: fix off-by-one in mapping pairs decoding bounds checks

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-08-15T05:54:05.527Z
- Modified: 2026-12-01T08:17:14.483Z
- Assigned by: Linux

## Description

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

ntfs: fix off-by-one in mapping pairs decoding bounds checks

In ntfs_mapping_pairs_decompress(), attr_end points one byte past the
end of the attribute record:

    attr_end = (u8 *)attr + le32_to_cpu(attr->length);

The two bounds checks validating that mapping pair data bytes fit within
the attribute use strict greater-than (>), which allows a one-byte
out-of-bounds read when the data extends exactly to attr_end:

  b = *buf & 0xf;
  if (b) {
      if (unlikely(buf + b > attr_end))   // off-by-one
          goto io_error;
      for (deltaxcn = (s8)buf[b--]; b; b--)
          deltaxcn = (deltaxcn << 8) + buf[b];
  }

When buf + b == attr_end, the check evaluates to false and buf[b] reads
one byte past the valid attribute boundary. The same pattern appears in
the LCN delta bytes check.

Fix both checks to use >= so that buf[b] at exactly attr_end is
correctly rejected as out of bounds.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b06b4fc2138ded8ee0b3dc602991ff6dbb10dd0a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6626fb859f4c4772f2f59751d23937716e03f98f; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7ffa8f3d30236e0ab897c30bdb01224ff1fe1c89; from 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 before bfe835e535fe0aa5767fdd8116f62e835ba50b55; from 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 before 18760a74ef7c28df93726445b5595162e62ed341; 2.6.12; 7.1 (not affected: before 2.6.12; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.9 before 7.1; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/b06b4fc2138ded8ee0b3dc602991ff6dbb10dd0a>
- <https://git.kernel.org/stable/c/6626fb859f4c4772f2f59751d23937716e03f98f>
- <https://git.kernel.org/stable/c/7ffa8f3d30236e0ab897c30bdb01224ff1fe1c89>
- <https://git.kernel.org/stable/c/bfe835e535fe0aa5767fdd8116f62e835ba50b55>
- <https://git.kernel.org/stable/c/18760a74ef7c28df93726445b5595162e62ed341>

## Sources

- CVE List: [CVE-2026-72210](https://www.cve.org/CVERecord?id=CVE-2026-72210), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-72210](https://nvd.nist.gov/vuln/detail/CVE-2026-72210), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-72210 · Whole record: https://cve.day/CVE-2026-72210.json · Rebuilt by cve.day 2026-12-01T08:32:37.626Z
