CVE-2026-98553

autofs: fix sbi->pipe file reference leak in autofs_kill_sb()

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

autofs: fix sbi->pipe file reference leak in autofs_kill_sb()

When autofs_fill_super() fails before clearing AUTOFS_SBI_CATATONIC (for example, when find_get_pid() fails on an invalid pgrp mount option, or when an fs_context is closed before mounting), deactivate_locked_super() invokes autofs_kill_sb() -> autofs_catatonic_mode(sbi).

Because AUTOFS_SBI_CATATONIC is still set in sbi->flags, autofs_catatonic_mode() returns early without calling fput(sbi->pipe), permanently leaking the pipe struct file reference.

Explicitly release sbi->pipe in autofs_kill_sb() if it is still non-NULL after autofs_catatonic_mode().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 to before 3684e2273ba94553af3c5195a46a50214a1a96e3Affected
  • ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 to before 0662b1ff9b383d5a233d344e4dc518c27a17f7b8Affected
  • ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 to before 34fa4c1c6e10507dc60e35a82cc9655666946cfdAffected
  • ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 to before a58593b501b7be5ad2bc5181bfa8cd4599be257cAffected
  • ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 to before f1c57f5b16bbc3571bd479c290996c4d4e1fb931Affected
  • ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 to before 4bcb371019097d0e357f097902587401c509bbc9Affected
  • ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 to before fc4fd0281ac80b5a3c5a2330f688f0f9d2a420b6Affected
  • ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 to before aa5e44b29ffe4eaa08cc2237fd65bc2596bc023eAffected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.