Skip to content
Heist/ feed
Back to feed
HighFix available

rxrpc: Fix potential UAF after skb_unshare() failure

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.86, 6.18.27, 6.6.140, 7.0.4
CVEs
CVE-2026-45998
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:36 UTC · Revision 1

Source evidence

rxrpc: Fix potential UAF after skb_unshare() failure

core-osv · Original source

Published 27 May 2026, 12:55 UTC

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.

osv:CVE-2026-45998

Kernel

Fixed versions: 6.6.140, 6.12.86, 6.18.27, 7.0.4

Complete source record
{
  "id": "806f3d972c9c193b5ac36db8d5a1d9ec9d7bb17d0137219bf10b4a8942f99146",
  "url": "https://osv.dev/vulnerability/CVE-2026-45998",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "rxrpc: Fix potential UAF after skb_unshare() failure",
    "summary": "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.",
    "evidence": "osv:CVE-2026-45998",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.140",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.27",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-45998",
      "aliases": [
        "CVE-2026-45998"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2d1faf7a0ca3c0b327cf064c80e4e775532c9319"
                },
                {
                  "fixed": "e3bf143b1e98fb3d6d9e6825bcd683974d478e8c"
                },
                {
                  "fixed": "bf20f46d94f1db38e6ffc0ca204a5fe0de01b495"
                },
                {
                  "fixed": "996b0487b3cdda4c91811dbb1c9564626bc840bd"
                },
                {
                  "fixed": "8fde6296c4d4da2be7ab761305ab7f232b94eefd"
                },
                {
                  "fixed": "1f2740150f904bfa60e4bad74d65add3ccb5e7f8"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45998.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.140"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.27"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45998.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.431449462Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1f2740150f904bfa60e4bad74d65add3ccb5e7f8",
        "https://git.kernel.org/stable/c/8fde6296c4d4da2be7ab761305ab7f232b94eefd",
        "https://git.kernel.org/stable/c/996b0487b3cdda4c91811dbb1c9564626bc840bd",
        "https://git.kernel.org/stable/c/bf20f46d94f1db38e6ffc0ca204a5fe0de01b495",
        "https://git.kernel.org/stable/c/e3bf143b1e98fb3d6d9e6825bcd683974d478e8c",
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45998.json",
        "https://access.redhat.com/errata/RHSA-2026:34911",
        "https://access.redhat.com/errata/RHSA-2026:55445",
        "https://access.redhat.com/errata/RHSA-2026:65708",
        "https://access.redhat.com/errata/RHSA-2026:65712",
        "https://access.redhat.com/errata/RHSA-2026:67721",
        "https://access.redhat.com/errata/RHSA-2026:67723",
        "https://access.redhat.com/security/cve/CVE-2026-45998",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45998.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-45998",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2482024",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45998.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-45998",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495031,
  "published_at": "2026-05-27T12:55:52.756+00:00"
}