RDMA/hfi1: Preserve unit 0 on allocation failure (Linux Linux)

CVE-2026-93103
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Preserve unit 0 on allocation failure hfi1_free_devdata() assumes that the device was inserted into the unit table and unconditionally erases dd->unit. If xa_alloc_irq() fails, the zero-initialized unit remains zero, so full cleanup can remove an unrelated device from index 0. Release only the rdmavt allocation and return immediately while the unit table has not acquired the device.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 03b92789e5cfdac66805c1a98f1ec67336199d56 < 852637d3ee56aed8ea3ee8948eda21eca406c051 ; affected 03b92789e5cfdac66805c1a98f1ec67336199d56 < 3d0e5252b8d0345ef494763ca31e3ddd666e02cb ; affected 03b92789e5cfdac66805c1a98f1ec67336199d56 < 0feb29d434e6cc0ebefec4f77be014c85ad751b0 ; affected 03b92789e5cfdac66805c1a98f1ec67336199d56 < 3f1e196eb66b8cd3882e373794d6cea46f150a20 ; affected 03b92789e5cfdac66805c1a98f1ec67336199d56 < 4ff9d58d34758e9633078b37e8d5289b513ff80e ; affected 03b92789e5cfdac66805c1a98f1ec67336199d56 < fd4d3ad5f244a867166d1e2da7ece3d82878ec81
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD