aboutsummaryrefslogtreecommitdiff
path: root/include/asm-alpha/delay.h
diff options
context:
space:
mode:
authorGravatar Hobin Woo <hobin.woo@samsung.com> 2024-07-05 12:27:25 +0900
committerGravatar Steve French <stfrench@microsoft.com> 2024-07-05 09:56:13 -0500
commite2e33caa5dc2eae7bddf88b22ce11ec3d760e5cd (patch)
tree4384112736f21d7b9116ee907d048d300f7451f3 /include/asm-alpha/delay.h
parentksmbd: return FILE_DEVICE_DISK instead of super magic (diff)
downloadlinux-e2e33caa5dc2eae7bddf88b22ce11ec3d760e5cd.tar.gz
linux-e2e33caa5dc2eae7bddf88b22ce11ec3d760e5cd.tar.bz2
linux-e2e33caa5dc2eae7bddf88b22ce11ec3d760e5cd.zip
ksmbd: discard write access to the directory open
may_open() does not allow a directory to be opened with the write access. However, some writing flags set by client result in adding write access on server, making ksmbd incompatible with FUSE file system. Simply, let's discard the write access when opening a directory. list_add corruption. next is NULL. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:26! pc : __list_add_valid+0x88/0xbc lr : __list_add_valid+0x88/0xbc Call trace: __list_add_valid+0x88/0xbc fuse_finish_open+0x11c/0x170 fuse_open_common+0x284/0x5e8 fuse_dir_open+0x14/0x24 do_dentry_open+0x2a4/0x4e0 dentry_open+0x50/0x80 smb2_open+0xbe4/0x15a4 handle_ksmbd_work+0x478/0x5ec process_one_work+0x1b4/0x448 worker_thread+0x25c/0x430 kthread+0x104/0x1d4 ret_from_fork+0x10/0x20 Cc: stable@vger.kernel.org Signed-off-by: Yoonho Shin <yoonho.shin@samsung.com> Signed-off-by: Hobin Woo <hobin.woo@samsung.com> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/asm-alpha/delay.h')
0 files changed, 0 insertions, 0 deletions