Linux Kernel SUNRPC Null Pointer Dereference Vulnerability

Vulnerability

A null pointer dereference vulnerability has been identified in the Linux kernel's SUNRPC implementation. This issue arises when the allocation for the xps sysfs fails, leading to a dereference of a null pointer. The vulnerability was reported by the gssproxy task, indicating a potential flaw in how RPC clients are managed via the sysfs interface.

Impact

Exploitation of this vulnerability leads to a null pointer dereference, causing a kernel panic and potentially allowing for arbitrary code execution in the kernel context.

Reproduction

The vulnerability can be reproduced by creating an RPC client that writes to the gssp_rpc sysfs interface. If the xprt_switch sysfs allocation fails, the vulnerability triggers a null pointer dereference when the system attempts to access the uninitialized 'xps_sysfs' variable.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
0.0
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.