Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0b3cc858003b79b6c66ad79415ead907cbe4074e to < 55d29e38044adeb844104dd5259e633016c2a9e6affected0b3cc858003b79b6c66ad79415ead907cbe4074e to < d9467d628aaa323af286e1e3c5c7f6b20fa2d5afaffected0b3cc858003b79b6c66ad79415ead907cbe4074e to < 2f4f231b924a13b175e350e4858c49097800c738affected0b3cc858003b79b6c66ad79415ead907cbe4074e to < 0584b02669c3e76188097174b4f25ed13723e94caffected
Linux Linux
Default version status: affected
2.6.30affected0 to < 2.6.30unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected