{"id":"CVE-2026-89548","aliases":["CVE-2026-89548"],"related":[],"kind":"vulnerability","state":"published","title":"SUNRPC: always drain cache_cleaner before destroying a cache_detail","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-11T19:44:23.298Z","modified":"2026-10-19T09:17:49.957Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"820f9442e711a81749e70c40f149fc54c4ce0ca8","fixed":"dec787a15c96a5665e9ffc61b429a6a4ab26e6b9","status":"affected"},{"type":"git","introduced":"820f9442e711a81749e70c40f149fc54c4ce0ca8","fixed":"5eea874a696201c31e7c2d7badbfa0d90e9961b5","status":"affected"},{"type":"git","introduced":"820f9442e711a81749e70c40f149fc54c4ce0ca8","fixed":"cf239de7fdcc8336259b01ea4bcf650dadad1040","status":"affected"},{"type":"git","introduced":"820f9442e711a81749e70c40f149fc54c4ce0ca8","fixed":"6d74ecc2be120a0c300b224b7649fe93c0453714","status":"affected"},{"type":"git","introduced":"820f9442e711a81749e70c40f149fc54c4ce0ca8","fixed":"9d44836f60c8c29bcdb1471fd9202387c642a890","status":"affected"},{"type":"git","introduced":"820f9442e711a81749e70c40f149fc54c4ce0ca8","fixed":"2e861ce2aaa468351a6a47c4cbb4971ebb740c7b","status":"affected"},{"type":"git","introduced":"820f9442e711a81749e70c40f149fc54c4ce0ca8","fixed":"3d60fdf951143d6ef4e352e2f8eb852286701726","status":"affected"},{"type":"git","introduced":"820f9442e711a81749e70c40f149fc54c4ce0ca8","fixed":"f42d0fda0c67695db6bc704b04b7c10240805377","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.4","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/dec787a15c96a5665e9ffc61b429a6a4ab26e6b9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5eea874a696201c31e7c2d7badbfa0d90e9961b5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf239de7fdcc8336259b01ea4bcf650dadad1040","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d74ecc2be120a0c300b224b7649fe93c0453714","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d44836f60c8c29bcdb1471fd9202387c642a890","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e861ce2aaa468351a6a47c4cbb4971ebb740c7b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3d60fdf951143d6ef4e352e2f8eb852286701726","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f42d0fda0c67695db6bc704b04b7c10240805377","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:23:39.938Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89548","url":"https://www.cve.org/CVERecord?id=CVE-2026-89548","licence":"CVE Terms of Use","modified":"2026-10-19T08:48:41.057Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89548","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89548","licence":"Public domain","modified":"2026-10-19T09:17:49.957Z"}],"updatedAt":"2026-11-25T22:59:38.061Z","epss":{"score":0.00126,"percentile":0.02434,"date":"2026-12-01T12:00:22.000Z"}}