{"id":"CVE-2026-99272","published":"2026-11-07T14:08:45Z","modified":"2026-11-23T08:00:46Z","title":"smb: client: validate the data area in SMB2_read()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00208,"percentile":0.10807,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/986d13d390167b8dc7139c8725cdbf94ba1f4941","tags":[]},{"url":"https://git.kernel.org/stable/c/28419979a1cde58a00cb67620fab6df708b70e47","tags":[]},{"url":"https://git.kernel.org/stable/c/a1e3edee5ec0f261b048a82bfda071195a78dc0b","tags":[]},{"url":"https://git.kernel.org/stable/c/ba80cf4a8baa546c709fb0581c04d9b3d9f17c24","tags":[]},{"url":"https://git.kernel.org/stable/c/b949f6a0c08a57439334f39754ee7bd3c315d4a3","tags":[]},{"url":"https://git.kernel.org/stable/c/082ae8a34170b7388106aa0897f47405f0824946","tags":[]},{"url":"https://git.kernel.org/stable/c/1ba1937de005e261a8858f45bfef5da7458df94c","tags":[]},{"url":"https://git.kernel.org/stable/c/2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d8e050398d23ef7c019c96200b80d73f4e5cec0c, < 986d13d390167b8dc7139c8725cdbf94ba1f4941",">= d8e050398d23ef7c019c96200b80d73f4e5cec0c, < 28419979a1cde58a00cb67620fab6df708b70e47",">= d8e050398d23ef7c019c96200b80d73f4e5cec0c, < a1e3edee5ec0f261b048a82bfda071195a78dc0b",">= d8e050398d23ef7c019c96200b80d73f4e5cec0c, < ba80cf4a8baa546c709fb0581c04d9b3d9f17c24",">= d8e050398d23ef7c019c96200b80d73f4e5cec0c, < b949f6a0c08a57439334f39754ee7bd3c315d4a3",">= d8e050398d23ef7c019c96200b80d73f4e5cec0c, < 082ae8a34170b7388106aa0897f47405f0824946",">= d8e050398d23ef7c019c96200b80d73f4e5cec0c, < 1ba1937de005e261a8858f45bfef5da7458df94c",">= d8e050398d23ef7c019c96200b80d73f4e5cec0c, < 2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1"]},{"vendor":"Linux","product":"Linux","versions":["3.7"]}],"euvd":{"id":"EUVD-2026-119290","exploited":false,"provenance":"source"}}