diff options
| author | 2025-10-12 00:47:59 +0800 | |
|---|---|---|
| committer | 2025-10-15 06:03:09 -0500 | |
| commit | 6fced056d2cc8d01b326e6fcfabaacb9850b71a4 (patch) | |
| tree | c491924ae24dceb359981a5252601a8cbc158a20 /rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com | |
| parent | smb: server: Use common error handling code in smb_direct_rdma_xmit() (diff) | |
| download | wireguard-linux-6fced056d2cc8d01b326e6fcfabaacb9850b71a4.tar.xz wireguard-linux-6fced056d2cc8d01b326e6fcfabaacb9850b71a4.zip | |
smb/server: fix possible memory leak in smb2_read()
Memory leak occurs when ksmbd_vfs_read() fails.
Fix this by adding the missing kvfree().
Co-developed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: ZhangGuoDong <zhangguodong@kylinos.cn>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
