{"id":"CVE-2026-97606","summary":"fs: autofs: fix memory leak in autofs_fill_super()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: autofs: fix memory leak in autofs_fill_super()\n\nIn autofs_fill_super(), we create a new inode using\nautofs_new_ino(), however, if we fail to create root_inode,\n(that is, root_inode failure path), we return -ENOMEM without\nfreeing the new inode(ino) that we created causing a memory leak.\nFix this by adding autofs_free_ino() to free the inode we created\nin root_inode failure path before returning ENOMEM.","modified":"2026-09-26T03:48:30.530717235Z","published":"2026-09-25T10:22:17.835Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97606.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4262b91e08e74cb5209ea737c554cf983d332382"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ab54837fce04a1c9923d0bfd3d5de51fdc768b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6259b5d9bdc45fdb3158406b28c27fa074823159"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9933ad1c4ff67680cd59c47f6d2e81b533bcd467"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97606.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97606"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"66917f85db6002ed09cd24186258892fcfca64b6"},{"fixed":"4262b91e08e74cb5209ea737c554cf983d332382"},{"fixed":"9933ad1c4ff67680cd59c47f6d2e81b533bcd467"},{"fixed":"6259b5d9bdc45fdb3158406b28c27fa074823159"},{"fixed":"5ab54837fce04a1c9923d0bfd3d5de51fdc768b3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97606.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97606.json"}}],"schema_version":"1.9.0"}