In the Linux kernel, the following vulnerability has been resolved: smb/server: fix null-ptr-deref in ksmbd_ipc_tree_connect_request() See the procedure below: ksmbd_tree_conn_connect ksmbd_share_config_get share->name = kstrdup() // fail if (!test_share_config_flag(share, KSMBD_SHARE_FLAG_PIPE)) // false // do not check `share->name` ksmbd_ipc_tree_connect_request strlen(share->name) // null-ptr-deref
https://git.kernel.org/stable/c/d2ccf905f47d2344270749f4dfa905afcd3edeb0
https://git.kernel.org/stable/c/8461f27902727ad434375caf13a0100aafc0340f
https://git.kernel.org/stable/c/7065d3648b1a48d2c49da3d6364dd3c4d503b10c
https://git.kernel.org/stable/c/4eb74a34ea401abfbbd5991076715dae3de938df