{"id":"CVE-2026-99272","aliases":["CVE-2026-99272"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: validate the data area in SMB2_read()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate the data area in SMB2_read()\n\nSMB2_read() copies le32_to_cpu(rsp->DataLength) bytes from\n(char *)rsp + rsp->DataOffset without checking that the range lies\nwithin the response actually received. A READ response with\nDataOffset == 0 makes smb2_get_data_area_len() zero the data length, so\nsmb2_check_message() accepts a frame as short as the fixed response,\nwhile SMB2_read() still uses the server-supplied DataLength, capped only\nby CIFS_MAX_MSGSIZE and the caller's length.\n\nA malicious server can answer the synchronous read used by the\nmfsymlinks (or SFU) symlink parser with an 81-byte READ response\ncarrying DataOffset 0 and DataLength 1067, making the client copy 1067\nbytes from a 448-byte receive object (KASAN slab-out-of-bounds; up to\n16 KiB in the general case).\n\nClamp a zero (or header-overlapping) DataOffset to read_rsp_size, as\nhandle_read_data() does for the asynchronous path, and reject the\nresponse unless DataOffset + DataLength fits within rsp_iov.iov_len.\nThe SMB1 helper was fixed the same way in 5be5bdda5863.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate the data area in SMB2_read()\n\nSMB2_read() copies le32_to_cpu(rsp->DataLength) bytes from\n(char *)rsp + rsp->DataOffset without checking that the range lies\nwithin the response actually received. A READ response with\nDataOffset == 0 makes smb2_get_data_area_len() zero the data length, so\nsmb2_check_message() accepts a frame as short as the fixed response,\nwhile SMB2_read() still uses the server-supplied DataLength, capped only\nby CIFS_MAX_MSGSIZE and the caller's length.\n\nA malicious server can answer the synchronous read used by the\nmfsymlinks (or SFU) symlink parser with an 81-byte READ response\ncarrying DataOffset 0 and DataLength 1067, making the client copy 1067\nbytes from a 448-byte receive object (KASAN slab-out-of-bounds; up to\n16 KiB in the general case).\n\nClamp a zero (or header-overlapping) DataOffset to read_rsp_size, as\nhandle_read_data() does for the asynchronous path, and reject the\nresponse unless DataOffset + DataLength fits within rsp_iov.iov_len.\nThe SMB1 helper was fixed the same way in 5be5bdda5863.","source":"cvelist"}],"published":"2026-11-07T14:08:45.332Z","modified":"2026-11-25T19:17:41.640Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d8e050398d23ef7c019c96200b80d73f4e5cec0c","fixed":"986d13d390167b8dc7139c8725cdbf94ba1f4941","status":"affected"},{"type":"git","introduced":"d8e050398d23ef7c019c96200b80d73f4e5cec0c","fixed":"28419979a1cde58a00cb67620fab6df708b70e47","status":"affected"},{"type":"git","introduced":"d8e050398d23ef7c019c96200b80d73f4e5cec0c","fixed":"a1e3edee5ec0f261b048a82bfda071195a78dc0b","status":"affected"},{"type":"git","introduced":"d8e050398d23ef7c019c96200b80d73f4e5cec0c","fixed":"ba80cf4a8baa546c709fb0581c04d9b3d9f17c24","status":"affected"},{"type":"git","introduced":"d8e050398d23ef7c019c96200b80d73f4e5cec0c","fixed":"b949f6a0c08a57439334f39754ee7bd3c315d4a3","status":"affected"},{"type":"git","introduced":"d8e050398d23ef7c019c96200b80d73f4e5cec0c","fixed":"082ae8a34170b7388106aa0897f47405f0824946","status":"affected"},{"type":"git","introduced":"d8e050398d23ef7c019c96200b80d73f4e5cec0c","fixed":"1ba1937de005e261a8858f45bfef5da7458df94c","status":"affected"},{"type":"git","introduced":"d8e050398d23ef7c019c96200b80d73f4e5cec0c","fixed":"2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.7","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/986d13d390167b8dc7139c8725cdbf94ba1f4941","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28419979a1cde58a00cb67620fab6df708b70e47","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1e3edee5ec0f261b048a82bfda071195a78dc0b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba80cf4a8baa546c709fb0581c04d9b3d9f17c24","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b949f6a0c08a57439334f39754ee7bd3c315d4a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/082ae8a34170b7388106aa0897f47405f0824946","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ba1937de005e261a8858f45bfef5da7458df94c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99272/CVE-2026-99272.md","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99272","url":"https://www.cve.org/CVERecord?id=CVE-2026-99272","licence":"CVE Terms of Use","modified":"2026-11-25T18:18:54.360Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99272","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99272","licence":"Public domain","modified":"2026-11-25T19:17:41.640Z"}],"updatedAt":"2026-11-25T23:18:32.103Z","epss":{"score":0.00243,"percentile":0.09299,"date":"2026-11-30T12:00:22.000Z"}}