Skip to content
Heist/ feed
Unrated

RDMA/cxgb4: Fix dereg_skb leak and double free in write_tpt_entry()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: RDMA/cxgb4: Fix dereg_skb leak and double free in write_tpt_entry() When the device is in the fatal error state, write_tpt_entry() returns -EIO before handing the caller's preallocated skb to the transmit path; its allocation-failure returns do the same. c4iw_dereg_mr() ignores the error and frees mhp, leaking mhp->dereg_skb. c4iw_get_dma_mr() instead frees the skb a second time after dereg_mem() already consumed it, a double free. Make write_tpt_entry() the sole owner of a non-NULL skb, freeing it on every return preceding handoff to c4iw_ofld_send(): fatal error, tpt and stag allocation failure. c4iw_ofld_send() consumes the skb on success and error alike, so drop the redundant kfree_skb() in c4iw_get_dma_mr() after dereg_mem().

Announced Source revision 1
Original source ↗

CVE-2026-90417

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-90417

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "0f8ab0b6e91b4d5302ceee5ec12ce54d81297635",
        "lessThan": "68c1d2c085f205e8a5338bc3d3304f897deca4d9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0f8ab0b6e91b4d5302ceee5ec12ce54d81297635",
        "lessThan": "379cf06e6fe34af980064c6ccaf15d8e26ec4a42",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0f8ab0b6e91b4d5302ceee5ec12ce54d81297635",
        "lessThan": "2fcd26f4680143e9ec477069530548dbe20fce6f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0f8ab0b6e91b4d5302ceee5ec12ce54d81297635",
        "lessThan": "6b15fc9bc117fb6597fa1c2cc30284aafe71101c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0f8ab0b6e91b4d5302ceee5ec12ce54d81297635",
        "lessThan": "373f3716a2de7adc739269ebb4d87e5bf4dc180c",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/infiniband/hw/cxgb4/mem.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/infiniband/hw/cxgb4/mem.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-90417

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#48691 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement