{"id":"CVE-2023-54015","summary":"net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device","details":"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.","modified":"2026-03-20T12:33:24.488996Z","published":"2025-12-24T10:55:47.030Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54015.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1e755065368000205e6683fa924b2654e99f573b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3dfc1004d9afbf689087ae1eafd88f55481984c7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3a516caef2c5be2f4d171890a8b3415bfab4e5e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af87194352cad882d787d06fb7efa714acd95427"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d4d10a6df1529b3f446cdada5c25e065f4712756"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eaa365c10459052cbe3e44caa4ad760cb93bd435"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54015.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54015"},{"type":"PACKAGE","url":"https://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":"fadd59fc50d010145f251db583c7ccef37393d19"},{"fixed":"3dfc1004d9afbf689087ae1eafd88f55481984c7"},{"fixed":"d4d10a6df1529b3f446cdada5c25e065f4712756"},{"fixed":"1e755065368000205e6683fa924b2654e99f573b"},{"fixed":"eaa365c10459052cbe3e44caa4ad760cb93bd435"},{"fixed":"a3a516caef2c5be2f4d171890a8b3415bfab4e5e"},{"fixed":"af87194352cad882d787d06fb7efa714acd95427"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54015.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.4.244"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.181"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.31"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54015.json"}}],"schema_version":"1.7.5"}