CVE-2026-72202

Source
https://cve.org/CVERecord?id=CVE-2026-72202
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72202.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72202
Downstream
Published
2026-08-15T05:53:59.587Z
Modified
2026-08-20T03:30:09.442348780Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ntfs: avoid heap allocation for free-cluster readahead state
Details

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

ntfs: avoid heap allocation for free-cluster readahead state

getnrfreeclusters() allocates a temporary filerastate before it publishes the precomputed free cluster count, sets NVolFreeClusterKnown(), and wakes vol->freewaitq. If that allocation fails, the worker returns without setting the flag or waking waiters, so callers waiting for the free count can block indefinitely.

The readahead state is only used synchronously while scanning the bitmap. Keep it on the stack and pass it by address to the readahead helper. This eliminates the early allocation failure path instead of adding a special case that publishes a conservative count and wakes the waitqueue. Zero-initialize the on-stack state because filerastateinit() only sets rapages and prev_pos.

Apply the same treatment to __getnrfreemftrecords(), which scans the MFT bitmap with the same short-lived readahead state.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72202.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6251f0b0de7d645e3591931ca4c11d8322c1866f
Fixed
40ee64e633e5e413f2255bb48c063977d8c86f34
Fixed
c05132077df57a384919f61d7f8a8e76d748a6d4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72202.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72202.json"