Skip to main content
← All vulnerabilities
CVE-2026-90219

RDMA/cxgb4: Free debugfs on registration failure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.20, 5.5, 5.8, 5.10.270, 5.15.221, and 5 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 49ea0c036ede81f126f1a9389d377999fdf5c5a1 · fixed in 459b59f7ed56511d6529311cb4e5e482ebfcfb8e; From 49ea0c036ede81f126f1a9389d377999fdf5c5a1 · fixed in cd60992f09b7e83bfd3c76e3bb06b29f3e2fa0a8; From 49ea0c036ede81f126f1a9389d377999fdf5c5a1 · fixed in c332d9e7dce234d8bef78271d003a68ee943b61b; From 49ea0c036ede81f126f1a9389d377999fdf5c5a1 · fixed in f98e894ec029a752cf9c7f7834741bead0fb463d; From 49ea0c036ede81f126f1a9389d377999fdf5c5a1 · fixed in 479a7f90060e62bdd9bb4036ec0a70bf460f6d23; From 49ea0c036ede81f126f1a9389d377999fdf5c5a1 · fixed in 046425412529dbfca1433c8bef5641b271b4ab2a; From 49ea0c036ede81f126f1a9389d377999fdf5c5a1 · fixed in ea41b5630fa3d9877ce9ed8832cf5575f742bfbb; From 49ea0c036ede81f126f1a9389d377999fdf5c5a1 · fixed in fe5c16bb6252dea6025b748257ddc3b2665495b0; From 4.19.130 · fixed in 4.20; From 5.4.49 · fixed in 5.5; From 5.7.6 · fixed in 5.8

  • Linux Linux

    5.8

  • KernelLinux

    From 5.8.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6

References 8

git.kernel.org