Linux Kernel SUNRPC Vulnerability in rpcb_register Functions
CVE-2026-89784
What is CVE-2026-89784?
A vulnerability exists in the Linux kernel related to the SUNRPC implementation, specifically within the rpcb_register_inet4 and rpcb_register_inet6 functions. The issue originates from insufficient checks on the return value of rpc_sockaddr2uaddr() before storing it in map->r_addr. If rpc_sockaddr2uaddr() returns NULL—indicating a kstrdup() failure—this unchecked NULL value can lead to a dereference issue during the encoding process in rpcb_register_call(). This can ultimately cause kernel crashes when an in-kernel RPC service registers under memory pressure, making it crucial to implement proper handling to prevent such occurrences.
Affected Version(s)
Linux d77385f23830ee6c400569bac8b37e6eb3b7d360 < 04441b792ec40eb66349b5fab34b6a2090b5b2dd
Linux d77385f23830ee6c400569bac8b37e6eb3b7d360 < 5a51c49ddb37b883566874aecc66bc5a2e617a96
Linux d77385f23830ee6c400569bac8b37e6eb3b7d360 < 4a6095de8cb1858e05bdf70b3e7d6d7645c25041