CVE-2026-99748 (GCVE-0-2026-99748)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:51 – Updated: 2026-11-23 08:06
VLAI
Title
ksmbd: revert fsids on durable reconnect and replay failure
Summary
In the Linux kernel, the following vulnerability has been resolved: ksmbd: revert fsids on durable reconnect and replay failure On a durable handle reconnect or a request replay, smb2_open() switches to the SMB user's fsids before calling ksmbd_vfs_getattr(). If that call fails, the code jumps to err_out2 and skips ksmbd_revert_fsids() at err_out1. The user's credentials then stay installed on the shared ksmbd worker. Later work on that worker, including other users' requests, runs with the first user's fsuid, fsgid and supplementary groups. ksmbd_free_work_struct() also warns, because work->saved_cred is still set. Jump to err_out1 instead. No path is held at this point, so skipping the path_put() at err_out is correct.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 8df4bcdb0a4232192b2445256c39b787d58ef14d , < 9e3b6a97af5340171f51237511afbac62a932b90 (git)
Affected: c8efcc786146a951091588e5fa7e3c754850cb3c , < 559711f3182f3e17884795bf988cf7cff21e1a9a (git)
Affected: c8efcc786146a951091588e5fa7e3c754850cb3c , < fd4f7aa999077a6b0cda4834835aacffb63c634d (git)
Affected: c8efcc786146a951091588e5fa7e3c754850cb3c , < bd7142a1d60c8aeb203e007515e077bcded88769 (git)
Affected: c8efcc786146a951091588e5fa7e3c754850cb3c , < 539223f18026448f67d33d09719c355b91db7fd0 (git)
Affected: 6.6.32 , < 6.6.163 (semver)
Create a notification for this product.
Linux Linux Affected: 6.9
Unaffected: 0 , < 6.9 (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.119 , ≤ 6.12.* (semver)
Unaffected: 6.18.65 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (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"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9e3b6a97af5340171f51237511afbac62a932b90",
              "status": "affected",
              "version": "8df4bcdb0a4232192b2445256c39b787d58ef14d",
              "versionType": "git"
            },
            {
              "lessThan": "559711f3182f3e17884795bf988cf7cff21e1a9a",
              "status": "affected",
              "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
              "versionType": "git"
            },
            {
              "lessThan": "fd4f7aa999077a6b0cda4834835aacffb63c634d",
              "status": "affected",
              "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
              "versionType": "git"
            },
            {
              "lessThan": "bd7142a1d60c8aeb203e007515e077bcded88769",
              "status": "affected",
              "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
              "versionType": "git"
            },
            {
              "lessThan": "539223f18026448f67d33d09719c355b91db7fd0",
              "status": "affected",
              "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
              "versionType": "git"
            },
            {
              "lessThan": "6.6.163",
              "status": "affected",
              "version": "6.6.32",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/smb/server/smb2pdu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.119",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.6.32",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.119",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.65",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: revert fsids on durable reconnect and replay failure\n\nOn a durable handle reconnect or a request replay, smb2_open() switches\nto the SMB user\u0027s fsids before calling ksmbd_vfs_getattr(). If that call\nfails, the code jumps to err_out2 and skips ksmbd_revert_fsids() at\nerr_out1. The user\u0027s credentials then stay installed on the shared ksmbd\nworker. Later work on that worker, including other users\u0027 requests, runs\nwith the first user\u0027s fsuid, fsgid and supplementary groups.\nksmbd_free_work_struct() also warns, because work-\u003esaved_cred is still\nset.\n\nJump to err_out1 instead. No path is held at this point, so skipping the\npath_put() at err_out is correct."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:06:54.476Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9e3b6a97af5340171f51237511afbac62a932b90"
        },
        {
          "url": "https://git.kernel.org/stable/c/559711f3182f3e17884795bf988cf7cff21e1a9a"
        },
        {
          "url": "https://git.kernel.org/stable/c/fd4f7aa999077a6b0cda4834835aacffb63c634d"
        },
        {
          "url": "https://git.kernel.org/stable/c/bd7142a1d60c8aeb203e007515e077bcded88769"
        },
        {
          "url": "https://git.kernel.org/stable/c/539223f18026448f67d33d09719c355b91db7fd0"
        }
      ],
      "title": "ksmbd: revert fsids on durable reconnect and replay failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99748",
    "datePublished": "2026-11-20T05:51:19.027Z",
    "dateReserved": "2026-09-25T10:25:14.432Z",
    "dateUpdated": "2026-11-23T08:06:54.476Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99748",
      "date": "2026-11-24",
      "epss": "0.00168",
      "percentile": "0.06088"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-20T18:17:15.000Z",
      "cve": "CVE-2026-99748",
      "id": "msrc_CVE-2026-99748",
      "initial_release_date": "2026-11-20T18:17:15.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ksmbd: revert fsids on durable reconnect and replay failure",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99748.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/server/smb2pdu.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "9e3b6a97af5340171f51237511afbac62a932b90",
                    "status": "affected",
                    "version": "8df4bcdb0a4232192b2445256c39b787d58ef14d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "559711f3182f3e17884795bf988cf7cff21e1a9a",
                    "status": "affected",
                    "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fd4f7aa999077a6b0cda4834835aacffb63c634d",
                    "status": "affected",
                    "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bd7142a1d60c8aeb203e007515e077bcded88769",
                    "status": "affected",
                    "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "539223f18026448f67d33d09719c355b91db7fd0",
                    "status": "affected",
                    "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.6.163",
                    "status": "affected",
                    "version": "6.6.32",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/smb/server/smb2pdu.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.9"
                  },
                  {
                    "lessThan": "6.9",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.119",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.65",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "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: revert fsids on durable reconnect and replay failure\n\nOn a durable handle reconnect or a request replay, smb2_open() switches\nto the SMB user\u0027s fsids before calling ksmbd_vfs_getattr(). If that call\nfails, the code jumps to err_out2 and skips ksmbd_revert_fsids() at\nerr_out1. The user\u0027s credentials then stay installed on the shared ksmbd\nworker. Later work on that worker, including other users\u0027 requests, runs\nwith the first user\u0027s fsuid, fsgid and supplementary groups.\nksmbd_free_work_struct() also warns, because work-\u003esaved_cred is still\nset.\n\nJump to err_out1 instead. No path is held at this point, so skipping the\npath_put() at err_out is correct."
          }
        ],
        "id": "CVE-2026-99748",
        "lastModified": "2026-11-23T08:18:15.040",
        "metrics": {},
        "published": "2026-11-20T06:18:12.740",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/539223f18026448f67d33d09719c355b91db7fd0"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/559711f3182f3e17884795bf988cf7cff21e1a9a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9e3b6a97af5340171f51237511afbac62a932b90"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bd7142a1d60c8aeb203e007515e077bcded88769"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fd4f7aa999077a6b0cda4834835aacffb63c634d"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-11-23T15:47:47+00:00",
      "cve": "CVE-2026-99748",
      "id": "CVE-2026-99748",
      "initial_release_date": "2026-11-20T05:51:19.027000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: ksmbd: Privilege escalation via retained user credentials on reconnection failure",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99748.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-23T17:31:24Z",
      "cve": "CVE-2026-99748",
      "id": "CVE-2026-99748",
      "initial_release_date": "2026-11-23T17:31:24Z",
      "product_status:known_affected": "36",
      "product_status:known_not_affected": "315",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99748",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99748.json",
      "version": "2"
    }
  }
}



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…