CVE-2026-53010 (GCVE-0-2026-53010)
Vulnerability from cvelistv5
Published
2026-06-24 16:29
Modified
2026-08-05 12:32
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_open during durable reconnect In smb2_open, the call to ksmbd_put_durable_fd(fp) drops the reference to the durable file descriptor early during the durable reconnect process. If an error occurs subsequently (eg, ksmbd_iov_pin_rsp fails) or a scavenger accesses the file, it leads to a use-after-free when accessing fp properties (eg fp->create_time). Move the single put to the end of the function below err_out2 so fp stays valid until smb2_open returns.
Impacted products
Vendor Product Version
Linux Linux Version: c8efcc786146a951091588e5fa7e3c754850cb3c
Version: c8efcc786146a951091588e5fa7e3c754850cb3c
Version: c8efcc786146a951091588e5fa7e3c754850cb3c
Version: 8df4bcdb0a4232192b2445256c39b787d58ef14d
Version: 6.6.32   
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": "ce2e164c1c51c3f7813b80f8c926836e896bcbb3",
              "status": "affected",
              "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
              "versionType": "git"
            },
            {
              "lessThan": "97a0cd55283b4e63fd92804da91c8d9896adcad9",
              "status": "affected",
              "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
              "versionType": "git"
            },
            {
              "lessThan": "1baff47b81f94f9231c91236aa511420d0e266b9",
              "status": "affected",
              "version": "c8efcc786146a951091588e5fa7e3c754850cb3c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "8df4bcdb0a4232192b2445256c39b787d58ef14d",
              "versionType": "git"
            },
            {
              "lessThan": "6.7",
              "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.18.*",
              "status": "unaffected",
              "version": "6.18.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.33",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.10",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.6.32",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free in smb2_open during durable reconnect\n\nIn smb2_open, the call to ksmbd_put_durable_fd(fp) drops the reference\nto the durable file descriptor early during the durable reconnect\nprocess. If an error occurs subsequently (eg, ksmbd_iov_pin_rsp fails)\nor a scavenger accesses the file, it leads to a use-after-free when\naccessing fp properties (eg fp-\u003ecreate_time).\n\nMove the single put to the end of the function below err_out2 so fp\nstays valid until smb2_open returns."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - ksmbd is an in-kernel SMB server reachable over TCP, and SMB2_CREATE requests are dispatched from network-received SMB packets to smb2_open. The durable reconnect path is therefore remotely reachable over the network.\nAC:L - An attacker can drive the required SMB sequence by creating a durable handle, disconnecting, and sending a durable reconnect request with controlled create contexts. The bug is a use-after-free/lifetime error in the request path, not a race depending on conditions outside the attacker\u0027s control.\nPR:N - Although SMB2_CREATE requires a valid session and tree connect, ksmbd supports guest/anonymous users and guest shares, so a reasonable guest-enabled deployment lets an unauthenticated network client satisfy those gates. Scoring uses that highest reasonable exposure.\nUI:N - No victim user action is required once ksmbd is listening and the share is available. The attacker sends SMB protocol messages directly.\nS:U - The vulnerability is in the kernel SMB server and impacts the same kernel/server security authority. It does not cross a VM, IOMMU, or other separate security scope boundary.\nC:H - The bug is a use-after-free of struct ksmbd_file, which contains kernel pointers, file state, IDs, GUIDs, and list links. Kernel UAF memory corruption can be leveraged for information disclosure, so confidentiality impact is high.\nI:H - Use-after-free in kernel heap objects can be exploited through heap shaping and stale pointer reuse to corrupt kernel state or hijack control flow. Integrity impact is therefore high.\nA:H - The stale ksmbd_file can be dereferenced or closed after free on reconnect/error/scavenger paths, which can crash or destabilize the kernel. Availability impact is high."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:32:37.574Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ce2e164c1c51c3f7813b80f8c926836e896bcbb3"
        },
        {
          "url": "https://git.kernel.org/stable/c/97a0cd55283b4e63fd92804da91c8d9896adcad9"
        },
        {
          "url": "https://git.kernel.org/stable/c/1baff47b81f94f9231c91236aa511420d0e266b9"
        }
      ],
      "title": "ksmbd: fix use-after-free in smb2_open during durable reconnect",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53010",
    "datePublished": "2026-06-24T16:29:21.211Z",
    "dateReserved": "2026-06-09T07:44:35.378Z",
    "dateUpdated": "2026-08-05T12:32:37.574Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…