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=1795099512; b=jXFzDm4yPeAH6fq1GCxU72iDqfDg/kCfIEY8B5xNvt6aT4YPFMgssspi+IEf2zglLIr8 UNOLaDdCbhiT+hHDl6t2llAoM9Adkxvbras4ON0SdEBz0BRIyyrMJ/lbFpDyGcxRznJ4y uiMtfUYF8ylvaFBYTjDT5F06gIfclOC40Ane1mqvOW/57pOIeg9TecXc9Jxf2TFyC7LUt xZxIpkrWaevn5tRrl12JIOqUfMlEdUtOppvPYf+5/TE7hlCVCvvfp0+neayhQi6twE1y8 lYH/YvA+fMAus8n7zQG9aFedQfXP55a/29LHBT0Ik3BAA60gnG7mMNa4hATLxnT9fEw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099512; 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=sxIZZTYu+/kkmK37Gni3f11/1RWuInEEcLnBwMVBFtU=; b=cMVQ1ytp2RSQpEeDgIMvG64ILUSfEKeMi61oJGYXx4iwsl9UChCVNXryPlSA2Q1nxroR Q41tltd4JAe7ULhnF5UdWvUmGs6iShxslEG0JF9a50/Nm4JEJkPl0+1sM86QzLdQsCsSs 2bIwFseUVyJGU+4nZ0YuXHDe3WuD+RSCtYbTI/Hcfm7Y4lcYWWKUVXTdZOBVi8tp+AwtP AB611plM/NFWzAIP/1rZMYY7C6N0ABm4dvqnsiIFITlx234DpRlaIcDWx7K1HOEtPIxrz GDH1CmnuyHzcgrVXfgkgHSEv8m5JML0N8j36DjSxeFD2vrUKx2AR7ALWCEmM1slRs/w== 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=Hp70rFdz; 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 C00FF606A333 for ; Thu, 19 Nov 2026 14:45:12 +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=Hp70rFdz Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48ACA1F000C4; Thu, 19 Nov 2026 14:45:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099512; bh=sxIZZTYu+/kkmK37Gni3f11/1RWuInEEcLnBwMVBFtU=; h=From:To:Cc:Subject:Date:Reply-To; b=Hp70rFdzJQWb8kATO6MqVS+P9JPJ7hCkHkPq9sjOadNA3sB+zeT85ScJQyB2l6Lt1 Kf3qERpxkKXAu9KZCvqK9mvxMtm0FjNyCccwunMnLxIpsJLuP2SZWHn9LsXkG5M6jw g29EvfrSr/o+eiIELQAkhK5ocMXz8gbMjf2UUcOQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99417: ovl: fix a torn path in ovl_get_redirect() Date: Thu, 19 Nov 2026 15:25:15 +0100 Message-ID: <2026111900-CVE-2026-99417-7b17@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=3354; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WYMeFqw85C14EFqYw4YRlcxYBYnvLdlq5edMkdMN+lk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2RqUYuxdmeRymmZxfGNn81TYaKUnKsj8w1B5tk/Gx Q07Q9M7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLsExkWbPX7MScol80jXMBt wty7ayR3+lReZJin94qvLFQo9IebdeBGWZ8/S1+3MQUCAA== 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: fix a torn path in ovl_get_redirect() A hard link of a metacopy file that races with a rename of an ancestor stores a redirect to the wrong lower file. Each component of an absolute redirect must be the name that a dentry has in the parent that the walk continues with. ovl_get_redirect() copies the name under d_lock and calls dget_parent() after the unlock, and the callers for a hard link hold no lock that stops a rename across directories. A rename between the two steps combines the old name with the new parent. With delays in ovl_get_redirect(), an unprivileged user hard-linked a metacopy file while renaming its ancestor to another directory, the stored redirect named another lower path, and after a remount the file showed the data of a root-only file. Fix this by taking the parent first and checking it again under d_lock. The Linux kernel CVE team has assigned CVE-2026-99417 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit e04527fefba6e4e66492f122cf8cc6314f3cf3bf and fixed in 6.12.117 with commit a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e Issue introduced in 5.11 with commit e04527fefba6e4e66492f122cf8cc6314f3cf3bf and fixed in 6.18.61 with commit b9f57bb52124aec87bbe344d70a30806fe22b992 Issue introduced in 5.11 with commit e04527fefba6e4e66492f122cf8cc6314f3cf3bf and fixed in 7.3.2 with commit 0aa08f8f07872b9f67ab20d4c51e0cf6fc924714 Issue introduced in 5.11 with commit e04527fefba6e4e66492f122cf8cc6314f3cf3bf and fixed in 7.4-rc1 with commit 2001cd7ca5560198131e46c6ca3c3472b06145c2 Issue introduced in 4.14.221 with commit 2ea09e6753be547c3791d1383440c9a7ecd9d947 Issue introduced in 4.19.175 with commit 307aa80243fd0e5e3197f89c9e464baedc01d377 Issue introduced in 5.4.97 with commit ecdd962c4b9bd5bb49df902b2ed25e2a15975cae Issue introduced in 5.10.15 with commit fb8caef7c020267ad30e868a5aeaa5da6ccf0c6e 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-99417 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/dir.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/a8ad9bba205f7c6f3b86fcf0bd2d98adcd750f2e https://git.kernel.org/stable/c/b9f57bb52124aec87bbe344d70a30806fe22b992 https://git.kernel.org/stable/c/0aa08f8f07872b9f67ab20d4c51e0cf6fc924714 https://git.kernel.org/stable/c/2001cd7ca5560198131e46c6ca3c3472b06145c2