ZeroHour

CVE-2026-89510

niche

Use-after-free in Linux kernel RDMA/cxgb4 device removal path

CVSS 3.1
7.8 high
EPSS
Published
()
Modified
AI analysis

A use-after-free race condition exists in the Linux kernel's RDMA/cxgb4 driver, which supports RDMA (iWARP) functionality on Chelsio T4/T5-class network adapters. The driver queues a 'reg_work' work item to register the RDMA device, but during device removal c4iw_remove() can free the device structure (ctx->dev) while that work is still pending or running, causing c4iw_register_device() to access freed memory. The flaw is triggered when adapter removal (hot-unplug or driver unbind/unload) races with the registration path, so an attacker needs local access with low privileges on a system running the affected hardware. Successful exploitation could crash the kernel or, per the CVSS 7.8 rating, achieve memory corruption with high impact to confidentiality, integrity, and availability. The issue was found by in-house static analysis, and there is no public proof of concept or evidence of exploitation in the wild.

What to do: Apply your distribution's kernel update once the fix (cancelling reg_work before freeing the device in c4iw_remove()) is available, and confirm RDMA nodes are running the patched kernel. As an interim measure, restrict local privileged access and avoid hot-unplugging or unbinding cxgb4 adapters while device registration may be in flight. Systems without Chelsio RDMA hardware are not exposed to this code path.

Affected
Linux kernel, RDMA/cxgb4 driver (Chelsio T4/T5 iWARP RDMA adapters)
Estimated exposure
niche≈low thousands of servers/HPC nodes (Chelsio iWARP RDMA deployments; no public install counts) — The cxgb4 driver is specific to Chelsio iWARP RDMA NICs, which are specialized hardware deployed mainly in HPC clusters and storage appliances rather than commodity desktops or laptops, so exposure is confined to those environments.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/cxgb4: Cancel reg_work before freeing device on remove c4iw_uld_state_change() queues reg_work to register the RDMA device. c4iw_remove() can free ctx->dev while this work is pending or running, leaving c4iw_register_device() accessing the freed device. Cancel reg_work before removing the device. The registration work can tear down ctx->dev when registration fails, so do not unregister or deallocate it again in that case. This issue was found by an in-house static analysis tool.

Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.