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

Published Sep 25, 2026
·
Updated

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

fs: autofs: fix memory leak in autofsfillsuper()

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

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:22 AM
Data Sourced
via MITRE·10:22 AM
Description
Data Sourced
via NVD·11:17 AM
Description

Frequently Asked Questions

1

Under what condition does the leak occur?

The leak occurs when autofs_fill_super() successfully creates a new inode with autofs_new_ino() but later fails to create root_inode. The failure path returns -ENOMEM without freeing the previously created inode.

2

What is the impact if the affected failure path is reached?

A newly created autofs inode remains allocated, causing a memory leak. The provided information does not quantify the amount of memory leaked or describe further impact.

3

How is the issue fixed?

The fix calls autofs_free_ino() in the root_inode failure path before returning -ENOMEM, releasing the inode created earlier in autofs_fill_super().

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203