# CVE-2024-42080: RDMA/restrack: Fix potential invalid address access

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-07-29T15:52:42.228Z
- Modified: 2026-06-17T07:48:46.013Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 03286030ac0420c759fa25f5b976e40293bccaaf before 8656ef8a9288d6c932654f8d3856dc4ab1cfc6b5; from 03286030ac0420c759fa25f5b976e40293bccaaf before 782bdaf9d01658281bc813f3f873e6258aa1fd8d; from 03286030ac0420c759fa25f5b976e40293bccaaf before 8ac281d42337f36cf7061cf1ea094181b84bc1a9; from 03286030ac0420c759fa25f5b976e40293bccaaf before f45b43d17240e9ca67ebf3cc82bb046b07cc1c61; from 03286030ac0420c759fa25f5b976e40293bccaaf before ca537a34775c103f7b14d7bbd976403f1d1525d8; 4.17 (not affected: before 4.17; from 5.15.162 up to 5.15.*; from 6.1.97 up to 6.1.*; from 6.6.37 up to 6.6.*; from 6.9.8 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: before 5.15.162; from 5.16 before 6.1.97; from 6.2 before 6.6.37; from 6.7 before 6.9.8

## References

- <https://git.kernel.org/stable/c/8656ef8a9288d6c932654f8d3856dc4ab1cfc6b5> (patch)
- <https://git.kernel.org/stable/c/782bdaf9d01658281bc813f3f873e6258aa1fd8d> (patch)
- <https://git.kernel.org/stable/c/8ac281d42337f36cf7061cf1ea094181b84bc1a9> (patch)
- <https://git.kernel.org/stable/c/f45b43d17240e9ca67ebf3cc82bb046b07cc1c61> (patch)
- <https://git.kernel.org/stable/c/ca537a34775c103f7b14d7bbd976403f1d1525d8> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-42080](https://www.cve.org/CVERecord?id=CVE-2024-42080), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-42080](https://nvd.nist.gov/vuln/detail/CVE-2024-42080), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42080 · Whole record: https://cve.day/CVE-2024-42080.json · Rebuilt by cve.day 2026-11-25T22:58:43.342Z
