In the Linux kernel, the following vulnerability has been resolved: smb: client: bound invalid NTLMSSP signature diagnostic The NTLMSSP Signature field is an eight-byte binary value and need not be NUL-terminated. decode_ntlmssp_challenge() prints it with %s on the signature-mismatch path, so the diagnostic can continue beyond the received blob until it encounters a zero byte. KASAN reports: BUG: KASAN: slab-out-of-bounds in string Read of size 1 string vsnprintf _printk decode_ntlmssp_challenge Print the fixed-width field with the bounded hexadecimal format. The patched kernel reaches the invalid-signature path and returns -EINVAL without a KASAN report.
https://git.kernel.org/stable/c/d9467d628aaa323af286e1e3c5c7f6b20fa2d5af
https://git.kernel.org/stable/c/55d29e38044adeb844104dd5259e633016c2a9e6
https://git.kernel.org/stable/c/2f4f231b924a13b175e350e4858c49097800c738
https://git.kernel.org/stable/c/0584b02669c3e76188097174b4f25ed13723e94c