{"id":"CVE-2026-98171","published":"2026-10-06T09:17:58.773","lastModified":"2026-10-07T07:17:03.600","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix next_buffer UAF and NextCommand bounds in compound PDUs\n\nFix several related bounds checking and pointer lifecycle issues in\nreceive_encrypted_standard()'s handling of compound encrypted frames:\n\n- Clear next_buffer after assigning it to server->bigbuf. A stale\n  next_buffer pointer can lead to a use-after-free on subsequent\n  error paths.\n- Update pdu_length to the decrypted plaintext size (buf_size). Using\n  the pre-decryption length allows NextCommand to point into stale\n  ciphertext residue.\n- Reject next_cmd values smaller than MID_HEADER_SIZE(server).\n- Fix an integer overflow in the upper bound check by verifying\n  pdu_length - next_cmd < MID_HEADER_SIZE(server), ensuring the\n  trailing slice is large enough for a header.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":[],"vendors":[],"products":[],"references":[{"url":"https://git.kernel.org/stable/c/05762c5bc1cfdcac36747994fde2c04387a457f1","tags":[]},{"url":"https://git.kernel.org/stable/c/491e33144dee872cffda207f6fcb09260728f803","tags":[]},{"url":"https://git.kernel.org/stable/c/72eaef1f37a3b6bec11c342736834dc3707be3e4","tags":[]},{"url":"https://git.kernel.org/stable/c/858d5ac22cb889266993e7670f9f0c4f4aeedd78","tags":[]},{"url":"https://git.kernel.org/stable/c/8749946579708ea0d339034bb7f423a67dbe89cf","tags":[]},{"url":"https://git.kernel.org/stable/c/96c436e4b010711452b2872558938f4ef276492a","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"The flaw involves improper bounds checking and pointer lifecycle management in the handling of compound encrypted frames, which could lead to use-after-free and other security issues.","exploitability":"Exploitation requires specific conditions, such as handling compound encrypted frames, and is moderately difficult due to the need for precise timing and context.","blast_radius":"If exploited, this vulnerability could allow attackers to execute arbitrary code or cause system crashes, leading to significant damage.","remediation":"Upgrade to the Linux kernel version 6.1.19 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["kernel","encryption","buffer-overflow"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-07T08:59:02.637Z"}}