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().
Metrics
Affected Vendors & Products
References
History
Sat, 28 Dec 2024 13:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Fri, 27 Dec 2024 15:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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(). | |
Title | net/mlx5: DR, prevent potential error pointer dereference | |
References |
|
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-12-27T15:06:23.161Z
Updated: 2024-12-27T15:06:23.161Z
Reserved: 2024-12-27T15:00:39.842Z
Link: CVE-2024-56660
Vulnrichment
No data.
NVD
Status : Received
Published: 2024-12-27T15:15:25.857
Modified: 2024-12-27T15:15:25.857
Link: CVE-2024-56660
Redhat