CVE-2024-56660

published 27 Dec 2024 · updated 11 May 2026

net/mlx5: DR, prevent potential error pointer dereference

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 11776cff0b563c8b8a4fa76cab620bfb633a8cb8, Kernel 325cf73a1b449fea3158ab99d03a7a717aad1618, Kernel 61f720e801443d4e2a3c0261eda4ad8431458dca and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.16, >=11a45def2e197532c46aa908dedd52bc1ee378a2 <11776cff0b563c8b8a4fa76cab620bfb633a8cb8, >=11a45def2e197532c46aa908dedd52bc1ee378a2 <325cf73a1b449fea3158ab99d03a7a717aad1618, >=11a45def2e197532c46aa908dedd52bc1ee378a2 <61f720e801443d4e2a3c0261eda4ad8431458dca, >=11a45def2e197532c46aa908dedd52bc1ee378a2 <a59c61a1869ceefc65ef02886f91e8cd0062211f11776cff0b563c8b8a4fa76cab620bfb633a8cb8, 325cf73a1b449fea3158ab99d03a7a717aad1618, 61f720e801443d4e2a3c0261eda4ad8431458dca, a59c61a1869ceefc65ef02886f91e8cd0062211f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56660 severity on Zeptric[![CVE-2024-56660](https://zeptric.io/badge/cve/CVE-2024-56660.svg)](https://zeptric.io/cve/CVE-2024-56660)