{"id":"CVE-2026-89632","aliases":["CVE-2026-89632"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: fix use-before-check of ReparseDataLength in reparse_buf_ptr()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix use-before-check of ReparseDataLength in reparse_buf_ptr()\n\nreparse_buf_ptr() reads buf->ReparseDataLength before checking that\ncount covers the full fixed header:\n\n    buf = (struct reparse_data_buffer *)((u8 *)io + off);\n    len = sizeof(*buf);                          /* 8 bytes */\n    rdlen = le16_to_cpu(buf->ReparseDataLength); /* offset 4, 2 bytes */\n\n    if (count < len || count < rdlen + len)      /* check comes after */\n\nstruct reparse_data_buffer has ReparseDataLength at offset 4.  If a\nserver returns OutputCount < 6, the read at offset 4-5 reaches past\nthe end of the received data.  The off+count bounds against iov_len\nwere already validated, but that does not protect against count being\nsmaller than sizeof(*buf).\n\nSplit the check: verify count >= sizeof(*buf) before reading\nReparseDataLength, then verify count covers the data region.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix use-before-check of ReparseDataLength in reparse_buf_ptr()\n\nreparse_buf_ptr() reads buf->ReparseDataLength before checking that\ncount covers the full fixed header:\n\n    buf = (struct reparse_data_buffer *)((u8 *)io + off);\n    len = sizeof(*buf);                          /* 8 bytes */\n    rdlen = le16_to_cpu(buf->ReparseDataLength); /* offset 4, 2 bytes */\n\n    if (count < len || count < rdlen + len)      /* check comes after */\n\nstruct reparse_data_buffer has ReparseDataLength at offset 4.  If a\nserver returns OutputCount < 6, the read at offset 4-5 reaches past\nthe end of the received data.  The off+count bounds against iov_len\nwere already validated, but that does not protect against count being\nsmaller than sizeof(*buf).\n\nSplit the check: verify count >= sizeof(*buf) before reading\nReparseDataLength, then verify count covers the data region.","source":"cvelist"}],"published":"2026-09-11T19:45:27.325Z","modified":"2026-10-21T13:20:10.423Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a158bb66b1373866d9fd5997565a58a573085539","fixed":"b70bc592afd19732e2e4563300ebe8f974280365","status":"affected"},{"type":"git","introduced":"67ec9949b0dfe78c99e110dd975eb7dc5645630c","fixed":"711cf71300d7992f450600df8864917d3538679f","status":"affected"},{"type":"git","introduced":"67ec9949b0dfe78c99e110dd975eb7dc5645630c","fixed":"05f78e6cf34ea3a285053bd5999e08e8ac298bd5","status":"affected"},{"type":"semver","introduced":"6.6.32","fixed":"6.6.160","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/b70bc592afd19732e2e4563300ebe8f974280365","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/711cf71300d7992f450600df8864917d3538679f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/05f78e6cf34ea3a285053bd5999e08e8ac298bd5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T19:24:44.423Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89632","url":"https://www.cve.org/CVERecord?id=CVE-2026-89632","licence":"CVE Terms of Use","modified":"2026-10-21T12:48:04.460Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89632","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89632","licence":"Public domain","modified":"2026-10-21T13:20:10.423Z"}],"updatedAt":"2026-11-25T22:59:38.090Z","epss":{"score":0.00385,"percentile":0.34756,"date":"2026-12-01T12:00:22.000Z"}}