CVE-2026-45998

rxrpc: Fix potential UAF after skb_unshare() failure

State
Published
Severity
7.0 High
Published
May 27, 2026
Updated
Sep 16, 2026
Reserved
May 13, 2026

Read the record on cve.org

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

CVSSScoreVectorSource
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-825 Expired Pointer Dereference

Affected Products

ProductVersions
LinuxLinux
  • 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 to before e3bf143b1e98fb3d6d9e6825bcd683974d478e8cAffected
  • 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 to before bf20f46d94f1db38e6ffc0ca204a5fe0de01b495Affected
  • 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 to before 996b0487b3cdda4c91811dbb1c9564626bc840bdAffected
  • 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 to before 8fde6296c4d4da2be7ab761305ab7f232b94eefdAffected
  • 2d1faf7a0ca3c0b327cf064c80e4e775532c9319 to before 1f2740150f904bfa60e4bad74d65add3ccb5e7f8Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.86 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.