CVE-2024-42080
JSON

5.5medium

RDMA/restrack: Fix potential invalid address access

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelbefore 5.15.162, from 5.16 before 6.1.97, from 6.2 before 6.6.37, from 6.7 before 6.9.8NVD

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: RDMA/restrack: corrige una posible dirección de acceso no válida. El kern_name de la estructura rdma_restrack_entry se configuró en KBUILD_MODNAME en ib_create_cq(), mientras que si el módulo salía pero olvidaba esta rdma_restrack_entry, causaría una dirección no válida. acceda en rdma_restrack_clean() cuando imprima el propietario de este rdma_restrack_entry. Este código se utiliza para ayudar a encontrar una versión de PD olvidada en uno de los ULP. Pero ya no es necesario, así que elimínelos.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42080 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-42080 changed 2026-06-17Public domain