# CVE-2026-72205: ntfs: free volume-wide resources on fill_super failure

- Severity: not scored yet
- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-08-15T05:54:01.803Z
- Modified: 2026-08-18T07:16:53.877Z
- Assigned by: Linux

## Description

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

ntfs: free volume-wide resources on fill_super failure

ntfs_fill_super()'s err_out_now path frees only the volume struct via
kfree(vol), leaving several vol-owned allocations behind on every mount
failure:

  - vol->nls_map, loaded by ntfs_init_fs_context() via
    load_nls_default() (or replaced by an explicit nls= option in
    ntfs_parse_param()), is never unload_nls()'d.

  - vol->volume_label, allocated by load_system_files() through
    ntfs_ucstonls() once the $Volume name attribute has been parsed, is
    not released by load_system_files()'s own error labels nor by the
    fill_super() inline cleanup that only runs on d_make_root()
    failure.  Any later failure inside load_system_files() leaks it.

  - vol->lcn_empty_bits_per_page was kvfree()'d in
    unl_upcase_iput_tmp_ino_err_out_now without clearing the pointer,
    so it could not be folded into a single common cleanup.

Because the failure paths never call ntfs_volume_free() and never reach
the d_make_root() inline cleanup block (it sits above the label and is
jumped over by the load_system_files() / kvmalloc failure gotos), these
resources accumulate per failed mount attempt with no chance of
recovery short of unloading the module.  This is a silent leak: the
inodes loaded prior to failure remain hashed but generic_shutdown_super()
skips evict_inodes() when sb->s_root is unset, so no CHECK_DATA_CORRUPTION
warning is emitted either.

Move the per-volume frees down to err_out_now and drop the
lcn_empty_bits_per_page kvfree() from the upper label so the cleanup is
performed exactly once on every failure path.  Using unconditional
kvfree() / kfree() / unload_nls() is safe because they all accept NULL
and the upper labels that previously freed nls_map (the d_make_root()
inline cleanup) already clear the pointer.

(As written by CVE List.)

## Affected

- Linux Linux: from 6251f0b0de7d645e3591931ca4c11d8322c1866f before aca3d383a23cb7f3a2849c09fda3974f1838d941; from 6251f0b0de7d645e3591931ca4c11d8322c1866f before a9523a7d3b24b3a6b25ec1eb668ee6618cacf05e; 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/aca3d383a23cb7f3a2849c09fda3974f1838d941>
- <https://git.kernel.org/stable/c/a9523a7d3b24b3a6b25ec1eb668ee6618cacf05e>

## Sources

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

---

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