{"id":"CVE-2023-54015","aliases":["CVE-2023-54015"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Devcom, fix error flow in mlx5_devcom_register_device\n\nIn case devcom allocation is failed, mlx5 is always freeing the priv.\nHowever, this priv might have been allocated by a different thread,\nand freeing it might lead to use-after-free bugs.\nFix it by freeing the priv only in case it was allocated by the\nrunning thread.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Devcom, fix error flow in mlx5_devcom_register_device\n\nIn case devcom allocation is failed, mlx5 is always freeing the priv.\nHowever, this priv might have been allocated by a different thread,\nand freeing it might lead to use-after-free bugs.\nFix it by freeing the priv only in case it was allocated by the\nrunning thread.","source":"cvelist"}],"published":"2025-12-24T10:55:47.030Z","modified":"2026-06-17T06:46:32.550Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"fadd59fc50d010145f251db583c7ccef37393d19","fixed":"3dfc1004d9afbf689087ae1eafd88f55481984c7","status":"affected"},{"type":"git","introduced":"fadd59fc50d010145f251db583c7ccef37393d19","fixed":"d4d10a6df1529b3f446cdada5c25e065f4712756","status":"affected"},{"type":"git","introduced":"fadd59fc50d010145f251db583c7ccef37393d19","fixed":"1e755065368000205e6683fa924b2654e99f573b","status":"affected"},{"type":"git","introduced":"fadd59fc50d010145f251db583c7ccef37393d19","fixed":"eaa365c10459052cbe3e44caa4ad760cb93bd435","status":"affected"},{"type":"git","introduced":"fadd59fc50d010145f251db583c7ccef37393d19","fixed":"a3a516caef2c5be2f4d171890a8b3415bfab4e5e","status":"affected"},{"type":"git","introduced":"fadd59fc50d010145f251db583c7ccef37393d19","fixed":"af87194352cad882d787d06fb7efa714acd95427","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.4.244","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.181","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.114","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.31","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.5","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3dfc1004d9afbf689087ae1eafd88f55481984c7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d4d10a6df1529b3f446cdada5c25e065f4712756","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1e755065368000205e6683fa924b2654e99f573b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eaa365c10459052cbe3e44caa4ad760cb93bd435","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3a516caef2c5be2f4d171890a8b3415bfab4e5e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af87194352cad882d787d06fb7efa714acd95427","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54015","url":"https://www.cve.org/CVERecord?id=CVE-2023-54015","licence":"CVE Terms of Use","modified":"2026-05-11T19:53:38.638Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54015","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54015","licence":"Public domain","modified":"2026-06-17T06:46:32.550Z"}],"updatedAt":"2026-11-25T22:58:35.143Z","epss":{"score":0.00285,"percentile":0.13608,"date":"2026-11-30T12:00:22.000Z"}}