---
id: CVE-2026-97606
title: |-
  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,
  (tha…
summary: |-
  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,
  (tha…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 66917f85db6002ed09cd24186258892fcfca64b6 <
    4262b91e08e74cb5209ea737c554cf983d332382
  - >-
    Linux >= 66917f85db6002ed09cd24186258892fcfca64b6 <
    9933ad1c4ff67680cd59c47f6d2e81b533bcd467
  - >-
    Linux >= 66917f85db6002ed09cd24186258892fcfca64b6 <
    6259b5d9bdc45fdb3158406b28c27fa074823159
  - >-
    Linux >= 66917f85db6002ed09cd24186258892fcfca64b6 <
    5ab54837fce04a1c9923d0bfd3d5de51fdc768b3
  - Linux 6.7
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T11:17:14.657'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97606'
references:
  - url: 'https://git.kernel.org/stable/c/4262b91e08e74cb5209ea737c554cf983d332382'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5ab54837fce04a1c9923d0bfd3d5de51fdc768b3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6259b5d9bdc45fdb3158406b28c27fa074823159'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9933ad1c4ff67680cd59c47f6d2e81b533bcd467'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T11:06:38.901Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
