{"id":"CVE-2026-89548","aliases":[],"url":"https://o3.security/vulnerability/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->queue_lock on freed memory,\nand cache_put() dereferences cd->cache_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.","published":"2026-09-11T19:44:23.298Z","modified":"2026-09-14T03:46:13.490494586Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"6.12.109"}],"fix":null,"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-14T03:46:13.490494586Z"}}