CVE-2026-98405 (GCVE-0-2026-98405)

Vulnerability from cvelistv5 – Published: 2026-10-14 13:27 – Updated: 2026-10-24 14:08
VLAI
Title
smb: client: fix missing iov bounds check in parse_posix_sids()
Summary
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.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6649 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a90f37e3d7acfd9824f162830583bbf7846fe252 , < d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644 (git)
Affected: 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 , < b862996e5105be1293da9cdc85da77b76021c3bd (git)
Affected: 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 , < 2f8ed71aaaba3bc8b19cd9930cc62e63e142b299 (git)
Affected: 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 , < eac6917a42899aad0617bbf04798c5dd946a1fe5 (git)
Affected: 858e74876c5cbff1dfd5bace99e32fbce2abd4b5 , < b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc (git)
Affected: 6.6.32 , < 6.6.158 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 6.6.158 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.54 , ≤ 6.18.* (semver)
Unaffected: 7.2.8 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (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/smb2inode.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644",
              "status": "affected",
              "version": "a90f37e3d7acfd9824f162830583bbf7846fe252",
              "versionType": "git"
            },
            {
              "lessThan": "b862996e5105be1293da9cdc85da77b76021c3bd",
              "status": "affected",
              "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
              "versionType": "git"
            },
            {
              "lessThan": "2f8ed71aaaba3bc8b19cd9930cc62e63e142b299",
              "status": "affected",
              "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
              "versionType": "git"
            },
            {
              "lessThan": "eac6917a42899aad0617bbf04798c5dd946a1fe5",
              "status": "affected",
              "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
              "versionType": "git"
            },
            {
              "lessThan": "b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc",
              "status": "affected",
              "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.158",
              "status": "affected",
              "version": "6.6.32",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/client/smb2inode.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "6.6.32",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix missing iov bounds check in parse_posix_sids()\n\nIn parse_posix_sids(), sidsbuf_end is calculated using the server-supplied\nout_len without being validated against the actual length of the received\niov (iov_len).\n\nIf a server provides an inflated out_len, sidsbuf_end will point past the\nend of the iov. This defeats the bounds guards in posix_info_sid_size(),\nallowing out-of-bounds reads into adjacent kernel memory.\n\nFix this by rejecting responses where the calculated sidsbuf_end would\nexceed the received iov boundaries or cause pointer wraparound."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - A malicious SMB server supplies the malformed OutputBufferLength and SID payload in an SMB2 QUERY_INFO response over TCP; cifs_root_iget() or cifs_getattr() reaches smb2_query_path_info(), smb2_compound_op(), then parse_posix_sids().\nAC:L - The server can place a valid SID header at the iov boundary and set num_subauth so parse_posix_sids() copies up to 68 bytes beyond it. Once the POSIX mount exists, triggering is deterministic and requires no race or uncontrollable heap state.\nPR:N - Session setup and tree connect precede compound_send_recv(), but the attacker is the SMB server endpoint and needs no account or capability on the client to choose the QUERY_INFO response.\nUI:R - The victim must mount the attacker-controlled share with the posix option, which sets ctx-\u003elinux_ext; cifs_read_super() then calls cifs_root_iget(), which immediately issues the vulnerable POSIX metadata query.\nS:U - The out-of-bounds access occurs in the SMB client and affects the same host kernel executing parse_posix_sids(); it crosses no VM, IOMMU, or sandbox security boundary.\nC:H - An inflated end pointer defeats posix_info_sid_size() bounds checks, allowing each owner or group SID memcpy() to consume up to 68 bytes of adjacent kernel memory and pass those bytes into SID/idmap processing.\nI:N - posix_info_sid_size() caps num_subauth at 15, so each memcpy() remains within its destination struct smb_sid; the defect performs out-of-bounds reads but provides no out-of-bounds write or control-flow modification.\nA:H - By ending the received iov at a SID header while claiming a larger OutputBufferLength, the server makes posix_info_sid_size() and memcpy() access beyond the receive allocation, which can fault and oops or panic the client kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-24T14:08:44.159Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644"
        },
        {
          "url": "https://git.kernel.org/stable/c/b862996e5105be1293da9cdc85da77b76021c3bd"
        },
        {
          "url": "https://git.kernel.org/stable/c/2f8ed71aaaba3bc8b19cd9930cc62e63e142b299"
        },
        {
          "url": "https://git.kernel.org/stable/c/eac6917a42899aad0617bbf04798c5dd946a1fe5"
        },
        {
          "url": "https://git.kernel.org/stable/c/b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc"
        }
      ],
      "title": "smb: client: fix missing iov bounds check in parse_posix_sids()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98405",
    "datePublished": "2026-10-14T13:27:40.589Z",
    "dateReserved": "2026-09-25T10:25:14.347Z",
    "dateUpdated": "2026-10-24T14:08:44.159Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98405",
      "date": "2026-11-04",
      "epss": "0.00478",
      "percentile": "0.41381"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-24T14:48:41.000Z",
      "cve": "CVE-2026-98405",
      "id": "msrc_CVE-2026-98405",
      "initial_release_date": "2026-10-16T01:04:41.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "smb: client: fix missing iov bounds check in parse_posix_sids()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98405.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/client/smb2inode.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644",
                    "status": "affected",
                    "version": "a90f37e3d7acfd9824f162830583bbf7846fe252",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b862996e5105be1293da9cdc85da77b76021c3bd",
                    "status": "affected",
                    "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2f8ed71aaaba3bc8b19cd9930cc62e63e142b299",
                    "status": "affected",
                    "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "eac6917a42899aad0617bbf04798c5dd946a1fe5",
                    "status": "affected",
                    "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc",
                    "status": "affected",
                    "version": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.6.158",
                    "status": "affected",
                    "version": "6.6.32",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/client/smb2inode.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.8"
                  },
                  {
                    "lessThan": "6.8",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.158",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.54",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.8",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix missing iov bounds check in parse_posix_sids()\n\nIn parse_posix_sids(), sidsbuf_end is calculated using the server-supplied\nout_len without being validated against the actual length of the received\niov (iov_len).\n\nIf a server provides an inflated out_len, sidsbuf_end will point past the\nend of the iov. This defeats the bounds guards in posix_info_sid_size(),\nallowing out-of-bounds reads into adjacent kernel memory.\n\nFix this by rejecting responses where the calculated sidsbuf_end would\nexceed the received iov boundaries or cause pointer wraparound."
          }
        ],
        "id": "CVE-2026-98405",
        "lastModified": "2026-10-24T14:16:40.877",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 5.2,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-14T14:17:51.603",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2f8ed71aaaba3bc8b19cd9930cc62e63e142b299"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b09d092eb24ad0110f16a9b7c1ed5d2a0c1733dc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b862996e5105be1293da9cdc85da77b76021c3bd"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d91b9a3b2b38e5ac1b51e9e5b23fe53ad7b49644"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/eac6917a42899aad0617bbf04798c5dd946a1fe5"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-24T14:22:37+00:00",
      "cve": "CVE-2026-98405",
      "id": "CVE-2026-98405",
      "initial_release_date": "2026-10-14T00:00:00+00:00",
      "product_status:known_affected": "236",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: smb: client: fix missing iov bounds check in parse_posix_sids()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98405.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-11-03T17:34:37Z",
      "cve": "CVE-2026-98405",
      "id": "CVE-2026-98405",
      "initial_release_date": "2026-10-15T14:05:05Z",
      "product_status:known_not_affected": "0",
      "product_status:recommended": "4",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98405",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98405.json",
      "version": "6"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.