NULL pointer dereference in Linux
CVE-2026-31638
In the Linux kernel, the following vulnerability has been resolved:
rxrpc: Only put the call ref if one was acquired
rxrpc_input_packet_on_conn() can process a to-client packet after the
current client call on the channel has already been torn down. In that
case chan->call is NULL, rxrpc_try_get_call() returns NULL and there is
no reference to drop.
The client-side implicit-end error path does not account for that and
unconditionally calls rxrpc_put_call(). This turns a protocol error
path into a kernel crash instead of rejecting the packet.
Only drop the call reference if one was actually acquired. Keep the
existing protocol error handling unchanged.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.004, 38.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 5e6ef4f1017c7f844e305283bbd8875af475e2fc, 6.2, 0
- Linux Kernel — versions 6.2, 7.0
Weakness classification (CWE)
References
- git.kernel.org/stable/c/b8f66447448d6c305a51413a67ec8ed26aa7d1dd (Patch)
- git.kernel.org/stable/c/0c156aff8a2d4fa0d61db7837641975cf0e5452d (Patch)
- git.kernel.org/stable/c/8299ca146489664e3c0c90a3b8900d8335b1ede4 (Patch)
- git.kernel.org/stable/c/9fb09861e2b8d1abfe2efaf260c9f1d30080ea38 (Patch)
- git.kernel.org/stable/c/6331f1b24a3e85465f6454e003a3e6c22005a5c5 (Patch)