# CVE-2026-45998: rxrpc: Fix potential UAF after skb_unshare() failure

- Severity: High 7.0 (CVSS:3.1, scored by redhat-SADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-05-27T12:55:52.756Z
- Modified: 2026-11-06T17:17:29.263Z
- Weaknesses: CWE-416, CWE-825
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before e3bf143b1e98fb3d6d9e6825bcd683974d478e8c; from 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before bf20f46d94f1db38e6ffc0ca204a5fe0de01b495; from 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before 996b0487b3cdda4c91811dbb1c9564626bc840bd; from 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before 8fde6296c4d4da2be7ab761305ab7f232b94eefd; from 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 before 1f2740150f904bfa60e4bad74d65add3ccb5e7f8; 6.2 (not affected: before 6.2; from 6.6.140 up to 6.6.*; from 6.12.86 up to 6.12.*; from 6.18.27 up to 6.18.*; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- kernel: no versions given (not affected: from 0:6.12.0-211.30.1.el10_2 before *; from 0:6.12.0-55.98.1.el10_0 before *; from 0:5.14.0-284.191.1.el9_2 before *; from 0:5.14.0-427.149.1.el9_4 before *; from 0:5.14.0-570.140.1.el9_6 before *)
- kernel-rt: no versions given (not affected: from 0:5.14.0-284.191.1.rt14.476.el9_2 before *)
- linux linux_kernel: from 6.2 before 6.6.140; from 6.7 before 6.12.86; from 6.13 before 6.18.27; from 6.19 before 7.0.4

## Every score

- redhat-SADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/e3bf143b1e98fb3d6d9e6825bcd683974d478e8c> (patch)
- <https://git.kernel.org/stable/c/bf20f46d94f1db38e6ffc0ca204a5fe0de01b495> (patch)
- <https://git.kernel.org/stable/c/996b0487b3cdda4c91811dbb1c9564626bc840bd> (patch)
- <https://git.kernel.org/stable/c/8fde6296c4d4da2be7ab761305ab7f232b94eefd> (patch)
- <https://git.kernel.org/stable/c/1f2740150f904bfa60e4bad74d65add3ccb5e7f8> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-45998> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2482024> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45998.json>
- <https://access.redhat.com/errata/RHSA-2026:55445> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34911> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:67723> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65712> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65708> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:67721> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-45998](https://www.cve.org/CVERecord?id=CVE-2026-45998), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-45998](https://nvd.nist.gov/vuln/detail/CVE-2026-45998), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-45998 · Whole record: https://cve.day/CVE-2026-45998.json · Rebuilt by cve.day 2026-11-25T22:59:22.539Z
