CVE-2024-42080

RDMA/restrack: Fix potential invalid address access

State
Published
Severity
Not scored
Published
Jul 29, 2024
Updated
May 11, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

Description

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

RDMA/restrack: Fix potential invalid address access

struct rdma_restrack_entry's kern_name was set to KBUILD_MODNAME in ib_create_cq(), while if the module exited but forgot del this rdma_restrack_entry, it would cause a invalid address access in rdma_restrack_clean() when print the owner of this rdma_restrack_entry.

These code is used to help find one forgotten PD release in one of the ULPs. But it is not needed anymore, so delete them.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 03286030ac0420c759fa25f5b976e40293bccaaf to before 8656ef8a9288d6c932654f8d3856dc4ab1cfc6b5Affected
  • 03286030ac0420c759fa25f5b976e40293bccaaf to before 782bdaf9d01658281bc813f3f873e6258aa1fd8dAffected
  • 03286030ac0420c759fa25f5b976e40293bccaaf to before 8ac281d42337f36cf7061cf1ea094181b84bc1a9Affected
  • 03286030ac0420c759fa25f5b976e40293bccaaf to before f45b43d17240e9ca67ebf3cc82bb046b07cc1c61Affected
  • 03286030ac0420c759fa25f5b976e40293bccaaf to before ca537a34775c103f7b14d7bbd976403f1d1525d8Affected
LinuxLinux
  • 4.17Affected
  • before 4.17Not affected
  • 5.15.162 through 5.15.*Not affected
  • 6.1.97 through 6.1.*Not affected
  • 6.6.37 through 6.6.*Not affected
  • 6.9.8 through 6.9.*Not affected
  • 6.10 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.