{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143047","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.345Z","datePublished":"2026-12-03T09:18:23.770Z","dateUpdated":"2026-12-04T03:27:45.905Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:27:45.905Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: bound invalid NTLMSSP signature diagnostic\n\nThe NTLMSSP Signature field is an eight-byte binary value and need not be\nNUL-terminated. decode_ntlmssp_challenge() prints it with %s on the\nsignature-mismatch path, so the diagnostic can continue beyond the received\nblob until it encounters a zero byte.\n\nKASAN reports:\n\n  BUG: KASAN: slab-out-of-bounds in string\n  Read of size 1\n  string\n  vsnprintf\n  _printk\n  decode_ntlmssp_challenge\n\nPrint the fixed-width field with the bounded hexadecimal format.\n\nThe patched kernel reaches the invalid-signature path and returns -EINVAL\nwithout a KASAN report."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The malformed bytes are the NTLMSSP CHALLENGE Signature in the SecurityBuffer of an SMB2 SESSION_SETUP response. SMB2_sess_auth_rawntlmssp_negotiate() passes rsp->Buffer to decode_ntlmssp_challenge(); SMB2/3 is carried on routable TCP.\nAC:L - The server sends an empty negotiate blob, which sets server->sec_ntlmssp, and CIFSSEC_DEF includes CIFSSEC_MAY_NTLMSSP, so smb2_select_sectype() returns RawNTLMSSP. It then fills a 448-byte cifs_small_rq PDU with a non-matching Signature and no NUL. CONFIG_CIFS_DEBUG defaults to y, so the cifs_dbg(VFS) %s runs on every such response.\nPR:N - decode_ntlmssp_challenge() runs on the server's SESSION_SETUP challenge, before build_ntlmssp_auth_blob() sends AUTHENTICATE. SMB2_sess_auth_rawntlmssp_negotiate() and the socket receive path do not call capable(); the attacker needs no credential on the client.\nUI:N - The server closes its own TCP connection. cifs_readv_from_socket() calls cifs_reconnect(), which queues smb2_reconnect_server(); smb2_reconnect() then calls cifs_setup_session() into SMB2_sess_setup() and decode_ntlmssp_challenge() with no further user action.\nS:U - The %s over-read in decode_ntlmssp_challenge() and the pr_err stay in the host kernel that owns the cifs session. They do not cross a guest-to-host, IOMMU, or sandbox boundary.\nC:H - decode_ntlmssp_challenge() prints pblob->Signature with %s. string() in vsnprintf uses precision -1 and reads until NUL past the 448-byte cifs_small_rq or the cifs_request object into the next slab slot, and pr_err_ratelimited copies that walk into the kernel log.\nI:N - The mismatch path only loads Signature for the diagnostic and returns -EINVAL. It does not write through that pointer, free an object, or use the extra bytes as an address or a copy length.\nA:N - The walk continues into the next mapped object of the same kmem_cache and stops at the first NUL, then decode_ntlmssp_challenge() returns -EINVAL. This path has no BUG_ON; the KASAN slab-out-of-bounds report is not a production oops."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/sess.c"],"versions":[{"version":"0b3cc858003b79b6c66ad79415ead907cbe4074e","lessThan":"55d29e38044adeb844104dd5259e633016c2a9e6","status":"affected","versionType":"git"},{"version":"0b3cc858003b79b6c66ad79415ead907cbe4074e","lessThan":"d9467d628aaa323af286e1e3c5c7f6b20fa2d5af","status":"affected","versionType":"git"},{"version":"0b3cc858003b79b6c66ad79415ead907cbe4074e","lessThan":"2f4f231b924a13b175e350e4858c49097800c738","status":"affected","versionType":"git"},{"version":"0b3cc858003b79b6c66ad79415ead907cbe4074e","lessThan":"0584b02669c3e76188097174b4f25ed13723e94c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/sess.c"],"versions":[{"version":"2.6.30","status":"affected"},{"version":"0","lessThan":"2.6.30","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.30","versionEndExcluding":"7.4-rc3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/55d29e38044adeb844104dd5259e633016c2a9e6"},{"url":"https://git.kernel.org/stable/c/d9467d628aaa323af286e1e3c5c7f6b20fa2d5af"},{"url":"https://git.kernel.org/stable/c/2f4f231b924a13b175e350e4858c49097800c738"},{"url":"https://git.kernel.org/stable/c/0584b02669c3e76188097174b4f25ed13723e94c"}],"title":"smb: client: bound invalid NTLMSSP signature diagnostic","x_generator":{"engine":"bippy-1.2.0"}}}}