CVE-2026-139355 (GCVE-0-2026-139355)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:33 – Updated: 2026-12-02 09:21
VLAI
Title
RDMA/rxe: Hold netdev reference for transmit skbs
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Hold netdev reference for transmit skbs rxe_init_packet() assigns skb->dev from an RCU-protected GID attribute without holding a netdev reference. If the netdev is unregistered before the skb is freed, subsequent accesses to skb->dev are unsafe. Hold a reference with dev_hold() when the skb is initialized and release it from the transmit destructor or via rxe_put_skb() on error paths that run before the destructor is installed. skb->dev can change on the TX path (VLAN/bond/tunnel, ip_finish_output2, etc.), so put must use the same netdev that was held. Stash that pointer in skb_shinfo()->destructor_arg: skb->cb is already used by rxe_pkt_info and is rewritten by IP control blocks. To avoid blocking netdev unregistration on held skbs, flush all QPs to the error state on NETDEV_GOING_DOWN and NETDEV_UNREGISTER so pending TX work is drained and references can be dropped.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 43c9fc509fa59d602f9c303d02b33db015022881 , < e04100461ab819f13350de4c51c324f1c2223f0c (git)
Affected: 43c9fc509fa59d602f9c303d02b33db015022881 , < acf8eb1a285c4ee840fdd4c77d573c791e96402b (git)
Affected: 43c9fc509fa59d602f9c303d02b33db015022881 , < 3e582711768f88c296b06624a319b18dc26f450b (git)
Affected: 43c9fc509fa59d602f9c303d02b33db015022881 , < 357bb10d3fdd35c7c8023796e5d96197b19b2cbf (git)
Affected: 43c9fc509fa59d602f9c303d02b33db015022881 , < 19881618ffa454c63e6b6bf34acd7cac28c695dc (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.17
Unaffected: 0 , < 4.17 (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.119 , ≤ 6.12.* (semver)
Unaffected: 6.18.65 , ≤ 6.18.* (semver)
Unaffected: 7.3.6 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/sw/rxe/rxe_loc.h",
            "drivers/infiniband/sw/rxe/rxe_net.c",
            "drivers/infiniband/sw/rxe/rxe_req.c",
            "drivers/infiniband/sw/rxe/rxe_resp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e04100461ab819f13350de4c51c324f1c2223f0c",
              "status": "affected",
              "version": "43c9fc509fa59d602f9c303d02b33db015022881",
              "versionType": "git"
            },
            {
              "lessThan": "acf8eb1a285c4ee840fdd4c77d573c791e96402b",
              "status": "affected",
              "version": "43c9fc509fa59d602f9c303d02b33db015022881",
              "versionType": "git"
            },
            {
              "lessThan": "3e582711768f88c296b06624a319b18dc26f450b",
              "status": "affected",
              "version": "43c9fc509fa59d602f9c303d02b33db015022881",
              "versionType": "git"
            },
            {
              "lessThan": "357bb10d3fdd35c7c8023796e5d96197b19b2cbf",
              "status": "affected",
              "version": "43c9fc509fa59d602f9c303d02b33db015022881",
              "versionType": "git"
            },
            {
              "lessThan": "19881618ffa454c63e6b6bf34acd7cac28c695dc",
              "status": "affected",
              "version": "43c9fc509fa59d602f9c303d02b33db015022881",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/sw/rxe/rxe_loc.h",
            "drivers/infiniband/sw/rxe/rxe_net.c",
            "drivers/infiniband/sw/rxe/rxe_req.c",
            "drivers/infiniband/sw/rxe/rxe_resp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.17"
            },
            {
              "lessThan": "4.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.119",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.119",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.65",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.6",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Hold netdev reference for transmit skbs\n\nrxe_init_packet() assigns skb-\u003edev from an RCU-protected GID attribute\nwithout holding a netdev reference. If the netdev is unregistered before\nthe skb is freed, subsequent accesses to skb-\u003edev are unsafe.\n\nHold a reference with dev_hold() when the skb is initialized and release\nit from the transmit destructor or via rxe_put_skb() on error paths that\nrun before the destructor is installed.\n\nskb-\u003edev can change on the TX path (VLAN/bond/tunnel, ip_finish_output2,\netc.), so put must use the same netdev that was held. Stash that pointer\nin skb_shinfo()-\u003edestructor_arg: skb-\u003ecb is already used by\nrxe_pkt_info and is rewritten by IP control blocks.\n\nTo avoid blocking netdev unregistration on held skbs, flush all QPs to\nthe error state on NETDEV_GOING_DOWN and NETDEV_UNREGISTER so pending TX\nwork is drained and references can be dropped."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The stale skb-\u003edev set in rxe_init_packet() is dereferenced by rxe_prepare()/rxe_find_route() on TX skbs built for QPs created via /dev/infiniband/uverbs (ibv_post_send). Remote READ requests can drive responder TX, but they supply no malformed data and corrupt no transiting data, so the vector stays local.\nAC:H - The base rxe netdev is pinned by the ib_device port reference until its QPs are destroyed. Only a VLAN/macvlan upper-device GID netdev can be freed in the window (GID ref dropped via call_rcu put_gid_ndev), and that unregister must land between rxe_init_packet() and ip_output(); the unprivileged sender cannot cause or time it.\nPR:L - The uverbs device node is 0666, and create_qp/modify_qp/post_send have no capability or netns check on the user-chosen sgid_index, so any local user can send through a VLAN GID on an admin-created rxe link (rdma link add itself needs init CAP_NET_ADMIN).\nUI:N - No victim action is needed: the attacker\u0027s own send work requests drive rxe_requester() to build skbs that hold the unreferenced GID netdev pointer.\nS:U - The freed net_device and the code dereferencing it are both inside the same kernel; no VM, IOMMU or sandbox boundary is crossed.\nC:H - rxe_find_route() reads nd_net and ifindex, and rxe_prepare() follows dev_addr, from a freed net_device that can be reclaimed. A forged nd_net sends ip_route_output_key() through attacker-shaped netns and fib structures.\nI:H - Route lookup through a forged netns, and dst refcounting on structures it reaches, gives writes through attacker-controlled pointers; the stale device is also passed as indev to netfilter POST_ROUTING hooks. This is a net_device use-after-free that can be exploited.\nA:H - Dereferencing the freed net_device\u0027s nd_net/dev_addr pointers in the rxe_wq kworker oopses the kernel when the memory is poisoned or reused."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-02T09:21:42.450Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e04100461ab819f13350de4c51c324f1c2223f0c"
        },
        {
          "url": "https://git.kernel.org/stable/c/acf8eb1a285c4ee840fdd4c77d573c791e96402b"
        },
        {
          "url": "https://git.kernel.org/stable/c/3e582711768f88c296b06624a319b18dc26f450b"
        },
        {
          "url": "https://git.kernel.org/stable/c/357bb10d3fdd35c7c8023796e5d96197b19b2cbf"
        },
        {
          "url": "https://git.kernel.org/stable/c/19881618ffa454c63e6b6bf34acd7cac28c695dc"
        }
      ],
      "title": "RDMA/rxe: Hold netdev reference for transmit skbs",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-139355",
    "datePublished": "2026-11-30T13:33:59.657Z",
    "dateReserved": "2026-11-30T13:22:15.929Z",
    "dateUpdated": "2026-12-02T09:21:42.450Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-139355",
      "date": "2026-12-04",
      "epss": "0.00165",
      "percentile": "0.05932"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-02T01:10:08.000Z",
      "cve": "CVE-2026-139355",
      "id": "msrc_CVE-2026-139355",
      "initial_release_date": "2026-12-01T01:23:28.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "RDMA/rxe: Hold netdev reference for transmit skbs",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-139355.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/infiniband/sw/rxe/rxe_loc.h",
                  "drivers/infiniband/sw/rxe/rxe_net.c",
                  "drivers/infiniband/sw/rxe/rxe_req.c",
                  "drivers/infiniband/sw/rxe/rxe_resp.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "e04100461ab819f13350de4c51c324f1c2223f0c",
                    "status": "affected",
                    "version": "43c9fc509fa59d602f9c303d02b33db015022881",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "acf8eb1a285c4ee840fdd4c77d573c791e96402b",
                    "status": "affected",
                    "version": "43c9fc509fa59d602f9c303d02b33db015022881",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "3e582711768f88c296b06624a319b18dc26f450b",
                    "status": "affected",
                    "version": "43c9fc509fa59d602f9c303d02b33db015022881",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "357bb10d3fdd35c7c8023796e5d96197b19b2cbf",
                    "status": "affected",
                    "version": "43c9fc509fa59d602f9c303d02b33db015022881",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "19881618ffa454c63e6b6bf34acd7cac28c695dc",
                    "status": "affected",
                    "version": "43c9fc509fa59d602f9c303d02b33db015022881",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/infiniband/sw/rxe/rxe_loc.h",
                  "drivers/infiniband/sw/rxe/rxe_net.c",
                  "drivers/infiniband/sw/rxe/rxe_req.c",
                  "drivers/infiniband/sw/rxe/rxe_resp.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.17"
                  },
                  {
                    "lessThan": "4.17",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.119",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.65",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rxe: Hold netdev reference for transmit skbs\n\nrxe_init_packet() assigns skb-\u003edev from an RCU-protected GID attribute\nwithout holding a netdev reference. If the netdev is unregistered before\nthe skb is freed, subsequent accesses to skb-\u003edev are unsafe.\n\nHold a reference with dev_hold() when the skb is initialized and release\nit from the transmit destructor or via rxe_put_skb() on error paths that\nrun before the destructor is installed.\n\nskb-\u003edev can change on the TX path (VLAN/bond/tunnel, ip_finish_output2,\netc.), so put must use the same netdev that was held. Stash that pointer\nin skb_shinfo()-\u003edestructor_arg: skb-\u003ecb is already used by\nrxe_pkt_info and is rewritten by IP control blocks.\n\nTo avoid blocking netdev unregistration on held skbs, flush all QPs to\nthe error state on NETDEV_GOING_DOWN and NETDEV_UNREGISTER so pending TX\nwork is drained and references can be dropped."
          }
        ],
        "id": "CVE-2026-139355",
        "lastModified": "2026-12-02T10:17:19.447",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.0,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.0,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:19:01.583",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/19881618ffa454c63e6b6bf34acd7cac28c695dc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/357bb10d3fdd35c7c8023796e5d96197b19b2cbf"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3e582711768f88c296b06624a319b18dc26f450b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/acf8eb1a285c4ee840fdd4c77d573c791e96402b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e04100461ab819f13350de4c51c324f1c2223f0c"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T08:32:10+00:00",
      "cve": "CVE-2026-139355",
      "id": "CVE-2026-139355",
      "initial_release_date": "2026-11-30T13:33:59.657000+00:00",
      "product_status:known_affected": "188",
      "product_status:known_not_affected": "92",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via use-after-free in RDMA/rxe driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-139355.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.