- Home
- Vulnerabilities
- CVE-2026-31638
CVE-2026-31638
rxrpc: Only put the call ref if one was acquired
Summary
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.
Affected products and versions
Linux (7 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux | 6.2 |
— | CNA (vendor or assigner) |
| Linux kernel | from 6.2.1 (included) to 6.6.135 (excluded) |
— | NVD |
| Linux kernel | from 6.7 (included) to 6.12.82 (excluded) |
— | NVD |
| Linux kernel | from 6.13 (included) to 6.18.23 (excluded) |
— | NVD |
| Linux kernel | from 6.19 (included) to 6.19.13 (excluded) |
— | NVD |
| Linux kernel | 6.2 |
— | NVD |
| Linux kernel | 7.0 |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://git.kernel.org/stable/c/0c156aff8a2d4fa0d61db7837641975cf0e5452dPatch
- https://git.kernel.org/stable/c/6331f1b24a3e85465f6454e003a3e6c22005a5c5Patch
- https://git.kernel.org/stable/c/8299ca146489664e3c0c90a3b8900d8335b1ede4Patch
- https://git.kernel.org/stable/c/9fb09861e2b8d1abfe2efaf260c9f1d30080ea38Patch
- https://git.kernel.org/stable/c/b8f66447448d6c305a51413a67ec8ed26aa7d1ddPatch
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)- Weakness
- CWE-476 · Corruption mémoire