NULL pointer dereference in Linux
CVE-2024-56660
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 12.5th percentile
- Published
- 2024-12-27
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().
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 12.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 11a45def2e197532c46aa908dedd52bc1ee378a2, 5.16, 0
- Linux Kernel — versions 6.13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (cku-heise/euvd-api-doc, oogasawa/Utility-security, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/61f720e801443d4e2a3c0261eda4ad8431458dca (Patch)
- git.kernel.org/stable/c/325cf73a1b449fea3158ab99d03a7a717aad1618 (Patch)
- git.kernel.org/stable/c/a59c61a1869ceefc65ef02886f91e8cd0062211f (Patch)
- git.kernel.org/stable/c/11776cff0b563c8b8a4fa76cab620bfb633a8cb8 (Patch)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html