Skip to contentSkip to conversation

CVE-2026-53168: fuse: reject fuse_notify() pagecache ops on directories

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

fuse: reject fuse_notify() pagecache ops on directories

The operations FUSE_NOTIFY_STORE and FUSE_NOTIFY_RETRIEVE allow the FUSE daemon to actively write/read pagecache contents.

For directories with FOPEN_CACHE_DIR, the pagecache is used as kernel-internal cache storage, and userspace is not supposed to have direct access to this cache - in particular, fuse_parse_cache() will hit WARN_ON() if the cache contains bogus data.

Reject FUSE_NOTIFY_STORE and FUSE_NOTIFY_RETRIEVE on anything other than regular files with -EINVAL.

The Linux kernel CVE team has assigned CVE-2026-53168 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.20 with commit 5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 and fixed in 5.10.259 with commit 15487f98863dc7156ed43c5be26d478beb82ba35
	Issue introduced in 4.20 with commit 5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 and fixed in 5.15.210 with commit bd23fa0c16c5c86e5b7713224ffbb87d9db81cca
	Issue introduced in 4.20 with commit 5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 and fixed in 6.1.176 with commit 9dbf1b2fadfc6c40805631d8a8276d1639fc9ab6
	Issue introduced in 4.20 with commit 5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 and fixed in 6.6.143 with commit dd92773d4d9cea010474eb08a5133c14ff6ab53a
	Issue introduced in 4.20 with commit 5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 and fixed in 6.12.94 with commit 99c317d7f8b7bbf3de16d20a01f363e390114cea
	Issue introduced in 4.20 with commit 5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 and fixed in 6.18.36 with commit 12df4cfa738aefff21756728e91056d7defb0fe6
	Issue introduced in 4.20 with commit 5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 and fixed in 7.0.13 with commit e692f0cb86204dcdb9dddc0b355407eda6394a67
	Issue introduced in 4.20 with commit 5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 and fixed in 7.1 with commit 9c954499d43aefac01c5dfb57a82b13d2dcf4b94

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-53168

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/fuse/dev.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/15487f98863dc7156ed43c5be26d478beb82ba35
	https://git.kernel.org/stable/c/bd23fa0c16c5c86e5b7713224ffbb87d9db81cca
	https://git.kernel.org/stable/c/9dbf1b2fadfc6c40805631d8a8276d1639fc9ab6
	https://git.kernel.org/stable/c/dd92773d4d9cea010474eb08a5133c14ff6ab53a
	https://git.kernel.org/stable/c/99c317d7f8b7bbf3de16d20a01f363e390114cea
	https://git.kernel.org/stable/c/12df4cfa738aefff21756728e91056d7defb0fe6
	https://git.kernel.org/stable/c/e692f0cb86204dcdb9dddc0b355407eda6394a67
	https://git.kernel.org/stable/c/9c954499d43aefac01c5dfb57a82b13d2dcf4b94