CVE-2026-90219

RDMA/cxgb4: Free debugfs on registration failure

State
Published
Severity
Not scored
Published
Sep 17, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 49ea0c036ede81f126f1a9389d377999fdf5c5a1 to before 459b59f7ed56511d6529311cb4e5e482ebfcfb8eAffected
  • 49ea0c036ede81f126f1a9389d377999fdf5c5a1 to before cd60992f09b7e83bfd3c76e3bb06b29f3e2fa0a8Affected
  • 49ea0c036ede81f126f1a9389d377999fdf5c5a1 to before c332d9e7dce234d8bef78271d003a68ee943b61bAffected
  • 49ea0c036ede81f126f1a9389d377999fdf5c5a1 to before f98e894ec029a752cf9c7f7834741bead0fb463dAffected
  • 49ea0c036ede81f126f1a9389d377999fdf5c5a1 to before 479a7f90060e62bdd9bb4036ec0a70bf460f6d23Affected
  • 49ea0c036ede81f126f1a9389d377999fdf5c5a1 to before 046425412529dbfca1433c8bef5641b271b4ab2aAffected
  • 49ea0c036ede81f126f1a9389d377999fdf5c5a1 to before ea41b5630fa3d9877ce9ed8832cf5575f742bfbbAffected
  • 49ea0c036ede81f126f1a9389d377999fdf5c5a1 to before fe5c16bb6252dea6025b748257ddc3b2665495b0Affected
  • 98fa991017981b52dcc4dc3924fc8e1e83e41bf4Affected
  • af92e4a595e006b498c44b617ea38f697eca3469Affected
  • 9c0cec79e5c914662c2cf98b4a729c0fcc8c872eAffected
  • 4.19.130 to before 4.20Affected
  • 5.4.49 to before 5.5Affected
  • 5.7.6 to before 5.8Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.