Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-54169

net/mlx5e: fix memory leak in mlx5e_ptp_open

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 145e5637d941daec2e8d1ff21676cbf1aa62cf4d to < 4892e1e548b5bd6524c1c89df06e4849df26fc20affected
  • 145e5637d941daec2e8d1ff21676cbf1aa62cf4d to < 83a8f7337a14cdb215c76a8f4cf3f3be8b59177daffected
  • 145e5637d941daec2e8d1ff21676cbf1aa62cf4d to < 7035e3ae600c4e9cb3dc220c24dd77112ddff8b1affected
  • 145e5637d941daec2e8d1ff21676cbf1aa62cf4d to < d543b649ffe58a0cb4b6948b3305069c5980a1faaffected

Linux Linux

Default version status: affected

  • 5.11affected
  • 0 to < 5.11unaffected
  • 5.15.121 to ≤ 5.15.*unaffected
  • 6.1.40 to ≤ 6.1.*unaffected
  • 6.4.5 to ≤ 6.4.*unaffected
  • 6.5 to ≤ *unaffected

References