{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9"
            },
            {
              "fixed": "aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0"
            },
            {
              "fixed": "09634cd055d9bd8dd167995ea52bcd8028dd5dac"
            },
            {
              "fixed": "7c3264d273d524aa6adcce23c01087271f13586f"
            },
            {
              "fixed": "79c7c59bb519db6f5a2a151965e825ec725614cc"
            },
            {
              "fixed": "35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d"
            },
            {
              "fixed": "0ff82a9cf9312678d8bc4edeef0b6e82659ac12a"
            },
            {
              "fixed": "65b655f65c3ca1ab5d598d3832bb0ff531725858"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.15.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.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.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72492.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free in same_client_has_lease()\n\nsame_client_has_lease() returns an opinfo pointer from ci-\u003em_op_list\nafter dropping ci-\u003em_lock without taking a reference.\n\nsmb_grant_oplock() then dereferences that pointer in copy_lease() and\nwhen checking breaking_cnt. A concurrent close can remove the old lease\nfrom ci-\u003em_op_list and drop the last reference before the caller uses\nthe returned pointer, leading to a use-after-free.\n\nTake a reference when same_client_has_lease() selects an existing lease,\ndrop any previous match while scanning, and release the returned\nreference in smb_grant_oplock() after copying the lease state.",
  "id": "CVE-2026-72492",
  "modified": "2026-08-18T03:31:10.341107132Z",
  "published": "2026-08-15T05:57:26.967Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/09634cd055d9bd8dd167995ea52bcd8028dd5dac"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0ff82a9cf9312678d8bc4edeef0b6e82659ac12a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65b655f65c3ca1ab5d598d3832bb0ff531725858"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/79c7c59bb519db6f5a2a151965e825ec725614cc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7c3264d273d524aa6adcce23c01087271f13586f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72492.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72492"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ksmbd: fix use-after-free in same_client_has_lease()"
}