{"id":"CVE-2026-89548","summary":"SUNRPC: always drain cache_cleaner before destroying a cache_detail","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: always drain cache_cleaner before destroying a cache_detail\n\nsunrpc_destroy_cache_detail() only cancels the global cache_cleaner\ndelayed_work when cache_list is empty.  During per-netns teardown\ncache_list is never empty because init_net's caches remain registered,\nso the cancel never fires.  After unlink, the caller proceeds to\ncache_destroy_net() which kfrees the cache_detail while cache_clean()\nmay still hold a dangling pointer to it.  The result is a\nuse-after-free: cache_dequeue() takes cd-\u003equeue_lock on freed memory,\nand cache_put() dereferences cd-\u003ecache_put as a function pointer from\nfreed slab.\n\nDrop the list_empty guard so that cancel_delayed_work_sync() always\nruns, ensuring any in-flight cache_clean() completes before the\ncache_detail is freed.  Re-arm the cleaner afterwards if other caches\nare still registered.","modified":"2026-09-13T03:47:19.167876508Z","published":"2026-09-11T19:44:23.298Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89548.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2e861ce2aaa468351a6a47c4cbb4971ebb740c7b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3d60fdf951143d6ef4e352e2f8eb852286701726"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d44836f60c8c29bcdb1471fd9202387c642a890"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f42d0fda0c67695db6bc704b04b7c10240805377"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89548.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89548"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"820f9442e711a81749e70c40f149fc54c4ce0ca8"},{"fixed":"9d44836f60c8c29bcdb1471fd9202387c642a890"},{"fixed":"2e861ce2aaa468351a6a47c4cbb4971ebb740c7b"},{"fixed":"3d60fdf951143d6ef4e352e2f8eb852286701726"},{"fixed":"f42d0fda0c67695db6bc704b04b7c10240805377"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89548.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"6.12.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89548.json"}}],"schema_version":"1.9.0"}