Skip to content
Heist/ feed
Back to feed
CriticalFix available

ksmbd: run set info with opener credentials

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ksmbd: run set info with opener credentials SMB2 SET_INFO handlers call path-based VFS helpers after checking the access mask granted to the SMB handle. Those helpers perform their owner, inode permission and LSM checks using the current ksmbd worker credentials. Run the complete SET_INFO dispatch with the credentials captured when the handle was opened. This also removes the separate security information credential setup and keeps all SET_INFO classes under one credential scope. Direct override_creds() is used because it can nest with the request credential overrides already used by rename and link helpers.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.178, 6.12.96, 6.18.39, 6.6.145, 7.1.4
CVEs
CVE-2026-64393
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:53 UTC · Revision 1

Source evidence

ksmbd: run set info with opener credentials

core-osv · Original source

Published 25 Jul 2026, 08:50 UTC

In the Linux kernel, the following vulnerability has been resolved: ksmbd: run set info with opener credentials SMB2 SET_INFO handlers call path-based VFS helpers after checking the access mask granted to the SMB handle. Those helpers perform their owner, inode permission and LSM checks using the current ksmbd worker credentials. Run the complete SET_INFO dispatch with the credentials captured when the handle was opened. This also removes the separate security information credential setup and keeps all SET_INFO classes under one credential scope. Direct override_creds() is used because it can nest with the request credential overrides already used by rename and link helpers.

osv:CVE-2026-64393

Kernel

Fixed versions: 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4

Complete source record
{
  "id": "7911609b0a756d29fd97ab74e2f0166d49df79422af22acb0a95ae66674a45ca",
  "url": "https://osv.dev/vulnerability/CVE-2026-64393",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ksmbd: run set info with opener credentials",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ksmbd: run set info with opener credentials SMB2 SET_INFO handlers call path-based VFS helpers after checking the access mask granted to the SMB handle. Those helpers perform their owner, inode permission and LSM checks using the current ksmbd worker credentials. Run the complete SET_INFO dispatch with the credentials captured when the handle was opened. This also removes the separate security information credential setup and keeps all SET_INFO classes under one credential scope. Direct override_creds() is used because it can nest with the request credential overrides already used by rename and link helpers.",
    "evidence": "osv:CVE-2026-64393",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.178",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.145",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.96",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.39",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-64393",
      "aliases": [
        "CVE-2026-64393"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"
                },
                {
                  "fixed": "5cbabf3a71575cd31bc7785d92d4ab42338a654b"
                },
                {
                  "fixed": "b35afd5cf8fab236ef21117e42ee45691d4ffa7b"
                },
                {
                  "fixed": "0ce682867fd506f61f40c76bde7e4205bde34e87"
                },
                {
                  "fixed": "20ee516a62989a8d505ee432f9e59525ea23984e"
                },
                {
                  "fixed": "8cc9ec711f5255167247a9ab6a7179b787426ed7"
                },
                {
                  "fixed": "b383bcad3d2fe634b26efbce53e22bbb5753a520"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64393.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.15.0"
                },
                {
                  "fixed": "6.1.178"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.145"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.96"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.39"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64393.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.115225049Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0ce682867fd506f61f40c76bde7e4205bde34e87",
        "https://git.kernel.org/stable/c/20ee516a62989a8d505ee432f9e59525ea23984e",
        "https://git.kernel.org/stable/c/5cbabf3a71575cd31bc7785d92d4ab42338a654b",
        "https://git.kernel.org/stable/c/8cc9ec711f5255167247a9ab6a7179b787426ed7",
        "https://git.kernel.org/stable/c/b35afd5cf8fab236ef21117e42ee45691d4ffa7b",
        "https://git.kernel.org/stable/c/b383bcad3d2fe634b26efbce53e22bbb5753a520",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64393.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-64393",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64393.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-64393",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502195,
  "published_at": "2026-07-25T08:50:39.239+00:00"
}