An issue was discovered in ksmbd in the Linux kernel before 6.6.10. smb2getdataarealen in fs/smb/server/smb2misc.c can cause an smbstrndupfrom_utf16 out-of-bounds access because the relationship between Name data and CreateContexts data is mishandled.