{"id":"CVE-2024-56660","published":"2024-12-27T15:06:23Z","modified":"2026-05-11T20:56:47Z","title":"net/mlx5: DR, prevent potential error pointer dereference","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: DR, prevent potential error pointer dereference\n\nThe dr_domain_add_vport_cap() function generally returns NULL on error\nbut sometimes we want it to return ERR_PTR(-EBUSY) so the caller can\nretry.  The problem here is that \"ret\" can be either -EBUSY or -ENOMEM\nand if it's and -ENOMEM then the error pointer is propogated back and\neventually dereferenced in dr_ste_v0_build_src_gvmi_qpn_tag().","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.003,"percentile":0.15076,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/61f720e801443d4e2a3c0261eda4ad8431458dca","tags":[]},{"url":"https://git.kernel.org/stable/c/325cf73a1b449fea3158ab99d03a7a717aad1618","tags":[]},{"url":"https://git.kernel.org/stable/c/a59c61a1869ceefc65ef02886f91e8cd0062211f","tags":[]},{"url":"https://git.kernel.org/stable/c/11776cff0b563c8b8a4fa76cab620bfb633a8cb8","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.02},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 11a45def2e197532c46aa908dedd52bc1ee378a2, < 61f720e801443d4e2a3c0261eda4ad8431458dca",">= 11a45def2e197532c46aa908dedd52bc1ee378a2, < 325cf73a1b449fea3158ab99d03a7a717aad1618",">= 11a45def2e197532c46aa908dedd52bc1ee378a2, < a59c61a1869ceefc65ef02886f91e8cd0062211f",">= 11a45def2e197532c46aa908dedd52bc1ee378a2, < 11776cff0b563c8b8a4fa76cab620bfb633a8cb8"]},{"vendor":"Linux","product":"Linux","versions":["5.16"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:00:06.577316Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53308","exploited":false,"provenance":"source"}}