Skip to content
Heist/ feed
Critical

smb/client: fix out-of-bounds read in symlink_data()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: smb/client: fix out-of-bounds read in symlink_data() Since smb2_check_message() returns success without length validation for the symlink error response, in symlink_data() it is possible for iov->iov_len to be smaller than sizeof(struct smb2_err_rsp). If the buffer only contains the base SMB2 header (64 bytes), accessing err->ErrorContextCount (at offset 66) or err->ByteCount later in symlink_data() will cause an out-of-bounds read.

Announced Group revision 1
Original source ↗

CVE-2026-46185

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

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": "76894f3e2f71177747b8b4763fb180e800279585",
        "lessThan": "2be11faf79e49fb8250a181ff0b4d2b2f084af83",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76894f3e2f71177747b8b4763fb180e800279585",
        "lessThan": "ef6495d4df6e7af8f3de67e65150881c880f696c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76894f3e2f71177747b8b4763fb180e800279585",
        "lessThan": "15dc0a4de743a1aaa7b859b3aea79f08c695396c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76894f3e2f71177747b8b4763fb180e800279585",
        "lessThan": "b8c8a704f0bc133deb171f6aeb6f3a684203e212",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76894f3e2f71177747b8b4763fb180e800279585",
        "lessThan": "b9561402489d41149f63e001a74384863b7b30a6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "76894f3e2f71177747b8b4763fb180e800279585",
        "lessThan": "d62b8d236fab503c6fec1d3e9a38bea71feaca20",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "2d046892a493d9760c35fdaefc3017f27f91b621",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.0.16",
        "lessThan": "6.1",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "fs/smb/client/smb2misc.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.1"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.1",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.175",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.140",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.88",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.30",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/smb/client/smb2misc.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-46185

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

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