An issue was discovered in the Linux kernel before 6.3.4. fs/ksmbd/connection.c in ksmbd has an off-by-one error in memory allocation (because of ksmbd_smb2_check_message) that may lead to out-of-bounds access.
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.3.4