Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F6F13CB572 for ; Sun, 18 Oct 2026 15:27:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337281; cv=none; b=CEpTlNG4MIRRroAX9SYVr28PxJINR6s6XjhDc1TFM+4629+L+/uMYgqa31KwxAxnc62XaLYJebOchvVuZIKHgkCdI9NKJI9aYjatxNKwpEvgriDlgjlgv00q0MGzb/f4EtLK8nVnRxQD6vSVkEldzl8o37IVn2p6Xsg9pfG/vTo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337281; c=relaxed/simple; bh=V60MrUQ/0ISDl6xNJqW4n2VwmLgetSszX2sLeyC7jpg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hNh06aWioFJGYsJ6qr4av8c3rud4+yx2jeRKIiswUYUgxfK8tBSH4cTTZUMdWa3ssg1yj3ezfTurAzn0Ezzg8J3H3R8fH91Tc5UnxanRYw8kJKDhKz2DmYfqw3zi36F7aH8MwM/Kc9yhF6tE4PGNgNvIRbs04o+Tcu7LFyJWL4A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sWxsUwZU; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sWxsUwZU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 337ED1F000C4; Sun, 18 Oct 2026 15:27:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337278; bh=8eyfU/k1dJzEoIbbpOJbPgkKz/y4thF4ZVMpX3GvjqA=; h=From:To:Cc:Subject:Date:Reply-To; b=sWxsUwZU3kU2g8Yu4uEAXj8ge7feQMsoAOeO2MgR04VvhlQZdew1y9Qt+A/5GJQJw 0aYnOyOiqMCgCjPSfgzdZwjracv2GbUUsyjdsANfQUc0SnjrFGeFXsS7J0tLL/ZZ2E gXIScGOq4l6RIcewjrdZX//upiN1C4SHqWKEveOk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98553: autofs: fix sbi->pipe file reference leak in autofs_kill_sb() Date: Sun, 18 Oct 2026 17:16:57 +0200 Message-ID: <2026101828-CVE-2026-98553-91a4@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3709; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Qefp5LTXgHUvT3w14/ck7XFxmS2FdxTsrQO9+l8Udcg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHk3UfXJMOdtgu+Lia3zz2B+afnsyd22Ny4POb1sDu WXrPpfv6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJdDMzzE/LaL659EdozjkV E5XJD74lLl/aq8cwz2rmr6Lo74zlZatF1lw9WGT2cXnAHwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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(). The Linux kernel CVE team has assigned CVE-2026-98553 to this issue. Affected and fixed versions =========================== Issue introduced in 4.18 with commit ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 and fixed in 5.10.271 with commit 3684e2273ba94553af3c5195a46a50214a1a96e3 Issue introduced in 4.18 with commit ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 and fixed in 5.15.222 with commit 0662b1ff9b383d5a233d344e4dc518c27a17f7b8 Issue introduced in 4.18 with commit ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 and fixed in 6.1.189 with commit 34fa4c1c6e10507dc60e35a82cc9655666946cfd Issue introduced in 4.18 with commit ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 and fixed in 6.6.158 with commit a58593b501b7be5ad2bc5181bfa8cd4599be257c Issue introduced in 4.18 with commit ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 and fixed in 6.12.112 with commit f1c57f5b16bbc3571bd479c290996c4d4e1fb931 Issue introduced in 4.18 with commit ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 and fixed in 6.18.55 with commit 4bcb371019097d0e357f097902587401c509bbc9 Issue introduced in 4.18 with commit ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 and fixed in 7.2.9 with commit fc4fd0281ac80b5a3c5a2330f688f0f9d2a420b6 Issue introduced in 4.18 with commit ebc921ca9b92a3cf304d99bd7b7f373ec78c7ed7 and fixed in 7.3-rc5 with commit aa5e44b29ffe4eaa08cc2237fd65bc2596bc023e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98553 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/autofs/inode.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/3684e2273ba94553af3c5195a46a50214a1a96e3 https://git.kernel.org/stable/c/0662b1ff9b383d5a233d344e4dc518c27a17f7b8 https://git.kernel.org/stable/c/34fa4c1c6e10507dc60e35a82cc9655666946cfd https://git.kernel.org/stable/c/a58593b501b7be5ad2bc5181bfa8cd4599be257c https://git.kernel.org/stable/c/f1c57f5b16bbc3571bd479c290996c4d4e1fb931 https://git.kernel.org/stable/c/4bcb371019097d0e357f097902587401c509bbc9 https://git.kernel.org/stable/c/fc4fd0281ac80b5a3c5a2330f688f0f9d2a420b6 https://git.kernel.org/stable/c/aa5e44b29ffe4eaa08cc2237fd65bc2596bc023e