Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C9EA630F932 for ; Tue, 13 Jan 2026 15:31:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318280; cv=none; b=CiS1t74GGbli54tHwAMJR3ly+P5V/5/stnlhWkm1QbAR++ZihS0xh5J5vViyIVUlzQmQoafGJXE+pEcwhhVIedDi4k/n0Phs++vm/Nr6d6RV0PO5+N2cV/625Htt/l7cqk3ofJiS+JpUbBEdQl74UyOfTD70h8Ql/l4DzawDnDQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318280; c=relaxed/simple; bh=TgrFc55VI9pQiN3jSWsir9c94ZoGHO3DuxjqwMbe8cI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CH7dFnaa2VwcwhcodMvzqGzAhdvba6z6irsfgSxROMDwqi7Y8j7Vzliokz4aIzIy2aRD8sRsoShWf5fluZ/yYrkc+kevv//jdAcDS93cTafPbHuo9c3OSHEY60Judv7IKEYuB1wwUbIXWqcSBV7neU8wK9q0JVPslYqyJTpW8Xg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MSuub9uz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MSuub9uz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21F24C19422; Tue, 13 Jan 2026 15:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318280; bh=TgrFc55VI9pQiN3jSWsir9c94ZoGHO3DuxjqwMbe8cI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=MSuub9uz0DHs8b5ylqV0mtFJzhEQiIw85qBM1q4hnvdNKWTr2goAe2AYbv2MUnfAx 3Gxx97VxlpFBiXLLMB1BEctROClAu7W+VJms9NBU5G65cTyvJUT8GXG/YHtW0D5yCE 0FT5YzSEIOPBtfFwl8CQVCcuL5PW/LeclinM1Y/A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68788: fsnotify: do not generate ACCESS/MODIFY events on child for special files Date: Tue, 13 Jan 2026 16:29:14 +0100 Message-ID: <2026011303-CVE-2025-68788-05bd@gregkh> X-Mailer: git-send-email 2.52.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=3065; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eGODtY0RGz/fK+AjbDg/PEpCPP6M3190c5lh2i0KZok=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpKfsny1stD5Pd5Hvvh2hAiPqZ5Zfb5xhzZM7bZW6xa PuJWQErO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiM84zzFMI/LuoS6K/5VWN 7rIZIWxbWJTnL2OYK/Y2ht0skr1V4N0KtZsrHH1SrJUVAA== 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: fsnotify: do not generate ACCESS/MODIFY events on child for special files inotify/fanotify do not allow users with no read access to a file to subscribe to events (e.g. IN_ACCESS/IN_MODIFY), but they do allow the same user to subscribe for watching events on children when the user has access to the parent directory (e.g. /dev). Users with no read access to a file but with read access to its parent directory can still stat the file and see if it was accessed/modified via atime/mtime change. The same is not true for special files (e.g. /dev/null). Users will not generally observe atime/mtime changes when other users read/write to special files, only when someone sets atime/mtime via utimensat(). Align fsnotify events with this stat behavior and do not generate ACCESS/MODIFY events to parent watchers on read/write of special files. The events are still generated to parent watchers on utimensat(). This closes some side-channels that could be possibly used for information exfiltration [1]. [1] https://snee.la/pdf/pubs/file-notification-attacks.pdf The Linux kernel CVE team has assigned CVE-2025-68788 to this issue. Affected and fixed versions =========================== Fixed in 6.1.160 with commit 6a7d7d96eeeab7af2bd01afbb3d9878a11a13d91 Fixed in 6.6.120 with commit e0643d46759db8b84c0504a676043e5e341b6c81 Fixed in 6.12.64 with commit 82f7416bcbd951549e758d15fc1a96a5afc2e900 Fixed in 6.18.3 with commit 7a93edb23bcf07a3aaf8b598edfc2faa8fbcc0b6 Fixed in 6.19-rc2 with commit 635bc4def026a24e071436f4f356ea08c0eed6ff 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-2025-68788 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 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/6a7d7d96eeeab7af2bd01afbb3d9878a11a13d91 https://git.kernel.org/stable/c/e0643d46759db8b84c0504a676043e5e341b6c81 https://git.kernel.org/stable/c/82f7416bcbd951549e758d15fc1a96a5afc2e900 https://git.kernel.org/stable/c/7a93edb23bcf07a3aaf8b598edfc2faa8fbcc0b6 https://git.kernel.org/stable/c/635bc4def026a24e071436f4f356ea08c0eed6ff