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

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.

Classification

CVE ID: CVE-2024-42080

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/8656ef8a9288d6c932654f8d3856dc4ab1cfc6b5
https://git.kernel.org/stable/c/782bdaf9d01658281bc813f3f873e6258aa1fd8d
https://git.kernel.org/stable/c/8ac281d42337f36cf7061cf1ea094181b84bc1a9
https://git.kernel.org/stable/c/f45b43d17240e9ca67ebf3cc82bb046b07cc1c61
https://git.kernel.org/stable/c/ca537a34775c103f7b14d7bbd976403f1d1525d8

Timeline