Vulnerabilities · 2024 · Linux
CVE-2024-56660
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: DR, prevent potential error pointer dereference The dr_domain_add_vport_cap() function generally returns NULL on error but sometimes we want it to return ERR_PTR(-EBUSY) so the caller can retry. The problem here is that "ret" can be either -EBUSY or -ENOMEM and if it's and -ENOMEM then the error pointer is propogated back and eventually dereferenced in dr_ste_v0_build_src_gvmi_qpn_tag().
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/11776cff0b563c8b8a4fa76cab620bfb633a8cb8 · Patch
- git.kernel.org/stable/c/325cf73a1b449fea3158ab99d03a7a717aad1618 · Patch
- git.kernel.org/stable/c/61f720e801443d4e2a3c0261eda4ad8431458dca · Patch
- git.kernel.org/stable/c/a59c61a1869ceefc65ef02886f91e8cd0062211f · Patch
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- nvd.nist.gov/vuln/detail/CVE-2024-56660
- cve.org/CVERecord?id=CVE-2024-56660
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.