RDMA/core: Reject unregistering netdevs in ib_get_eth_speed (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.12 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
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.
References
- https://git.kernel.org/stable/c/be4b44c8b47c67a04c08b1a0aba18006b749ae6a
- https://git.kernel.org/stable/c/45c60ffc79771bad154f224a05753191cf1b37bc
- https://git.kernel.org/stable/c/520cd057f138ed8dbe8e05f0eae3a8ed4c5d3a5e
- https://git.kernel.org/stable/c/a219459fbd1b2598e63c81a52847eba6c28b72d2
- https://git.kernel.org/stable/c/5bd42f74ec3b4f4687fb600f367af0828d513b3c
- https://git.kernel.org/stable/c/ef9fbe1b93f3b617b96e86d5cd76b3fa44514cb5
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-93344
- GCVE · GCVE-0-2026-98359
CERT-FR advisories
- CERTFR-2026-AVI-1432 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected d41861942fc55c14b6280d9568a0d0112037f065 < be4b44c8b47c67a04c08b1a0aba18006b749ae6a ; affected d41861942fc55c14b6280d9568a0d0112037f065 < 45c60ffc79771bad154f224a05753191cf1b37bc ; affected d41861942fc55c14b6280d9568a0d0112037f065 < 520cd057f138ed8dbe8e05f0eae3a8ed4c5d3a5e ; affected d41861942fc55c14b6280d9568a0d0112037f065 < a219459fbd1b2598e63c81a52847eba6c28b72d2 ; affected d41861942fc55c14b6280d9568a0d0112037f065 < 5bd42f74ec3b4f4687fb600f367af0828d513b3c ; affected d41861942fc55c14b6280d9568a0d0112037f065 < ef9fbe1b93f3b617b96e86d5cd76b3fa44514cb5 |
| Linux · Linux | affected 4.14 ; unaffected 0 < 4.14 ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.* ; unaffected 6.18.54 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |