Skip to content
Heist/ feed
High

RDMA/core: Reject unregistering netdevs in ib_get_eth_speed

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Reject unregistering netdevs in ib_get_eth_speed ib_device_get_netdev() intentionally returns a referenced net_device even when it is unregistering, so matching and cleanup callers can still find the association. The reference keeps struct net_device allocated, but does not guarantee that the device remains operational. ib_get_eth_speed() uses the returned device operationally by invoking its ethtool callback. Although that call is made under RTNL, the function does not verify the registration state first. An asynchronous RDMA port query can therefore call into a netdev after NETDEV_UNREGISTER and ndo_uninit have completed. Check for NETREG_REGISTERED while holding RTNL and return -ENODEV for a device which is being unregistered. Keeping RTNL across the check and the ethtool operation prevents unregister from starting between them. Keep the speed fallback and warning under RTNL as well, so the warning can safely read netdev->name. Drop the netdev reference before releasing RTNL once all accesses to the device are complete.

Announced Source revision 1
Original source ↗

CVE-2026-98359

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-98359

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": "d41861942fc55c14b6280d9568a0d0112037f065",
        "lessThan": "be4b44c8b47c67a04c08b1a0aba18006b749ae6a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d41861942fc55c14b6280d9568a0d0112037f065",
        "lessThan": "45c60ffc79771bad154f224a05753191cf1b37bc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d41861942fc55c14b6280d9568a0d0112037f065",
        "lessThan": "520cd057f138ed8dbe8e05f0eae3a8ed4c5d3a5e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d41861942fc55c14b6280d9568a0d0112037f065",
        "lessThan": "a219459fbd1b2598e63c81a52847eba6c28b72d2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d41861942fc55c14b6280d9568a0d0112037f065",
        "lessThan": "5bd42f74ec3b4f4687fb600f367af0828d513b3c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d41861942fc55c14b6280d9568a0d0112037f065",
        "lessThan": "ef9fbe1b93f3b617b96e86d5cd76b3fa44514cb5",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/infiniband/core/verbs.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.14"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.14",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.189",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.54",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.8",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/infiniband/core/verbs.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98359

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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