CVE-2024-56660

Source
https://cve.org/CVERecord?id=CVE-2024-56660
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56660.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56660
Downstream
Related
Published
2024-12-27T15:06:23.161Z
Modified
2026-03-11T07:46:21.766157Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net/mlx5: DR, prevent potential error pointer dereference
Details

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: DR, prevent potential error pointer dereference

The drdomainaddvportcap() function generally returns NULL on error but sometimes we want it to return ERRPTR(-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 drstev0buildsrcgvmiqpntag().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56660.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
11a45def2e197532c46aa908dedd52bc1ee378a2
Fixed
61f720e801443d4e2a3c0261eda4ad8431458dca
Fixed
325cf73a1b449fea3158ab99d03a7a717aad1618
Fixed
a59c61a1869ceefc65ef02886f91e8cd0062211f
Fixed
11776cff0b563c8b8a4fa76cab620bfb633a8cb8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56660.json"