# CVE-2026-97606: fs: autofs: fix memory leak in autofs_fill_super()

- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-09-25T10:22:17.835Z
- Modified: 2026-10-19T10:17:30.503Z
- Assigned by: Linux

## Description

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

fs: autofs: fix memory leak in autofs_fill_super()

In autofs_fill_super(), we create a new inode using
autofs_new_ino(), however, if we fail to create root_inode,
(that is, root_inode failure path), we return -ENOMEM without
freeing the new inode(ino) that we created causing a memory leak.
Fix this by adding autofs_free_ino() to free the inode we created
in root_inode failure path before returning ENOMEM.

(As written by CVE List.)

## Affected

- Linux Linux: from 66917f85db6002ed09cd24186258892fcfca64b6 before 4262b91e08e74cb5209ea737c554cf983d332382; from 66917f85db6002ed09cd24186258892fcfca64b6 before 9933ad1c4ff67680cd59c47f6d2e81b533bcd467; from 66917f85db6002ed09cd24186258892fcfca64b6 before 6259b5d9bdc45fdb3158406b28c27fa074823159; from 66917f85db6002ed09cd24186258892fcfca64b6 before 5ab54837fce04a1c9923d0bfd3d5de51fdc768b3; 6.7 (not affected: before 6.7; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/4262b91e08e74cb5209ea737c554cf983d332382>
- <https://git.kernel.org/stable/c/9933ad1c4ff67680cd59c47f6d2e81b533bcd467>
- <https://git.kernel.org/stable/c/6259b5d9bdc45fdb3158406b28c27fa074823159>
- <https://git.kernel.org/stable/c/5ab54837fce04a1c9923d0bfd3d5de51fdc768b3>

## Sources

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

---

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