CVE-2026-45998

rxrpc: Fix potential UAF after skb_unshare() failure

At a glance

Severity
HIGH 7.0
EPSS
EPSS 0.14 % · percentile 3 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 < e3bf143b1e98fb3d6d9e6825bcd683974d478e8c ; affected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 < bf20f46d94f1db38e6ffc0ca204a5fe0de01b495 ; affected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 < 996b0487b3cdda4c91811dbb1c9564626bc840bd ; affected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 < 8fde6296c4d4da2be7ab761305ab7f232b94eefd ; affected 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 < 1f2740150f904bfa60e4bad74d65add3ccb5e7f8
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.6.140 ≤ 6.6.* ; unaffected 6.12.86 ≤ 6.12.* ; unaffected 6.18.27 ≤ 6.18.* ; unaffected 7.0.4 ≤ 7.0.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD