CVE-2024-42080

RDMA/restrack: Fix potential invalid address access

MEDIUM
5.5
CVSS Score
Published: July 29, 2024 at 03:52 PM UTC
Updated: June 17, 2026 at 07:48 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1624.17 ≤ v < 5.15.1624.17 ≤ v < 6.1.974.17 ≤ v < 6.104.17 ≤ v < 6.6.374.17 ≤ v < 6.9.85.16 ≤ v < 6.1.976.2 ≤ v < 6.6.376.7 ≤ v < 6.9.83286030ac420c759fa25f5b976e40293bccaaf4.17
Vendor states this is fixed in 782bdaf9d01658281bc813f3f873e6258aa1fd8d (fixed)
Vendor states this is fixed in 8656ef8a9288d6c932654f8d3856dc4ab1cfc6b5 (fixed)
Vendor states this is fixed in 8ac281d42337f36cf7061cf1ea094181b84bc1a9 (fixed)
Vendor states this is fixed in ca537a34775c103f7b14d7bbd976403f1d1525d8 (fixed)
Vendor states this is fixed in f45b43d17240e9ca67ebf3cc82bb046b07cc1c61 (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 5.15.162 (unaffected)
Vendor states this is fixed in 6.1.97 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.37 (unaffected)
Vendor states this is fixed in 6.9.8 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/782bdaf9d01658281bc813f3f873e6258aa1fd8d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8656ef8a9288d6c932654f8d3856dc4ab1cfc6b5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8ac281d42337f36cf7061cf1ea094181b84bc1a9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ca537a34775c103f7b14d7bbd976403f1d1525d8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f45b43d17240e9ca67ebf3cc82bb046b07cc1c61
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card