In the Linux kernel, the following vulnerability has been resolved:
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 atlib/list_debug.c:26!
pc : __list_add_valid+0x88/0xbclr : __list_add_valid+0x88/0xbcCall trace:__list_add_valid+0x88/0xbcfuse_finish_open+0x11c/0x170fuse_open_common+0x284/0x5e8fuse_dir_open+0x14/0x24do_dentry_open+0x2a4/0x4e0dentry_open+0x50/0x80smb2_open+0xbe4/0x15a4handle_ksmbd_work+0x478/0x5ecprocess_one_work+0x1b4/0x448worker_thread+0x25c/0x430kthread+0x104/0x1d4ret_from_fork+0x10/0x20