← CVE Intelligence

CVE-2023-54169

net/mlx5e: fix memory leak in mlx5e_ptp_open PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix memory leak in mlx5e_ptp_open When kvzalloc_node or kvzalloc failed in mlx5e_ptp_open, the memory pointed by "c" or "cparams" is not freed, which can lead to a memory leak. Fix by freeing the array in the error path.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 145e5637d941daec2e8d1ff21676cbf1aa62cf4d before 4892e1e548b5bd6524c1c89df06e4849df26fc20; affected 145e5637d941daec2e8d1ff21676cbf1aa62cf4d before 83a8f7337a14cdb215c76a8f4cf3f3be8b59177d; affected 145e5637d941daec2e8d1ff21676cbf1aa62cf4d before 7035e3ae600c4e9cb3dc220c24dd77112ddff8b1; affected 145e5637d941daec2e8d1ff21676cbf1aa62cf4d before d543b649ffe58a0cb4b6948b3305069c5980a1fa
Linux / Linuxaffected 5.11; unaffected 0 before 5.11; unaffected 5.15.121 through 5.15.*; unaffected 6.1.40 through 6.1.*; unaffected 6.4.5 through 6.4.*; unaffected 6.5 through *

CWE

No CWE identifiers supplied.

References