CVE-2026-90219
JSON

Not scored

RDMA/cxgb4: Free debugfs on registration failure

Severity
Not scored
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 49ea0c036ede81f126f1a9389d377999fdf5c5a1 before 459b59f7ed56511d6529311cb4e5e482ebfcfb8e, from 49ea0c036ede81f126f1a9389d377999fdf5c5a1 before cd60992f09b7e83bfd3c76e3bb06b29f3e2fa0a8, from 49ea0c036ede81f126f1a9389d377999fdf5c5a1 before c332d9e7dce234d8bef78271d003a68ee943b61b, from 49ea0c036ede81f126f1a9389d377999fdf5c5a1 before f98e894ec029a752cf9c7f7834741bead0fb463d, from 49ea0c036ede81f126f1a9389d377999fdf5c5a1 before 479a7f90060e62bdd9bb4036ec0a70bf460f6d23, from 49ea0c036ede81f126f1a9389d377999fdf5c5a1 before 046425412529dbfca1433c8bef5641b271b4ab2a, from 49ea0c036ede81f126f1a9389d377999fdf5c5a1 before ea41b5630fa3d9877ce9ed8832cf5575f742bfbb, from 49ea0c036ede81f126f1a9389d377999fdf5c5a1 before fe5c16bb6252dea6025b748257ddc3b2665495b0 and 7 more
Not affected: before 5.8, from 5.10.270 up to 5.10.*, from 5.15.221 up to 5.15.*, from 6.1.188 up to 6.1.*, from 6.6.157 up to 6.6.*, from 6.12.110 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-90219 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-90219 changed 2026-10-19Public domain