CVE-2024-56660

Medium

Description

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().

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedDec 27, 2024
First seenDec 27, 2024

How to fix

Update
  • linux linux_kernel6.1.121, 6.6.67, 6.12.6 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.16 ≤ v < 6.1.121, 6.2 ≤ v < 6.6.67, 6.7 ≤ v < 6.12.6, 6.136.1.121, 6.6.67, 6.12.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-56660 · Linux Kernel · Dark Radar