Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187641; b=Kft5JD3HXPoG2hApOMOxR8+bpL2Ldr83LTTfy6v1WCT8ZKJZgPNS26vN1b5Pdk2of78m eXA35GznPS1exEh/j0Y4hBJ2yBrzRskPZgTEICtYrLycFMHJRBU17YTXjdWQ9fVou1tgo tS/YzYdQgbG5o4HIbs/1uyxzyX8wiVE7o4k3JK2xP9JH4uWQEdMMUQzFLmaPW5KtWTx31 qlJ5b7qXDx3Zm1iW80pB8lKa/NwF2cSXMLg3DVBTC89rkZriZff013G5Vr5j6RwDm1AXF WfLJg2up7kBFqvPSHQsfFykNbnfNXyVXu9MrXdeEHxC1brPn+ATizn72/3traXMTUpQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187641; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=ys6AaB5695mn4RGxTOGXX7mt6VgoagynwPskXsHYGec=; b=tJw3Q5nmU5MdRghYtC2U2J5GAKB/4nIuvHuwVweDWZxWMz+wMu+YPgp5pLd8fOSuDf2U NGh2yBqJGF9MPgKzxwhwe1g1ib8hTNQkToPb0x04BDH2cj9JDjEthTcRh+YryA3Qhmxns LTR3AfnTR9LL1C1pL8BZJP1u5IlkEeC0Y6TsyR4mthcWbszc6OE9jkTSSRlq0VH6YFWBa 1Y9VrW2ulhgKSTzjjjG+Ge2/Zq25Ojt+m0xhmAbD+5kzLiFoU4WSRfiijFrrSUcOyE574 Phajt+LAhFByB5r/It3F4MO+Udp94Jx/knnCBtS44BFBIGwBnyvIIiFGSKq9zeWro7w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=C8mCmU6O; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99B4B606A31D for ; Wed, 28 Oct 2026 11:40:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=C8mCmU6O Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B24C1F01825; Wed, 28 Oct 2026 11:40:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187641; bh=ys6AaB5695mn4RGxTOGXX7mt6VgoagynwPskXsHYGec=; h=From:To:Cc:Subject:Date:Reply-To; b=C8mCmU6OEQqUQ/oJEjyeL3+9Sfyx+Dd++XYAQmxHAjmw/2tCbvBVoaMQACbNzqlQh LG+fhK979C7q0MpQyNuh9+gyYBSOh13ikss+roksxx3RSpjiooqCHw+pl5cqLQ1iyl 7CpexCO/6Zbg8SdxoJOruGaoiTkfd+rK9mJzFdfc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99181: autofs: ignore notification errors from a replaced pipe Date: Wed, 28 Oct 2026 11:36:08 +0100 Message-ID: <2026102810-CVE-2026-99181-753c@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3624; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=U4ix9rIVqTl2GTNlq5z8swHiDo4H0BMVgpracI7Whc0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz9/79sCmsvXh2ai/D+e+OXJR9wRH0ecFvqvnsueZH PP23yN3uSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmsiWNYcGktfn6dYz88f63 J8ytf76s7aH++XcM86sZjQv6LnpxVvG23L44vSrv+9ZtzgA= 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: ignore notification errors from a replaced pipe autofs_notify_daemon() takes a reference to the current notification pipe under wq_mutex, then drops the mutex before writing the request. The write can block while the daemon enters catatonic mode and installs a replacement pipe. If the old pipe's reader is then closed, the delayed write returns -EPIPE and the generic error path enters catatonic mode again. That transition acts on the current superblock state, closes the replacement pipe, and releases the new daemon generation's wait queues. Only enter catatonic mode when the pipe which failed is still the current pipe. Factor the already-locked transition so the identity check and state change are atomic with respect to another replacement. This was reproduced on v7.3-rc5-337-gff47652a4b66c in a local QEMU guest. An unprivileged UID 65534 lookup filled the old packet pipe before a normal CATATONIC/SETPIPEFD restart. On the unmodified kernel, the new pipe received HUP and both a pending victim lookup and a later lookup failed with ENOENT in two out of two fresh-mount runs. With this change, the new pipe remained active, received an intact 304-byte request, and both victim lookups completed in two out of two runs. Normal lookup and restart-without-a-blocked-writer controls passed. No KASAN, oops, refcount, or lock diagnostic was observed. A source reproducer and complete local logs are available privately on request. The demonstrated impact is limited to denial of a shared autofs service during a legitimate daemon restart. No memory corruption, information leak, privilege escalation, or code execution primitive was observed. The Linux kernel CVE team has assigned CVE-2026-99181 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.28 with commit 8d7b48e0bc5fa01a818eac713d4cb0763090cd0e and fixed in 6.18.59 with commit 1a177064f501ed4b67873a43aae5d5bdb18b3704 Issue introduced in 2.6.28 with commit 8d7b48e0bc5fa01a818eac713d4cb0763090cd0e and fixed in 7.2.13 with commit fb296391f685d82dbb93621a970fb234cea45280 Issue introduced in 2.6.28 with commit 8d7b48e0bc5fa01a818eac713d4cb0763090cd0e and fixed in 7.3 with commit 65676cd4203c0e41a94caf54080a7f0a95434bda 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-99181 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/waitq.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/1a177064f501ed4b67873a43aae5d5bdb18b3704 https://git.kernel.org/stable/c/fb296391f685d82dbb93621a970fb234cea45280 https://git.kernel.org/stable/c/65676cd4203c0e41a94caf54080a7f0a95434bda