Shellfeed logo Shellfeed

CVE-2026-90219 · UNKNOWN

Summary: RDMA/cxgb4: Free debugfs on registration failure

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 13.5).

Details

In the Linux kernel, the following vulnerability has been resolved:

RDMA/cxgb4: Free debugfs on registration failure

c4iw_alloc() creates the per-device debugfs tree (dev->debugfs_root via
setup_debugfs()), but it is removed only in c4iw_remove(), not in
c4iw_dealloc(). When RDMA device registration fails, the registration
worker's err_dealloc_ctx path calls c4iw_dealloc() directly, bypassing
c4iw_remove(), so the debugfs dentries leak and outlive the freed
c4iw_dev.

Move debugfs_remove_recursive() into c4iw_dealloc() so every path that
frees ctx->dev also removes its debugfs tree.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [49ea0c036ede81f126f1a9389d377999fdf5c5a1 – 459b59f7ed56511d6529311cb4e5e482ebfcfb8e] [4.19.130 – 4.20] [5.4.49 – 5.5] [5.7.6 – 5.8] [98fa991017981b52dcc4dc3924fc8e1e83e41bf4 – ?] [af92e4a595e006b498c44b617ea38f697eca3469 – ?] [9c0cec79e5c914662c2cf98b4a729c0fcc8c872e – ?]
  • Linux Kernel [5.8.0 – 5.10.270] [5.11.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.110] [6.13.0 – 6.18.52] [6.19.0 – 7.2.6]

References