diff options
author | 2025-04-30 11:18:28 +0900 | |
---|---|---|
committer | 2025-05-01 18:58:48 -0500 | |
commit | 53e3e5babc0963a92d856a5ec0ce92c59f54bc12 (patch) | |
tree | d592500513683fd0d9ea2788e9d080418f3e49b8 /scripts/lib/kdoc/kdoc_files.py | |
parent | Merge tag 'v6.15-rc4-ksmbd-server-fixes' of git://git.samba.org/ksmbd (diff) | |
download | linux-rng-53e3e5babc0963a92d856a5ec0ce92c59f54bc12.tar.xz linux-rng-53e3e5babc0963a92d856a5ec0ce92c59f54bc12.zip |
ksmbd: prevent rename with empty string
Client can send empty newname string to ksmbd server.
It will cause a kernel oops from d_alloc.
This patch return the error when attempting to rename
a file or directory with an empty new name string.
Cc: stable@vger.kernel.org
Reported-by: Norbert Szetei <norbert@doyensec.com>
Tested-by: Norbert Szetei <norbert@doyensec.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions