Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-89632

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89632

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "a158bb66b1373866d9fd5997565a58a573085539",
        "lessThan": "b70bc592afd19732e2e4563300ebe8f974280365",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "67ec9949b0dfe78c99e110dd975eb7dc5645630c",
        "lessThan": "711cf71300d7992f450600df8864917d3538679f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "67ec9949b0dfe78c99e110dd975eb7dc5645630c",
        "lessThan": "05f78e6cf34ea3a285053bd5999e08e8ac298bd5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.6.32",
        "lessThan": "6.6.160",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "fs/smb/client/smb2inode.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.8"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.8",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/smb/client/smb2inode.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89632

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#46693 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement