CVE-2026-99533 (GCVE-0-2026-99533)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:44 – Updated: 2026-11-19 14:44
VLAI
Title
ksmbd: validate AppInstanceId takeover target
Summary
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate AppInstanceId takeover target AppInstanceId lookup currently selects the first open with the matching identifier. CREATE for an unrelated share or path can therefore force-close another session's open before authorization of the new target. Matching only the base path also conflates alternate data streams with the unnamed stream. MS-SMB2 requires the old open to match the share and path, belong to a different ClientGuid, and be closed only when the requester has GENERIC_READ access. Search all opens with the ID and match share, resolved path, stream, and the current connection's client GUID. Retain a share configuration reference in ksmbd_file and reuse its name instead of allocating a name for every open. This keeps matching safe during tree connection teardown and preserves name-based matching across configuration updates. Refresh the share reference on durable reconnect and restore the old reference if reopening fails. Serialize connection and share comparisons with durable disconnect/reconnect, and recheck the target before closing it. Keep the original ClientGuid for durable replay and lease checks. Check AppInstanceVersion before querying access, even when GENERIC_READ is absent, and before disconnected delete-on-close cleanup. Rejected CREATE must leave other durable opens untouched. Calculate maximal access on the matched open's referenced path so a rename cannot substitute another file's authorization. Require read access with the effective VFS credentials as well as the NT DACL before takeover. Access denial only skips takeover and leaves CREATE to its normal access checks. Restore filesystem credentials before returning a takeover error. Handle takeover before checking FILE_CREATE collisions, and re-resolve the path after closing the old open. This lets delete-on-close remove the old file before a new one is created. Include SYNCHRONIZE in the baseline maximal-access mask so read-only files report GENERIC_READ correctly.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 16c30649709d949b439273e61769028b1e706327 , < 896ecf714703f6801af43b6d3db4b824d8a12286 (git)
Affected: 16c30649709d949b439273e61769028b1e706327 , < e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1 (git)
Create a notification for this product.
Linux Linux Affected: 7.2
Unaffected: 0 , < 7.2 (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/server/smb2pdu.c",
            "fs/smb/server/vfs.c",
            "fs/smb/server/vfs_cache.c",
            "fs/smb/server/vfs_cache.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "896ecf714703f6801af43b6d3db4b824d8a12286",
              "status": "affected",
              "version": "16c30649709d949b439273e61769028b1e706327",
              "versionType": "git"
            },
            {
              "lessThan": "e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1",
              "status": "affected",
              "version": "16c30649709d949b439273e61769028b1e706327",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/server/smb2pdu.c",
            "fs/smb/server/vfs.c",
            "fs/smb/server/vfs_cache.c",
            "fs/smb/server/vfs_cache.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.2"
            },
            {
              "lessThan": "7.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "7.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "7.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate AppInstanceId takeover target\n\nAppInstanceId lookup currently selects the first open with the matching\nidentifier. CREATE for an unrelated share or path can therefore\nforce-close another session\u0027s open before authorization of the new\ntarget. Matching only the base path also conflates alternate data streams\nwith the unnamed stream.\n\nMS-SMB2 requires the old open to match the share and path, belong to a\ndifferent ClientGuid, and be closed only when the requester has\nGENERIC_READ access. Search all opens with the ID and match share,\nresolved path, stream, and the current connection\u0027s client GUID. Retain a\nshare configuration reference in ksmbd_file and reuse its name instead of\nallocating a name for every open. This keeps matching safe during tree\nconnection teardown and preserves name-based matching across configuration\nupdates.\n\nRefresh the share reference on durable reconnect and restore the old\nreference if reopening fails. Serialize connection and share comparisons\nwith durable disconnect/reconnect, and recheck the target before closing\nit. Keep the original ClientGuid for durable replay and lease checks.\n\nCheck AppInstanceVersion before querying access, even when GENERIC_READ\nis absent, and before disconnected delete-on-close cleanup. Rejected\nCREATE must leave other durable opens untouched. Calculate maximal access\non the matched open\u0027s referenced path so a rename cannot substitute another\nfile\u0027s authorization. Require read access with the effective VFS\ncredentials as well as the NT DACL before takeover. Access denial only\nskips takeover and leaves CREATE to its normal access checks. Restore\nfilesystem credentials before returning a takeover error.\n\nHandle takeover before checking FILE_CREATE collisions, and re-resolve\nthe path after closing the old open. This lets delete-on-close remove the\nold file before a new one is created. Include SYNCHRONIZE in the baseline\nmaximal-access mask so read-only files report GENERIC_READ correctly."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T14:44:45.808Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/896ecf714703f6801af43b6d3db4b824d8a12286"
        },
        {
          "url": "https://git.kernel.org/stable/c/e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1"
        }
      ],
      "title": "ksmbd: validate AppInstanceId takeover target",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99533",
    "datePublished": "2026-11-19T14:44:45.808Z",
    "dateReserved": "2026-09-25T10:25:14.420Z",
    "dateUpdated": "2026-11-19T14:44:45.808Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99533",
      "date": "2026-11-22",
      "epss": "0.00156",
      "percentile": "0.04722"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/server/smb2pdu.c",
                  "fs/smb/server/vfs.c",
                  "fs/smb/server/vfs_cache.c",
                  "fs/smb/server/vfs_cache.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "896ecf714703f6801af43b6d3db4b824d8a12286",
                    "status": "affected",
                    "version": "16c30649709d949b439273e61769028b1e706327",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1",
                    "status": "affected",
                    "version": "16c30649709d949b439273e61769028b1e706327",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/server/smb2pdu.c",
                  "fs/smb/server/vfs.c",
                  "fs/smb/server/vfs_cache.c",
                  "fs/smb/server/vfs_cache.h"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.2"
                  },
                  {
                    "lessThan": "7.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "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\nksmbd: validate AppInstanceId takeover target\n\nAppInstanceId lookup currently selects the first open with the matching\nidentifier. CREATE for an unrelated share or path can therefore\nforce-close another session\u0027s open before authorization of the new\ntarget. Matching only the base path also conflates alternate data streams\nwith the unnamed stream.\n\nMS-SMB2 requires the old open to match the share and path, belong to a\ndifferent ClientGuid, and be closed only when the requester has\nGENERIC_READ access. Search all opens with the ID and match share,\nresolved path, stream, and the current connection\u0027s client GUID. Retain a\nshare configuration reference in ksmbd_file and reuse its name instead of\nallocating a name for every open. This keeps matching safe during tree\nconnection teardown and preserves name-based matching across configuration\nupdates.\n\nRefresh the share reference on durable reconnect and restore the old\nreference if reopening fails. Serialize connection and share comparisons\nwith durable disconnect/reconnect, and recheck the target before closing\nit. Keep the original ClientGuid for durable replay and lease checks.\n\nCheck AppInstanceVersion before querying access, even when GENERIC_READ\nis absent, and before disconnected delete-on-close cleanup. Rejected\nCREATE must leave other durable opens untouched. Calculate maximal access\non the matched open\u0027s referenced path so a rename cannot substitute another\nfile\u0027s authorization. Require read access with the effective VFS\ncredentials as well as the NT DACL before takeover. Access denial only\nskips takeover and leaves CREATE to its normal access checks. Restore\nfilesystem credentials before returning a takeover error.\n\nHandle takeover before checking FILE_CREATE collisions, and re-resolve\nthe path after closing the old open. This lets delete-on-close remove the\nold file before a new one is created. Include SYNCHRONIZE in the baseline\nmaximal-access mask so read-only files report GENERIC_READ correctly."
          }
        ],
        "id": "CVE-2026-99533",
        "lastModified": "2026-11-19T15:18:09.183",
        "metrics": {},
        "published": "2026-11-19T15:18:09.183",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/896ecf714703f6801af43b6d3db4b824d8a12286"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e0386cd6498b9c63f8c6d10b3e08670b92c0f3f1"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T21:53:57+00:00",
      "cve": "CVE-2026-99533",
      "id": "CVE-2026-99533",
      "initial_release_date": "2026-11-19T14:44:45.808000+00:00",
      "product_status:known_not_affected": "204",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: ksmbd: Denial of service via improper AppInstanceId takeover validation",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99533.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…

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.


Loading…