VDB

CVE-2024-42080

CVE-2024-42080 PUBLISHED

RDMA/restrack: Fix potential invalid address access

Reported by linux · Published July 29, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-toolsAmazon Linux6.1.97-104.177.amzn2023
kernelAmazon Linux6.1.97-104.177.amzn2023
kernel-livepatch-6.1.97-104.177Amazon Linux1.0-0.amzn2023
kernel-libbpf-develAmazon Linux6.1.97-104.177.amzn2023
python3-perfAmazon Linux6.1.97-104.177.amzn2023
linux_kernellinux6.9.8, 6.6.37, 6.1.97, 5.15.162

Affected products

VendorProductVersions
LinuxLinux03286030ac0420c759fa25f5b976e40293bccaaf, 03286030ac0420c759fa25f5b976e40293bccaaf, 03286030ac0420c759fa25f5b976e40293bccaaf
LinuxLinux4.17, 0, 5.15.162
amazon:2023kernel-tools0
amazon:2023kernel0
amazon:2023kernel-livepatch-6.1.97-104.1770
amazon:2023kernel-libbpf-devel0
amazon:2023python3-perf0
linuxlinux_kernel4.17, 4.17, 4.17
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
LinuxLinux03286030ac0420c759fa25f5b976e40293bccaaf, 03286030ac0420c759fa25f5b976e40293bccaaf, 03286030ac0420c759fa25f5b976e40293bccaaf
amazon:2023kernel-modules-extra0
amazon:2023kernel-headers0
amazon:2023kernel-libbpf0
amazon:2023bpftool0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-static0
amazon:2023perf0

Timeline

  • Jul 29, 2024 CVE Published
  • Jul 30, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Jan 7, 2026 Security Advisory (356 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (238 in total, the first dated here)
  • Nov 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-42080
vulnetix vdb fixes CVE-2024-42080

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42080/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›