Skip to main content
← All vulnerabilities
CVE-2026-89548

SUNRPC: always drain cache_cleaner before destroying a cache_detail

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 820f9442e711a81749e70c40f149fc54c4ce0ca8 · fixed in dec787a15c96a5665e9ffc61b429a6a4ab26e6b9; From 820f9442e711a81749e70c40f149fc54c4ce0ca8 · fixed in 5eea874a696201c31e7c2d7badbfa0d90e9961b5; From 820f9442e711a81749e70c40f149fc54c4ce0ca8 · fixed in cf239de7fdcc8336259b01ea4bcf650dadad1040; From 820f9442e711a81749e70c40f149fc54c4ce0ca8 · fixed in 6d74ecc2be120a0c300b224b7649fe93c0453714; From 820f9442e711a81749e70c40f149fc54c4ce0ca8 · fixed in 9d44836f60c8c29bcdb1471fd9202387c642a890; From 820f9442e711a81749e70c40f149fc54c4ce0ca8 · fixed in 2e861ce2aaa468351a6a47c4cbb4971ebb740c7b; From 820f9442e711a81749e70c40f149fc54c4ce0ca8 · fixed in 3d60fdf951143d6ef4e352e2f8eb852286701726; From 820f9442e711a81749e70c40f149fc54c4ce0ca8 · fixed in f42d0fda0c67695db6bc704b04b7c10240805377

  • Linux Linux

    3.4

  • KernelLinux

    From 3.4.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4

References 8

git.kernel.org