GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-89634 (GCVE-0-2026-89634)

Vulnerability from cvelistv5 – Published: 2026-09-11 19:45 – Updated: 2026-09-14 12:01
VLAI
Title
smb: client: fix ALIGN() overflow in symlink_data() error context loop
Summary
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix ALIGN() overflow in symlink_data() error context loop The check added by commit 7d9a7f1f96cd ("smb/client: fix possible infinite loop and oob read in symlink_data()") compared the post-ALIGN length against the remaining buffer, but ALIGN() itself can overflow: for ErrorDataLength near UINT32_MAX (e.g. 0xFFFFFFF9), ALIGN(x, 8) wraps to 0, so the subsequent bounds check passes, and the loop advances by zero bytes leaving 'p' pointing into stale data. Fix by checking the raw ErrorDataLength against the remaining space before applying ALIGN(), then checking again after. Since raw_len is bounded by the buffer, raw_len + 7 cannot overflow, so the second check is an exact post-alignment bounds guard.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 76894f3e2f71177747b8b4763fb180e800279585 , < 2b4a25baa0b936fef6915c0459925077b324ecaf (git)
Affected: 76894f3e2f71177747b8b4763fb180e800279585 , < b89d678f9eafcf8d74885983166ba26b40a04ea0 (git)
Affected: 76894f3e2f71177747b8b4763fb180e800279585 , < 657372ba6ea50b4474d2a6a610097eae8cd1f3e9 (git)
Affected: 76894f3e2f71177747b8b4763fb180e800279585 , < 1f824f61d1df52392eaf0b74dfa5659d724fde30 (git)
Affected: 76894f3e2f71177747b8b4763fb180e800279585 , < 62a3025983c8c735a3c6fc85a59316f31b59af07 (git)
Affected: 76894f3e2f71177747b8b4763fb180e800279585 , < 62656b024efc21c3230eade1a847f25871c3d2bb (git)
Affected: 2d046892a493d9760c35fdaefc3017f27f91b621 (git)
Affected: 6.0.16 , < 6.1 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.1
Unaffected: 0 , < 6.1 (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.109 , ≤ 6.12.* (semver)
Unaffected: 6.18.50 , ≤ 6.18.* (semver)
Unaffected: 7.2.4 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2b4a25baa0b936fef6915c0459925077b324ecaf",
              "status": "affected",
              "version": "76894f3e2f71177747b8b4763fb180e800279585",
              "versionType": "git"
            },
            {
              "lessThan": "b89d678f9eafcf8d74885983166ba26b40a04ea0",
              "status": "affected",
              "version": "76894f3e2f71177747b8b4763fb180e800279585",
              "versionType": "git"
            },
            {
              "lessThan": "657372ba6ea50b4474d2a6a610097eae8cd1f3e9",
              "status": "affected",
              "version": "76894f3e2f71177747b8b4763fb180e800279585",
              "versionType": "git"
            },
            {
              "lessThan": "1f824f61d1df52392eaf0b74dfa5659d724fde30",
              "status": "affected",
              "version": "76894f3e2f71177747b8b4763fb180e800279585",
              "versionType": "git"
            },
            {
              "lessThan": "62a3025983c8c735a3c6fc85a59316f31b59af07",
              "status": "affected",
              "version": "76894f3e2f71177747b8b4763fb180e800279585",
              "versionType": "git"
            },
            {
              "lessThan": "62656b024efc21c3230eade1a847f25871c3d2bb",
              "status": "affected",
              "version": "76894f3e2f71177747b8b4763fb180e800279585",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "2d046892a493d9760c35fdaefc3017f27f91b621",
              "versionType": "git"
            },
            {
              "lessThan": "6.1",
              "status": "affected",
              "version": "6.0.16",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.1"
            },
            {
              "lessThan": "6.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.109",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.109",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "6.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.0.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix ALIGN() overflow in symlink_data() error context loop\n\nThe check added by commit 7d9a7f1f96cd (\"smb/client: fix possible\ninfinite loop and oob read in symlink_data()\") compared the post-ALIGN\nlength against the remaining buffer, but ALIGN() itself can overflow:\nfor ErrorDataLength near UINT32_MAX (e.g. 0xFFFFFFF9), ALIGN(x, 8)\nwraps to 0, so the subsequent bounds check passes, and the loop\nadvances by zero bytes leaving \u0027p\u0027 pointing into stale data.\n\nFix by checking the raw ErrorDataLength against the remaining space\nbefore applying ALIGN(), then checking again after.  Since raw_len is\nbounded by the buffer, raw_len + 7 cannot overflow, so the second check\nis an exact post-alignment bounds guard."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.1,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The flaw is in the SMB client parser of a STATUS_STOPPED_ON_SYMLINK CREATE error returned over TCP/445; a malicious, compromised, or MITM SMB server supplies the crafted ErrorDataLength in the network response.\nAC:L - The attacker fully controls ErrorContextCount, ErrorId, and ErrorDataLength in a single SMB2 error response; setting ErrorDataLength near UINT32_MAX (e.g. 0xFFFFFFF9) makes ALIGN() wrap to 0 and bypasses the bounds check with no race or attacker-uncontrolled condition.\nPR:N - The attacker is the remote SMB peer and needs no account or capability on the victim client; guest/null sessions and already-established mounts are enough for the client to parse the malformed error.\nUI:N - Persistent fstab, autofs, and systemd automounts plus reconnect-driven path walks already open/lookup files on the share, so a compromised or MITM\u0027d server can return the crafted symlink error during ordinary client activity with no extra user action.\nS:U - Impact stays in the client kernel SMB parser and its memory; this is not a VM escape, IOMMU bypass, or cross-scope sandbox escape.\nC:H - The ALIGN overflow bypasses the ErrorDataLength bounds check added to stop out-of-bounds reads in this loop (CVE-2026-52967/CVE-2026-31613); a stale overlapping context pointer can then be parsed as symlink PathBuffer data and UTF-16-decoded into a userspace target.\nI:N - The defect only mis-advances a read-side parser pointer after ALIGN() wraps to 0; it does not write out of bounds or provide a kernel memory-modification primitive.\nA:H - With the skip length wrapped to 0 the error-context loop fails to consume the declared payload and can stall or walk a stale pointer; that is the remaining hole in the 32-bit infinite-loop/OOB class in this function and can hang or oops the client kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-14T12:01:40.637Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2b4a25baa0b936fef6915c0459925077b324ecaf"
        },
        {
          "url": "https://git.kernel.org/stable/c/b89d678f9eafcf8d74885983166ba26b40a04ea0"
        },
        {
          "url": "https://git.kernel.org/stable/c/657372ba6ea50b4474d2a6a610097eae8cd1f3e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f824f61d1df52392eaf0b74dfa5659d724fde30"
        },
        {
          "url": "https://git.kernel.org/stable/c/62a3025983c8c735a3c6fc85a59316f31b59af07"
        },
        {
          "url": "https://git.kernel.org/stable/c/62656b024efc21c3230eade1a847f25871c3d2bb"
        }
      ],
      "title": "smb: client: fix ALIGN() overflow in symlink_data() error context loop",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89634",
    "datePublished": "2026-09-11T19:45:28.823Z",
    "dateReserved": "2026-09-11T19:38:34.739Z",
    "dateUpdated": "2026-09-14T12:01:40.637Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89634",
      "date": "2026-09-15",
      "epss": "0.00702",
      "percentile": "0.51363"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-89634\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-11T20:19:49.010\",\"lastModified\":\"2026-09-14T13:19:16.653\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsmb: client: fix ALIGN() overflow in symlink_data() error context loop\\n\\nThe check added by commit 7d9a7f1f96cd (\\\"smb/client: fix possible\\ninfinite loop and oob read in symlink_data()\\\") compared the post-ALIGN\\nlength against the remaining buffer, but ALIGN() itself can overflow:\\nfor ErrorDataLength near UINT32_MAX (e.g. 0xFFFFFFF9), ALIGN(x, 8)\\nwraps to 0, so the subsequent bounds check passes, and the loop\\nadvances by zero bytes leaving \u0027p\u0027 pointing into stale data.\\n\\nFix by checking the raw ErrorDataLength against the remaining space\\nbefore applying ALIGN(), then checking again after.  Since raw_len is\\nbounded by the buffer, raw_len + 7 cannot overflow, so the second check\\nis an exact post-alignment bounds guard.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/smb/client/smb2file.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"76894f3e2f71177747b8b4763fb180e800279585\",\"lessThan\":\"2b4a25baa0b936fef6915c0459925077b324ecaf\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"76894f3e2f71177747b8b4763fb180e800279585\",\"lessThan\":\"b89d678f9eafcf8d74885983166ba26b40a04ea0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"76894f3e2f71177747b8b4763fb180e800279585\",\"lessThan\":\"657372ba6ea50b4474d2a6a610097eae8cd1f3e9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"76894f3e2f71177747b8b4763fb180e800279585\",\"lessThan\":\"1f824f61d1df52392eaf0b74dfa5659d724fde30\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"76894f3e2f71177747b8b4763fb180e800279585\",\"lessThan\":\"62a3025983c8c735a3c6fc85a59316f31b59af07\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"76894f3e2f71177747b8b4763fb180e800279585\",\"lessThan\":\"62656b024efc21c3230eade1a847f25871c3d2bb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"2d046892a493d9760c35fdaefc3017f27f91b621\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6.0.16\",\"lessThan\":\"6.1\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/smb/client/smb2file.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.1\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.1\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.188\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.157\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.109\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.50\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.4\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H\",\"baseScore\":9.1,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.2}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1f824f61d1df52392eaf0b74dfa5659d724fde30\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2b4a25baa0b936fef6915c0459925077b324ecaf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/62656b024efc21c3230eade1a847f25871c3d2bb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/62a3025983c8c735a3c6fc85a59316f31b59af07\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/657372ba6ea50b4474d2a6a610097eae8cd1f3e9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b89d678f9eafcf8d74885983166ba26b40a04ea0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-14T19:27:16+00:00",
      "cve": "CVE-2026-89634",
      "id": "CVE-2026-89634",
      "initial_release_date": "2026-09-11T00:00:00+00:00",
      "product_status:known_affected": "185",
      "product_status:known_not_affected": "91",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: smb: client: fix ALIGN() overflow in symlink_data() error context loop",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89634.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…