{"id":"CVE-2026-99272","summary":"smb: client: validate the data area in SMB2_read()","details":"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-\u003eDataLength) bytes from\n(char *)rsp + rsp-\u003eDataOffset 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.","modified":"2026-11-23T10:00:32.707868064Z","published":"2026-11-07T14:08:45.332Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99272.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/082ae8a34170b7388106aa0897f47405f0824946"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ba1937de005e261a8858f45bfef5da7458df94c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/28419979a1cde58a00cb67620fab6df708b70e47"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/986d13d390167b8dc7139c8725cdbf94ba1f4941"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a1e3edee5ec0f261b048a82bfda071195a78dc0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b949f6a0c08a57439334f39754ee7bd3c315d4a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba80cf4a8baa546c709fb0581c04d9b3d9f17c24"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99272.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99272"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d8e050398d23ef7c019c96200b80d73f4e5cec0c"},{"fixed":"986d13d390167b8dc7139c8725cdbf94ba1f4941"},{"fixed":"28419979a1cde58a00cb67620fab6df708b70e47"},{"fixed":"a1e3edee5ec0f261b048a82bfda071195a78dc0b"},{"fixed":"ba80cf4a8baa546c709fb0581c04d9b3d9f17c24"},{"fixed":"b949f6a0c08a57439334f39754ee7bd3c315d4a3"},{"fixed":"082ae8a34170b7388106aa0897f47405f0824946"},{"fixed":"1ba1937de005e261a8858f45bfef5da7458df94c"},{"fixed":"2ec9cdf469dd32bcf33073aeb30c08e9356e0ca1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99272.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99272.json"}}],"schema_version":"1.9.2"}