A memory leak vulnerability in the Linux kernel's SMB server component (smb2_read function) was fixed. The issue occurred when the ksmbd_vfs_read() call failed, leading to missing memory deallocation. The fix involved adding the missing kvfree() call to properly free allocated memory.