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 4A1843431F8 for ; Thu, 28 May 2026 09:39:46 +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=1779961187; cv=none; b=mOr+Wrn9l8yg7M1+7WY217ckBUnBfogy+6+HrxHFS+Ldqa2ityFe/KU3Gp01uieAEBcGwrdu+ZNB5tG4dpD//YTd+aVKskcMe86bavSvU7Dgr3Avo3hAVvAD2k/qyuxggtUuv+GeNweWHyOPOiA2hD5X9/mF4u2nZBuideTwTWo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961187; c=relaxed/simple; bh=t6MJctM3sSdq6mtP+6pynAQAg32Ni9hGAtTr8BS2NE8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=G4yTgFJKa5u4rJzg4nPtY3DUfT83Cftbd4A2CYKnnVr6MUbxuJVfD118Xe4JGVR9nhYBuqHeW0VG3FmlxAEKgEB17HioKe4p46OeRIXKKlPFum1aBbgR6W929gpsdEsKhvBuWgKRU4TI9RtXU4UU6C0MfWo0YI4ZsNGAe9B8Bh8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rramUUEW; 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="rramUUEW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68CEC1F000E9; Thu, 28 May 2026 09:39:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961186; bh=AMneAgE+Z38szhINFv985+Z2u79F5dxWC2JnM291+Z4=; h=From:To:Cc:Subject:Date:Reply-To; b=rramUUEWMkrIBL6yKMAJaLfuZsKsV8IYcdJQ1XvQFMEzkfU7fazpLk2Q0SncfBG7a wyhTHdhH7Y0rTOdVjWGOlbXvBHD3DPcwXK20a2SsQLoM3O0a2jsVWX70jxTxVspbN/ 0k2dtaaKFj/qgyV1hdpWHcXuOdPa50z9VYv11gDY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46150: fanotify: fix false positive on permission events Date: Thu, 28 May 2026 11:36:55 +0200 Message-ID: <2026052822-CVE-2026-46150-c96d@gregkh> X-Mailer: git-send-email 2.54.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=2695; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o6ROhKuHHjW1t5F30C71nmi4R273/FoTs1Lo4TqgV5s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSPNOqnNvqrDZNOBm46r0T5/+Tdq3Xrp5Z3Xny1VOln D5Pu1/LOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAido8ZZjEpVBbHvDvOlrKE wXXpZ511N+7OKGOYp8j3Yoa9+gIr4wWBydfn71K5HGIXBAA= 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: fanotify: fix false positive on permission events fsnotify_get_mark_safe() may return false for a mark on an unrelated group, which results in bypassing the permission check. Fix by skipping over detached marks that are not in the current group. The Linux kernel CVE team has assigned CVE-2026-46150 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit abc77577a669f424c5d0c185b9994f2621c52aa4 and fixed in 6.6.140 with commit 895ebbedf88318607c24acc0f591c74b165e1d0a Issue introduced in 4.12 with commit abc77577a669f424c5d0c185b9994f2621c52aa4 and fixed in 6.12.88 with commit f130790f1acc8399f32652846c875a251efd040f Issue introduced in 4.12 with commit abc77577a669f424c5d0c185b9994f2621c52aa4 and fixed in 6.18.30 with commit 7baa02b0ae9d17ec5f08836d8ea88ce1927d0678 Issue introduced in 4.12 with commit abc77577a669f424c5d0c185b9994f2621c52aa4 and fixed in 7.0.7 with commit b7b24b28c8cd55844cab908f4f39dded638d5538 Issue introduced in 4.12 with commit abc77577a669f424c5d0c185b9994f2621c52aa4 and fixed in 7.1-rc2 with commit 7746e3bd4cc19b5092e00d32d676e329bfcb6900 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-46150 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/notify/fsnotify.c fs/notify/mark.c include/linux/fsnotify_backend.h 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/895ebbedf88318607c24acc0f591c74b165e1d0a https://git.kernel.org/stable/c/f130790f1acc8399f32652846c875a251efd040f https://git.kernel.org/stable/c/7baa02b0ae9d17ec5f08836d8ea88ce1927d0678 https://git.kernel.org/stable/c/b7b24b28c8cd55844cab908f4f39dded638d5538 https://git.kernel.org/stable/c/7746e3bd4cc19b5092e00d32d676e329bfcb6900