# CVE-2026-89548: SUNRPC: always drain cache_cleaner before destroying a cache_detail

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-11T19:44:23.298Z
- Modified: 2026-10-19T09:17:49.957Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

SUNRPC: always drain cache_cleaner before destroying a cache_detail

sunrpc_destroy_cache_detail() only cancels the global cache_cleaner
delayed_work when cache_list is empty.  During per-netns teardown
cache_list is never empty because init_net's caches remain registered,
so the cancel never fires.  After unlink, the caller proceeds to
cache_destroy_net() which kfrees the cache_detail while cache_clean()
may still hold a dangling pointer to it.  The result is a
use-after-free: cache_dequeue() takes cd->queue_lock on freed memory,
and cache_put() dereferences cd->cache_put as a function pointer from
freed slab.

Drop the list_empty guard so that cancel_delayed_work_sync() always
runs, ensuring any in-flight cache_clean() completes before the
cache_detail is freed.  Re-arm the cleaner afterwards if other caches
are still registered.

(As written by CVE List.)

## Affected

- Linux Linux: from 820f9442e711a81749e70c40f149fc54c4ce0ca8 before dec787a15c96a5665e9ffc61b429a6a4ab26e6b9; from 820f9442e711a81749e70c40f149fc54c4ce0ca8 before 5eea874a696201c31e7c2d7badbfa0d90e9961b5; from 820f9442e711a81749e70c40f149fc54c4ce0ca8 before cf239de7fdcc8336259b01ea4bcf650dadad1040; from 820f9442e711a81749e70c40f149fc54c4ce0ca8 before 6d74ecc2be120a0c300b224b7649fe93c0453714; from 820f9442e711a81749e70c40f149fc54c4ce0ca8 before 9d44836f60c8c29bcdb1471fd9202387c642a890; from 820f9442e711a81749e70c40f149fc54c4ce0ca8 before 2e861ce2aaa468351a6a47c4cbb4971ebb740c7b; from 820f9442e711a81749e70c40f149fc54c4ce0ca8 before 3d60fdf951143d6ef4e352e2f8eb852286701726; from 820f9442e711a81749e70c40f149fc54c4ce0ca8 before f42d0fda0c67695db6bc704b04b7c10240805377; 3.4 (not affected: before 3.4; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/dec787a15c96a5665e9ffc61b429a6a4ab26e6b9>
- <https://git.kernel.org/stable/c/5eea874a696201c31e7c2d7badbfa0d90e9961b5>
- <https://git.kernel.org/stable/c/cf239de7fdcc8336259b01ea4bcf650dadad1040>
- <https://git.kernel.org/stable/c/6d74ecc2be120a0c300b224b7649fe93c0453714>
- <https://git.kernel.org/stable/c/9d44836f60c8c29bcdb1471fd9202387c642a890>
- <https://git.kernel.org/stable/c/2e861ce2aaa468351a6a47c4cbb4971ebb740c7b>
- <https://git.kernel.org/stable/c/3d60fdf951143d6ef4e352e2f8eb852286701726>
- <https://git.kernel.org/stable/c/f42d0fda0c67695db6bc704b04b7c10240805377>

## Sources

- CVE List: [CVE-2026-89548](https://www.cve.org/CVERecord?id=CVE-2026-89548), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89548](https://nvd.nist.gov/vuln/detail/CVE-2026-89548), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89548 · Whole record: https://cve.day/CVE-2026-89548.json · Rebuilt by cve.day 2026-11-25T22:59:38.061Z
