{"id":"CVE-2024-56660","aliases":["CVE-2024-56660"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5: DR, prevent potential error pointer dereference","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/mlx5: DR, evitar la posible desreferencia del puntero de error La función dr_domain_add_vport_cap() generalmente devuelve NULL en caso de error, pero a veces queremos que devuelva ERR_PTR(-EBUSY) para que el autor de la llamada pueda volver a intentarlo. El problema aquí es que \"ret\" puede ser -EBUSY o -ENOMEM y si es y -ENOMEM, entonces el puntero de error se propaga de vuelta y finalmente se desreferencia en dr_ste_v0_build_src_gvmi_qpn_tag().","source":"nvd"}],"published":"2024-12-27T15:06:23.161Z","modified":"2026-06-17T08:12:40.677Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"11a45def2e197532c46aa908dedd52bc1ee378a2","fixed":"61f720e801443d4e2a3c0261eda4ad8431458dca","status":"affected"},{"type":"git","introduced":"11a45def2e197532c46aa908dedd52bc1ee378a2","fixed":"325cf73a1b449fea3158ab99d03a7a717aad1618","status":"affected"},{"type":"git","introduced":"11a45def2e197532c46aa908dedd52bc1ee378a2","fixed":"a59c61a1869ceefc65ef02886f91e8cd0062211f","status":"affected"},{"type":"git","introduced":"11a45def2e197532c46aa908dedd52bc1ee378a2","fixed":"11776cff0b563c8b8a4fa76cab620bfb633a8cb8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.121","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.67","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.6","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.16","fixed":"6.1.121"},{"status":"affected","introduced":"6.2","fixed":"6.6.67"},{"status":"affected","introduced":"6.7","fixed":"6.12.6"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/61f720e801443d4e2a3c0261eda4ad8431458dca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/325cf73a1b449fea3158ab99d03a7a717aad1618","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a59c61a1869ceefc65ef02886f91e8cd0062211f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11776cff0b563c8b8a4fa76cab620bfb633a8cb8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:00:06.577Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56660","url":"https://www.cve.org/CVERecord?id=CVE-2024-56660","licence":"CVE Terms of Use","modified":"2026-05-11T20:56:47.243Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56660","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56660","licence":"Public domain","modified":"2026-06-17T08:12:40.677Z"}],"updatedAt":"2026-11-25T22:58:50.509Z","epss":{"score":0.00219,"percentile":0.13144,"date":"2026-12-01T12:00:22.000Z"}}