Skip to content
Heist/ feed
High

smb: client: fix missing iov bounds check in parse_posix_sids()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix missing iov bounds check in parse_posix_sids() In parse_posix_sids(), sidsbuf_end is calculated using the server-supplied out_len without being validated against the actual length of the received iov (iov_len). If a server provides an inflated out_len, sidsbuf_end will point past the end of the iov. This defeats the bounds guards in posix_info_sid_size(), allowing out-of-bounds reads into adjacent kernel memory. Fix this by rejecting responses where the calculated sidsbuf_end would exceed the received iov boundaries or cause pointer wraparound.

Announced Group revision 1
Original source ↗

CVE-2026-98405

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-98405

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": "a90f37e3d7acfd9824f162830583bbf7846fe252",
        "lessThan": "d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
        "lessThan": "b862996e5105be1293da9cdc85da77b76021c3bd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
        "lessThan": "2f8ed71aaaba3bc8b19cd9930cc62e63e142b299",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
        "lessThan": "eac6917a42899aad0617bbf04798c5dd946a1fe5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
        "lessThan": "b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.6.32",
        "lessThan": "6.6.158",
        "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.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.112",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.54",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.8",
        "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-98405

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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