{"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-25T18:27:37.171070541Z","published":"2026-09-11T19:44:23.298Z","related":["openSUSE-SU-2026:11880-1"],"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/5eea874a696201c31e7c2d7badbfa0d90e9961b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d74ecc2be120a0c300b224b7649fe93c0453714"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d44836f60c8c29bcdb1471fd9202387c642a890"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf239de7fdcc8336259b01ea4bcf650dadad1040"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dec787a15c96a5665e9ffc61b429a6a4ab26e6b9"},{"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":"dec787a15c96a5665e9ffc61b429a6a4ab26e6b9"},{"fixed":"5eea874a696201c31e7c2d7badbfa0d90e9961b5"},{"fixed":"cf239de7fdcc8336259b01ea4bcf650dadad1040"},{"fixed":"6d74ecc2be120a0c300b224b7649fe93c0453714"},{"fixed":"9d44836f60c8c29bcdb1471fd9202387c642a890"},{"fixed":"2e861ce2aaa468351a6a47c4cbb4971ebb740c7b"},{"fixed":"3d60fdf951143d6ef4e352e2f8eb852286701726"},{"fixed":"f42d0fda0c67695db6bc704b04b7c10240805377"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-89548.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.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/osv-test-cve-osv-conversion/osv-output/CVE-2026-89548.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}