CVE-2026-89543sunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
In the Linux kernel, the following vulnerability has been resolved: sunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir Normal client creation goes through rpc_setup_pipedir(), which records clnt->pipefs_sb, but the mount-event path in __rpc_clnt_handle_event() calls rpc_setup_pipedir_sb() directly and never refreshes that field. The umount path also removes the directory without clearing clnt->pipefs_sb. After a late pipefs mount or any remount, rpc_clnt_remove_pipedir() compares the current superblock against a stale pipefs_sb pointer and skips cleanup, leaving pipefs dentries whose inode private data still points at a freed rpc_clnt, leading to a potential use-after-free during subsequent rpc_info_open() or rpc_show_info() calls. Fix this by properly updating clnt->pipefs_sb upon mount events and clearing it during unmount or failure paths.
- CVSS
- Not yet scored
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Received
- Record last updated
- Sep 21, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from bfca5fb4e97c46503ddfc582335917b0cc228264 before 59527bbfb1eabdb28e95e7c725886cc2c2899cb3; from bfca5fb4e97c46503ddfc582335917b0cc228264 before e769fcde3cc73e847b1eb3acd40c04a291cb0c0c; from bfca5fb4e97c46503ddfc582335917b0cc228264 before cdf7a233cb94774b0e7df42d9157077983f5022c; from bfca5fb4e97c46503ddfc582335917b0cc228264 before 932a8cf6abb2b2f8677b79153a823108d8861fe2; 17866066b8ac1cc38fb449670bc15dc9fee4b40a; 7d61d1da2ed1f682c41cae0c8d4719cdaccee5c5; dedf2a0eb9448ae73b270743e6ea9b108189df46; 194454afa6aa9d6ed74f0c57127bc8beb27c20df; and 10 more ranges | CNA record |
References
- https://git.kernel.org/stable/c/59527bbfb1eabdb28e95e7c725886cc2c2899cb3
- https://git.kernel.org/stable/c/e769fcde3cc73e847b1eb3acd40c04a291cb0c0c
- https://git.kernel.org/stable/c/cdf7a233cb94774b0e7df42d9157077983f5022c
- https://git.kernel.org/stable/c/932a8cf6abb2b2f8677b79153a823108d8861fe2
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.