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.
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.