An issue was discovered in the Linux kernel before 6.3.4. fs/ksmbd/smb2pdu.c in ksmbd does not properly check the UserName value because it does not consider the address of security buffer, leading to an out-of-bounds read.
https://security.netapp.com/advisory/ntap-20230831-0001/
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.3.4