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=1795154239; b=Q3sXyX2nfwYIva3jQ9gCRm06EA3wLRKydn2Kl7hVrvVhz9vLPmFnhM0BVRkTNsIus96L AhXMBRjdHNp/N3FB2CqoVA3ESBL41tZktxW1eep2cFbr+gtmrcbZyVL+HvSINAoaftyfJ /weUutTqWgM8QvKclNBw/C9AVQz/LG6h/Lmo6tAe3Ub0kLUXRNk8jKMJUT8BZWT9Kk0ye HqjXZdbl7hIB4oPS+Prvgk/Jq8PGsql0rkSyCO/lCOcUFEJag9JoW0HaHeicE1y/j/Az6 m8va0o5PwKGI6EiDi0XBlEU+YxSfFwXloAcFEVw1IolIIsMZIfzlcmCpXCraBd1sNaQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154239; 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=H/wmAugOfWI+UggvwzzuBJUXkKT16mTLN1TZGJe89SU=; b=QPsRQ6bm4tW9P7sjubG/jYWRFyeWmUjb6hjo7V3F40p9uw4dbhj5t9sLALq6/+H2RPvu J6gZgaUHwya3bIlo5jRZapDmWEfi/CG/Bd6KnLAAPx2/Y7eWcJVxp+Z04zW83PwheYPM0 tgUUyXVjGxCQHr5p8CACfYLnSOL35ve/E+SpTDJeO4FeX3mck+S2aqsU2nVg7cX0d7oGm JuA/9dmsQdM64dOaDWu4dxv+6o1roSW3CT+cXf1PwAPDxcYjjuaz36TBA9yjU4Pnlp+E6 A8NMMFU13229z6CjeC8tQVcK7lq7uoSssWl1wALuDIO3nixAem27A28j7diK2HAuWIA== 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=qkqjgnMG; 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 AFAD660A260A for ; Fri, 20 Nov 2026 05:57:19 +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=qkqjgnMG Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9FF91F000C4; Fri, 20 Nov 2026 05:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154239; bh=H/wmAugOfWI+UggvwzzuBJUXkKT16mTLN1TZGJe89SU=; h=From:To:Cc:Subject:Date:Reply-To; b=qkqjgnMGzTK5MkgPdrqZ4Gp2vK/s2tVRa2R5LvWJx6Tbf4kfpkS+UUJmAcOi4jJcL LFKALQfT3gP+cWw93XfULzz5MHX7oaav8sLcGfKNWTjiRS9itl1RYPHPDh5kg7Zu/C QSVxW4zSNzokP4RIhd1PwSy65TOXImgoB2xiqc/w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99637: ovl: inherit FMODE_NONOTIFY when opening directory realfiles Date: Fri, 20 Nov 2026 06:50:23 +0100 Message-ID: <2026112039-CVE-2026-99637-b100@gregkh> X-Mailer: git-send-email 2.56.1 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=2300; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=weusFPenWWr3OLfPiDRRngq9X4Rep2hEfhjV1CWZJfc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7xeXqkgflUnKv7BHdt2Pu99cWLx3HGCxEdnBd/zHm bWrnpzm6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ6K1mWHD2wEzzuFw1xtV3 LCbVJ5Qt296jxMwwV3Taelax1/wsPqH6V8T/rG6TUrN8CgA= 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: inherit FMODE_NONOTIFY when opening directory realfiles When fanotify hands a listener an fd for a permission event on an overlay directory, ovl_dir_open_realfile() opens the real directory via dentry_open(), not backing_file_open(), so the lower open could still raise FS_OPEN_PERM and deadlock a listener that also marks the backing filesystem. Export dentry_open_nonotify() and call it from ovl_path_open_realfile() when the overlay user file must not generate events. Ordinary ovl_path_open() callers are unchanged. The Linux kernel CVE team has assigned CVE-2026-99637 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 130fdbc3d1f9966dd4230709c30f3768bccd3065 and fixed in 7.3.5 with commit c3ccfbb2acb259b5d3d030fdb63d3cf96de33330 Issue introduced in 5.8 with commit 130fdbc3d1f9966dd4230709c30f3768bccd3065 and fixed in 7.4-rc2 with commit 323899b4ed233d5b6e2fc160c16fbf39cf0317da 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-99637 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/open.c fs/overlayfs/overlayfs.h fs/overlayfs/readdir.c fs/overlayfs/util.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/c3ccfbb2acb259b5d3d030fdb63d3cf96de33330 https://git.kernel.org/stable/c/323899b4ed233d5b6e2fc160c16fbf39cf0317da