CVE-2023-54169

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux145e5637d941daec2e8d1ff21676cbf1aa62cf4d < 4892e1e548b5bd6524c1c89df06e4849df26fc20affected
LinuxLinux145e5637d941daec2e8d1ff21676cbf1aa62cf4d < 83a8f7337a14cdb215c76a8f4cf3f3be8b59177daffected
LinuxLinux145e5637d941daec2e8d1ff21676cbf1aa62cf4d < 7035e3ae600c4e9cb3dc220c24dd77112ddff8b1affected
LinuxLinux145e5637d941daec2e8d1ff21676cbf1aa62cf4d < d543b649ffe58a0cb4b6948b3305069c5980a1faaffected
LinuxLinux5.11affected
LinuxLinux0 < 5.11unaffected
LinuxLinux5.15.121 <= 5.15.*unaffected
LinuxLinux6.1.40 <= 6.1.*unaffected
LinuxLinux6.4.5 <= 6.4.*unaffected
LinuxLinux6.5 <= *unaffected

Weaknesses

References