{"id":"CVE-2026-89543","published":"2026-09-11T19:44:19Z","modified":"2026-10-30T12:32:06Z","title":"sunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir\n\nNormal client creation goes through rpc_setup_pipedir(), which records\nclnt->pipefs_sb, but the mount-event path in __rpc_clnt_handle_event()\ncalls rpc_setup_pipedir_sb() directly and never refreshes that field.\nThe umount path also removes the directory without clearing\nclnt->pipefs_sb.\n\nAfter a late pipefs mount or any remount, rpc_clnt_remove_pipedir()\ncompares the current superblock against a stale pipefs_sb pointer and\nskips cleanup, leaving pipefs dentries whose inode private data still\npoints at a freed rpc_clnt, leading to a potential use-after-free during\nsubsequent rpc_info_open() or rpc_show_info() calls.\n\nFix this by properly updating clnt->pipefs_sb upon mount events and\nclearing it during unmount or failure paths.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00215,"percentile":0.06841,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1a713814e0580f946196bca5e340b37991c6e8bf","tags":[]},{"url":"https://git.kernel.org/stable/c/f99fedfd1dbffe8d20b421c9a7d4655a135d4fcd","tags":[]},{"url":"https://git.kernel.org/stable/c/59527bbfb1eabdb28e95e7c725886cc2c2899cb3","tags":[]},{"url":"https://git.kernel.org/stable/c/e769fcde3cc73e847b1eb3acd40c04a291cb0c0c","tags":[]},{"url":"https://git.kernel.org/stable/c/cdf7a233cb94774b0e7df42d9157077983f5022c","tags":[]},{"url":"https://git.kernel.org/stable/c/932a8cf6abb2b2f8677b79153a823108d8861fe2","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7749fd2dbef72a52b5c9ffdbf877691950ed4680, < 1a713814e0580f946196bca5e340b37991c6e8bf",">= cc2e7ebbeb1d0601f7f3c8d93b78fcc03a95e44a, < f99fedfd1dbffe8d20b421c9a7d4655a135d4fcd",">= bfca5fb4e97c46503ddfc582335917b0cc228264, < 59527bbfb1eabdb28e95e7c725886cc2c2899cb3",">= bfca5fb4e97c46503ddfc582335917b0cc228264, < e769fcde3cc73e847b1eb3acd40c04a291cb0c0c",">= bfca5fb4e97c46503ddfc582335917b0cc228264, < cdf7a233cb94774b0e7df42d9157077983f5022c",">= bfca5fb4e97c46503ddfc582335917b0cc228264, < 932a8cf6abb2b2f8677b79153a823108d8861fe2","17866066b8ac1cc38fb449670bc15dc9fee4b40a","7d61d1da2ed1f682c41cae0c8d4719cdaccee5c5","dedf2a0eb9448ae73b270743e6ea9b108189df46","194454afa6aa9d6ed74f0c57127bc8beb27c20df"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"euvd":{"id":"EUVD-2026-76454","exploited":false,"provenance":"source"}}