In the Linux kernel, the following vulnerability has been resolved:
mlxsw: minimal: fix potential memory leak in mlxswmlinecards_init
The line cards array is not freed in the error path of mlxswmlinecardsinit(), which can lead to a memory leak. Fix by freeing the array in the error path, thereby making the error path identical to mlxswmlinecardsfini().