Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix potential UAF after skb_unshare() failure If skb_unshare() fails to unshare a packet due to allocation failure in rxrpc_input_packet(), the skb pointer in the parent (rxrpc_io_thread()) will be NULL'd out. This will likely cause the call to trace_rxrpc_rx_done() to oops. Fix this by moving the unsharing down to where rxrpc_input_call_event() calls rxrpc_input_call_packet(). There are a number of places prior to that where we ignore DATA packets for a variety of reasons (such as the call already being complete) for which an unshare is then avoided. And with that, rxrpc_input_packet() doesn't need to take a pointer to the pointer to the packet, so change that to just a pointer.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before e3bf143b1e98fb3d6d9e6825bcd683974d478e8c; affected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before bf20f46d94f1db38e6ffc0ca204a5fe0de01b495; affected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before 996b0487b3cdda4c91811dbb1c9564626bc840bd; affected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before 8fde6296c4d4da2be7ab761305ab7f232b94eefd; affected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before 1f2740150f904bfa60e4bad74d65add3ccb5e7f8 |
| Linux / Linux | affected 6.2; unaffected 0 before 6.2; unaffected 6.6.140 through 6.6.*; unaffected 6.12.86 through 6.12.*; unaffected 6.18.27 through 6.18.*; unaffected 7.0.4 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/e3bf143b1e98fb3d6d9e6825bcd683974d478e8c
- https://git.kernel.org/stable/c/bf20f46d94f1db38e6ffc0ca204a5fe0de01b495
- https://git.kernel.org/stable/c/996b0487b3cdda4c91811dbb1c9564626bc840bd
- https://git.kernel.org/stable/c/8fde6296c4d4da2be7ab761305ab7f232b94eefd
- https://git.kernel.org/stable/c/1f2740150f904bfa60e4bad74d65add3ccb5e7f8
ADP enrichment
A flaw was found in the Linux kernel's `rxrpc` subsystem. This vulnerability arises when the system attempts to unshare a packet buffer, and the operation fails due to an allocation issue. This failure can lead to a Use-After-Free (UAF) condition, where the system attempts to access memory that has been freed, potentially causing a system crash.
- https://access.redhat.com/security/cve/CVE-2026-45998
- https://bugzilla.redhat.com/show_bug.cgi?id=2482024
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45998.json
- https://access.redhat.com/errata/RHSA-2026:55445
- https://access.redhat.com/errata/RHSA-2026:34911
- https://access.redhat.com/errata/RHSA-2026:67723
- https://access.redhat.com/errata/RHSA-2026:65712
- https://access.redhat.com/errata/RHSA-2026:65708
- https://access.redhat.com/errata/RHSA-2026:67721