{"id":"CVE-2026-89632","published":"2026-09-11T19:45:27Z","modified":"2026-10-21T12:48:04Z","title":"smb: client: fix use-before-check of ReparseDataLength in reparse_buf_ptr()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00551,"percentile":0.46986,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b70bc592afd19732e2e4563300ebe8f974280365","tags":[]},{"url":"https://git.kernel.org/stable/c/711cf71300d7992f450600df8864917d3538679f","tags":[]},{"url":"https://git.kernel.org/stable/c/05f78e6cf34ea3a285053bd5999e08e8ac298bd5","tags":[]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":9.4},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a158bb66b1373866d9fd5997565a58a573085539, < b70bc592afd19732e2e4563300ebe8f974280365",">= 67ec9949b0dfe78c99e110dd975eb7dc5645630c, < 711cf71300d7992f450600df8864917d3538679f",">= 67ec9949b0dfe78c99e110dd975eb7dc5645630c, < 05f78e6cf34ea3a285053bd5999e08e8ac298bd5",">= 6.6.32, < 6.6.160"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T19:24:44.423758Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-76544","exploited":false,"provenance":"source"}}