Database/Kernel, userspace & hypervisor
Linux kernel RDMA/siw: stale per-device net_device link leads to use-after-free on port query
Impact
The soft-iWARP driver kept its own direct pointer to the net_device alongside the one ib_device already manages. The locally managed link was not kept in step with the netdev lifetime, and KASAN reported a slab use-after-free during siw_query_port(). On a GPU fleet this is the RDMA stack, so the blast radius is the fabric path: a crash or corruption in the driver that serves verbs queries takes down the node's RDMA traffic and with it any collective the node is part of. The practical exposure is narrow, though - siw is the software iWARP fallback, not the hardware path. Nodes using mlx5, irdma or another hardware provider do not load siw at all, and the module is absent on most datacenter images.
Who can reach it
Local. A process that can open an RDMA device and issue a port query (anyone holding /dev/infiniband/uverbs*) while the underlying network interface is being torn down. Only hosts that actually load the siw module are affected.
What to do
Take a stable kernel with commits 16b87037b488, 4eafeb4f021c or 6a97bfc0293d and reboot the node. If siw is not in use - the common case where RDMA runs on hardware providers - blacklisting or simply not loading the module removes the exposure without a reboot, and the kernel fix can wait for your normal cadence.
References
Related entries
- Linux kernel (net/xfrm): SA lookup can observe the new hash mask before the new bucket array is published, so itCVE-2024-57982 · Linux kernel (net/xfrm)High
- Microsoft Hyper-V: Heap-based buffer overflow in the NT Kernel Integration VSPCVE-2025-21333 · Microsoft Hyper-VHigh
- Microsoft Hyper-V: Use-after-free in the NT Kernel Integration VSP - elevation of privilege, exploited in the wildCVE-2025-21334 · Microsoft Hyper-VHigh
- Microsoft Hyper-V: Use-after-free in the NT Kernel Integration VSP - elevation of privilege, exploited in the wildCVE-2025-21335 · Microsoft Hyper-VHigh
- Linux kernel (drivers/vfio/platform): Vfio-platform never bounds-checked the count and offset a caller passes toCVE-2025-21687 · Linux kernel (drivers/vfio/platform)High
- Linux kernel mlx5_ib on-demand paging (ODP): Implicit on-demand-paging memory region destroy work can be queued twiceCVE-2025-21714 · Linux kernel mlx5_ib on-demand paging (ODP)High
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.