An issue was discovered in the Linux kernel before 6.3.8. fs/smb/server/connection.c in ksmbd does not validate the relationship between the NetBIOS header's length field and the SMB header sizes, via pdu_size in ksmbd_conn_handler_loop, leading to an out-of-bounds read.
https://security.netapp.com/advisory/ntap-20230824-0011/
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.3.8