CVE-2026-98553
Not scored
autofs: fix sbi->pipe file reference leak in autofs_kill_sb()
- Severity
- Not scored
- Exploit likelihood
- 0.22% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 before 3684e2273ba94553af3c5195a46a50214a1a96e3, from ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 before 0662b1ff9b383d5a233d344e4dc518c27a17f7b8, from ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 before 34fa4c1c6e10507dc60e35a82cc9655666946cfd, from ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 before a58593b501b7be5ad2bc5181bfa8cd4599be257c, from ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 before f1c57f5b16bbc3571bd479c290996c4d4e1fb931, from ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 before 4bcb371019097d0e357f097902587401c509bbc9, from ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 before fc4fd0281ac80b5a3c5a2330f688f0f9d2a420b6, from ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 before aa5e44b29ffe4eaa08cc2237fd65bc2596bc023e and 1 more Not affected: before 4.18, from 5.10.271 up to 5.10.*, from 5.15.222 up to 5.15.*, from 6.1.189 up to 6.1.*, from 6.6.158 up to 6.6.*, from 6.12.112 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-98553 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-98553 changed 2026-10-19 | Public domain |