# CVE-2026-72202: ntfs: avoid heap allocation for free-cluster readahead state

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-08-15T05:53:59.587Z
- Modified: 2026-08-18T07:16:53.560Z
- Assigned by: Linux

## Description

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

ntfs: avoid heap allocation for free-cluster readahead state

get_nr_free_clusters() allocates a temporary file_ra_state before it
publishes the precomputed free cluster count, sets NVolFreeClusterKnown(),
and wakes vol->free_waitq. 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 file_ra_state_init() only sets
ra_pages and prev_pos.

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

(As written by CVE List.)

## Affected

- Linux Linux: from 6251f0b0de7d645e3591931ca4c11d8322c1866f before 40ee64e633e5e413f2255bb48c063977d8c86f34; from 6251f0b0de7d645e3591931ca4c11d8322c1866f before c05132077df57a384919f61d7f8a8e76d748a6d4; 7.1 (not affected: before 7.1; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/40ee64e633e5e413f2255bb48c063977d8c86f34>
- <https://git.kernel.org/stable/c/c05132077df57a384919f61d7f8a8e76d748a6d4>

## Sources

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

---

Page: https://cve.day/CVE-2026-72202 · Whole record: https://cve.day/CVE-2026-72202.json · Rebuilt by cve.day 2026-11-25T22:59:33.042Z
