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=1795099562; b=dzIziAiC1W2HMgn1SJYamOFQpI7Npu1HD+phKa2WqRO+OpepUgSzbulGnm5Oz7e0rdoa CfHIwBJFPUx8clbryMrppDLXmMNETbmwqG8NxTDbzk17NVquI8AgofNcxUj/r8rGH52Pk dKFBDmdoww3CCNaFi9K1jnDAhAABe9cfbEm5wMDhPqVZithdPjb2CzUvoDtXmqg+a2pdN JYWi/wtUk12x109TXltDQqT6aTtGLKElJFEjKs8maD+KtoUwe43VC8nloRanLK5FT5tXI hDFe/xo1qtqvE0iSw9fkTLDZdfNq21H0cILZRbmXW291nGngjEOroPDHSHW02GpUaZg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099562; 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=953kY8D1kTgoxnmJvDwmoOESOtXiLaM3sAC2ivwXPC0=; b=pltvgazQJessCpmpIyxyiqnUMZxeUyF4BUplHNVS9aK37LVnd0Ec8kq3EzvnTMf2XK40 6ipSvjBWJJJAbSXDzaZ1b85vSMdkkv2LN0nLQPRo8m0sLGjw0I3VHMBs2xqb2NI+F19vC M5A0H6rIiBfC+RhktWfaIeoYdrz0wENsqR6X8Yj9vPFWepsG9CMLFxIaHblI5Br93NXbO MwHpQqk4Kw5vgrDsFgv9SOVP0KE9kXVINmA4L7FYYCwRzDHY65lomUXr9vtzfCzT3hNNu hdQLxzAay9fPY6a27sifWHO5AtlrsXygLqINfzQvpiflM5pa1Q7eRxqCiheUQ+g+Uqw== 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=V5EN7cfI; 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 9D75C606A325 for ; Thu, 19 Nov 2026 14:46:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=V5EN7cfI Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C57C1F000C4; Thu, 19 Nov 2026 14:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099562; bh=953kY8D1kTgoxnmJvDwmoOESOtXiLaM3sAC2ivwXPC0=; h=From:To:Cc:Subject:Date:Reply-To; b=V5EN7cfIqdUuptsN0dPJpH0Jz77vfPLLtbS1wMRHrwTHk+A9VBMC279fwvMvOfL9z v0eleqqmrlq69t9Wn1C+Pho+N8JTPV8f1ReDMLNaZvfygm2k1Wt5QGEwoMhJBJP3Au QtSStRMIijtqazP38OF4bDpqsSLoviLEAWlcwdUs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99423: ovl: take a snapshot of the name for copy up Date: Thu, 19 Nov 2026 15:25:21 +0100 Message-ID: <2026111901-CVE-2026-99423-a555@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=3007; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vMnSzDhsjNFPAPeQ1kdmFxeGIe+8bQAY6eQ1xQYRIBE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Rrv54g8Xhe75uXS+2EnXFY8/VDYu/Houei/735Nr FUL9Orr7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJqDcxzI/nCJw37SG/WaRj 6zL3ZYee77M+5c+w4OKUdQqZ4afq9yscWHwyS/6Q4datzwA= 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: ovl: take a snapshot of the name for copy up The copy up of a directory reads a freed dentry name when a lookup moves the directory at the same time. A pointer to the name of a dentry is only valid while something stops a move of the dentry. ovl_do_copy_up() keeps a plain copy of c->dentry->d_name in c->destname, and ovl_copy_up_start() only keeps ovl_rename() away. When a lookup finds the same directory under another name after a change to the lower layer, d_splice_alias() moves the dentry and frees its external name. With a delay in ovl_do_copy_up(), a chmod of a lower-only directory with a 60 byte name raced with a rename of that directory in the lower layer and a stat of the new name, and KASAN reported a use-after-free in lookup_noperm_common(). Fix this by using take_dentry_name_snapshot() for c->destname. The Linux kernel CVE team has assigned CVE-2026-99423 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 and fixed in 6.12.117 with commit 9d844cf28544bfb3e121d31c68f3062bb237022e Issue introduced in 4.16 with commit 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 and fixed in 6.18.61 with commit c7e2808209899b2b94dbbcc3b28d44f6c065df62 Issue introduced in 4.16 with commit 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 and fixed in 7.3.2 with commit b2d4777172bea58a521358f7d9b871cffe4d5751 Issue introduced in 4.16 with commit 829c28be9bb9a05aa7eeb8a68a4536cca2d3d694 and fixed in 7.4-rc1 with commit 65bf000962a33ec9d2488e4e1797b6cf630abcbb 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-99423 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/overlayfs/copy_up.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/9d844cf28544bfb3e121d31c68f3062bb237022e https://git.kernel.org/stable/c/c7e2808209899b2b94dbbcc3b28d44f6c065df62 https://git.kernel.org/stable/c/b2d4777172bea58a521358f7d9b871cffe4d5751 https://git.kernel.org/stable/c/65bf000962a33ec9d2488e4e1797b6cf630abcbb