7.8

CVE-2026-31716: fs/ntfs3: validate rec->used in journal-replay file record check

Modified
AliasesUBUNTU-CVE-2026-31716DEBIAN-CVE-2026-31716CGA-368c-j28p-rv72
Published 01-05-2026Last modified 05-08-2026

Vulnerability summary

CVE-2026-31716 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in linux. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.13%
0%100%
Low · -0.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 36 · Related 34

Timeline

  1. 01-05-2026
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: validate rec->used in journal-replay file record check check_file_record() validates rec->total against the record size but never validates rec->used. The do_action() journal-replay handlers read rec->used from disk and use it to compute memmove lengths: DeleteAttribute: memmove(attr, ..., used - asize - roff) CreateAttribute: memmove(..., attr, used - roff) change_attr_size: memmove(..., used - PtrOffset(rec, next)) When rec->used is smaller than the offset of a validated attribute, or larger than the record size, these subtractions can underflow allowing us to copy huge amounts of memory in to a 4kb buffer, generally considered a bad idea overall. This requires a corrupted filesystem, which isn't a threat model the kernel really needs to worry about, but checking for such an obvious out-of-bounds value is good to keep things robust, especially on journal replay Fix this up by bounding rec->used correctly. This is much like commit b2bc7c44ed17 ("fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot") which checked different values in this same switch statement.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.13%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

Decrease -0.06 pp

From 0.19% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu146 products
  • linux< 5.15.0-186.196 | < 6.8.0-136.136 | All versions (No fix recorded) | < 7.0.0-27.27
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1112.119 | < 6.8.0-1061.64 | All versions (No fix recorded) | < 7.0.0-1008.8
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Chainguard6 products
  • linux-aws-6.18< 6.18.31-r0
  • linux-azure-6.18< 6.18.24-r1 | < 6.18.31-r0
  • linux-gcp-6.18< 6.18.31-r0
  • linux-qemu-6.18< 6.18.24-r3
  • linux-qemu-rc< 7.1_rc3-r0
Linux2 products
  • linux≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 8e64d33198b5a0fb14a452708bad844f94f03b2c | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 1393a467a9607e62123806de7d4c3a3e54e396a9 | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < f90b8a1798b750755a9e9aee66678f0a1820bbaf | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 4b1613d7e2deda831a97e427d1ea586e50fe1be5 | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 0112e6279420d4005b3d57af36fb45c01b8d0116 | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < f79d0403ea20a81bc29105bba54fbcab54e8c403 | ≥ b46acd6a6a627d876898e1c84d3f84902264b445, < 0ca0485e4b2e837ebb6cbd4f2451aba665a03e4b | 5.15
  • linux_kernel≥ 5.15, < 6.6.136 | ≥ 6.7, < 6.12.84 | ≥ 6.13, < 6.18.25 | ≥ 6.19, < 7.0.2 | 7.1:rc1
Debian1 product
  • linux< 6.1.176-1 | < 6.12.85-1 | < 7.0.3-1

4 vendors · 155 products

References

46 links
Show all 46 references