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.
Affected products
- Linux / Linux7.1 – *
- Linux / Linux5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 – 15487f98863dc7156ed43c5be26d478beb82ba35
- Linux / Linux5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 – bd23fa0c16c5c86e5b7713224ffbb87d9db81cca
- Linux / Linux5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 – 9dbf1b2fadfc6c40805631d8a8276d1639fc9ab6
- Linux / Linux5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 – dd92773d4d9cea010474eb08a5133c14ff6ab53a
- Linux / Linux5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 – 99c317d7f8b7bbf3de16d20a01f363e390114cea
- Linux / Linux5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 – 12df4cfa738aefff21756728e91056d7defb0fe6
- Linux / Linux5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 – e692f0cb86204dcdb9dddc0b355407eda6394a67
- Linux / Linux5d7bc7e8680c7ca4c8a4f139ce2a54ccb8131ef0 – 9c954499d43aefac01c5dfb57a82b13d2dcf4b94
- Linux / Linux4.20 – 4.20
- Linux / Linux0 – 4.20
- Linux / Linux5.10.259 – 5.10.*
- Linux / Linux5.15.210 – 5.15.*
- Linux / Linux6.1.176 – 6.1.*
- Linux / Linux6.6.143 – 6.6.*
- Linux / Linux6.12.94 – 6.12.*
- Linux / Linux6.18.36 – 6.18.*
- Linux / Linux7.0.13 – 7.0.*
References
- MISChttps://git.kernel.org/stable/c/15487f98863dc7156ed43c5be26d478beb82ba35
- MISChttps://git.kernel.org/stable/c/bd23fa0c16c5c86e5b7713224ffbb87d9db81cca
- MISChttps://git.kernel.org/stable/c/9dbf1b2fadfc6c40805631d8a8276d1639fc9ab6
- MISChttps://git.kernel.org/stable/c/dd92773d4d9cea010474eb08a5133c14ff6ab53a
- MISChttps://git.kernel.org/stable/c/99c317d7f8b7bbf3de16d20a01f363e390114cea
- MISChttps://git.kernel.org/stable/c/12df4cfa738aefff21756728e91056d7defb0fe6
- MISChttps://git.kernel.org/stable/c/e692f0cb86204dcdb9dddc0b355407eda6394a67
- MISChttps://git.kernel.org/stable/c/9c954499d43aefac01c5dfb57a82b13d2dcf4b94