CVE-2026-89632

Source
https://cve.org/CVERecord?id=CVE-2026-89632
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89632.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-89632
Downstream
Published
2026-09-11T19:45:27Z
Modified
2026-09-13T03:47:20Z
Summary
smb: client: fix use-before-check of ReparseDataLength in reparse_buf_ptr()
Details

In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix use-before-check of ReparseDataLength in reparse_buf_ptr()

reparse_buf_ptr() reads buf->ReparseDataLength before checking that count covers the full fixed header:

buf = (struct reparse_data_buffer *)((u8 *)io + off);
len = sizeof(*buf);                          /* 8 bytes */
rdlen = le16_to_cpu(buf->ReparseDataLength); /* offset 4, 2 bytes */

if (count < len || count < rdlen + len)      /* check comes after */

struct reparse_data_buffer has ReparseDataLength at offset 4. If a server returns OutputCount < 6, the read at offset 4-5 reaches past the end of the received data. The off+count bounds against iov_len were already validated, but that does not protect against count being smaller than sizeof(*buf).

Split the check: verify count >= sizeof(*buf) before reading ReparseDataLength, then verify count covers the data region.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89632.json"
}
References

Affected packages

Git / 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
a158bb66b1373866d9fd5997565a58a573085539
Fixed
711cf71300d7992f450600df8864917d3538679f
Fixed
05f78e6cf34ea3a285053bd5999e08e8ac298bd5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89632.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.32
Fixed
7.2.4
Fixed
7.3-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89632.json"