{"id":"CVE-2023-54015","published":"2025-12-24T10:55:47Z","modified":"2026-05-11T19:53:38Z","title":"net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00221,"percentile":0.12494,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3dfc1004d9afbf689087ae1eafd88f55481984c7","tags":[]},{"url":"https://git.kernel.org/stable/c/d4d10a6df1529b3f446cdada5c25e065f4712756","tags":[]},{"url":"https://git.kernel.org/stable/c/1e755065368000205e6683fa924b2654e99f573b","tags":[]},{"url":"https://git.kernel.org/stable/c/eaa365c10459052cbe3e44caa4ad760cb93bd435","tags":[]},{"url":"https://git.kernel.org/stable/c/a3a516caef2c5be2f4d171890a8b3415bfab4e5e","tags":[]},{"url":"https://git.kernel.org/stable/c/af87194352cad882d787d06fb7efa714acd95427","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":2.5}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fadd59fc50d010145f251db583c7ccef37393d19, < 3dfc1004d9afbf689087ae1eafd88f55481984c7",">= fadd59fc50d010145f251db583c7ccef37393d19, < d4d10a6df1529b3f446cdada5c25e065f4712756",">= fadd59fc50d010145f251db583c7ccef37393d19, < 1e755065368000205e6683fa924b2654e99f573b",">= fadd59fc50d010145f251db583c7ccef37393d19, < eaa365c10459052cbe3e44caa4ad760cb93bd435",">= fadd59fc50d010145f251db583c7ccef37393d19, < a3a516caef2c5be2f4d171890a8b3415bfab4e5e",">= fadd59fc50d010145f251db583c7ccef37393d19, < af87194352cad882d787d06fb7efa714acd95427"]},{"vendor":"Linux","product":"Linux","versions":["5.0"]}],"euvd":{"id":"EUVD-2025-205118","exploited":false,"provenance":"source"}}