net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device (Linux Linux)

CVE-2023-54015
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device In case devcom allocation is failed, mlx5 is always freeing the priv. However, this priv might have been allocated by a different thread, and freeing it might lead to use-after-free bugs. Fix it by freeing the priv only in case it was allocated by the running thread.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected fadd59fc50d010145f251db583c7ccef37393d19 < 3dfc1004d9afbf689087ae1eafd88f55481984c7 ; affected fadd59fc50d010145f251db583c7ccef37393d19 < d4d10a6df1529b3f446cdada5c25e065f4712756 ; affected fadd59fc50d010145f251db583c7ccef37393d19 < 1e755065368000205e6683fa924b2654e99f573b ; affected fadd59fc50d010145f251db583c7ccef37393d19 < eaa365c10459052cbe3e44caa4ad760cb93bd435 ; affected fadd59fc50d010145f251db583c7ccef37393d19 < a3a516caef2c5be2f4d171890a8b3415bfab4e5e ; affected fadd59fc50d010145f251db583c7ccef37393d19 < af87194352cad882d787d06fb7efa714acd95427
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.4.244 ≤ 5.4.* ; unaffected 5.10.181 ≤ 5.10.* ; unaffected 5.15.114 ≤ 5.15.* ; unaffected 6.1.31 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD