CVE-2024-56660

MEDIUM

Linux Kernel 5.16-6.1.120, 6.2-6.6.66, 6.7-6.12.5 - NULL Pointer Dereference in dr_domain_add_vport_cap

Title source: llm
STIX 2.1

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

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 11.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (15)
linux/Kernel 5.16.0 - 6.1.121linux
linux/Kernel 6.2.0 - 6.6.67linux
linux/Kernel 6.7.0 - 6.12.6linux
Linux/Linux < 5.16
Linux/Linux 11a45def2e197532c46aa908dedd52bc1ee378a2 - 11776cff0b563c8b8a4fa76cab620bfb633a8cb8
Linux/Linux 11a45def2e197532c46aa908dedd52bc1ee378a2 - 325cf73a1b449fea3158ab99d03a7a717aad1618
Linux/Linux 11a45def2e197532c46aa908dedd52bc1ee378a2 - 61f720e801443d4e2a3c0261eda4ad8431458dca
Linux/Linux 11a45def2e197532c46aa908dedd52bc1ee378a2 - a59c61a1869ceefc65ef02886f91e8cd0062211f
Linux/Linux 5.16
Linux/Linux 6.1.121 - 6.1.*
... and 5 more
Published Dec 27, 2024
Tracked Since Feb 18, 2026