CVE-2023-54106

Summary

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: fix potential memory leak in mlx5e_init_rep_rx

The memory pointed to by the priv->rx_res pointer is not freed in the error path of mlx5e_init_rep_rx, which can lead to a memory leak. Fix by freeing the memory in the error path, thereby making the error path identical to mlx5e_cleanup_rep_rx().

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxaf8bbf7300686961f74e72e2dc10a76672603cb3 < 0582a3caaa3e2f7b80bcb113ad3c910eac15a63eaffected
LinuxLinuxaf8bbf7300686961f74e72e2dc10a76672603cb3 < c265d8c2e25546a6b7ee16d36f2bb79b6160c2c3affected
LinuxLinuxaf8bbf7300686961f74e72e2dc10a76672603cb3 < c6cf0b6097bf1bf1b2a89b521e9ecd26b581a93aaffected
LinuxLinux6.0affected
LinuxLinux0 < 6.0unaffected
LinuxLinux6.1.45 <= 6.1.*unaffected
LinuxLinux6.4.10 <= 6.4.*unaffected
LinuxLinux6.5 <= *unaffected

Weaknesses

References