{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d63528eb0d43c4796c42aad56889dec12cf4e122"
            },
            {
              "fixed": "514a0b2bc949963497e66cacd433f65dc768a71d"
            },
            {
              "fixed": "215e8816b1ac25176d911abb8704390413ccee4b"
            }
          ],
          "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": "7.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90155.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: detach blocked lock requests before freeing\n\nA file_lock retained by ksmbd for byte-range lock bookkeeping can still\nbe part of the VFS blocked-request graph. In particular, the VFS can\nchain a new waiter below an already blocked request through\nflc_blocked_requests. The ksmbd_file reference count does not cover that\ngraph.\n\nBoth __ksmbd_close_fd() and the cross-request unlock path free these\nretained file_lock objects directly. If a dependent waiter is still\nattached, locks_release_private() hits\nBUG_ON(!list_empty(\u0026flc-\u003eflc_blocked_requests)). The same lifetime\nmismatch can leave a freed ksmbd_lock reachable through its request-local\nllist.\n\nDetach the file_lock from the blocked-request graph before freeing it in\nthe close, cross-request unlock, and rollback paths. locks_delete_block()\nalso wakes requests chained below the object. Remove llist when a\ncompleted lock is published so a globally visible ksmbd_lock no longer\npoints into the submitting worker's stack.",
  "id": "CVE-2026-90155",
  "modified": "2026-09-19T03:30:28.816243245Z",
  "published": "2026-09-17T16:06:47.716Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/215e8816b1ac25176d911abb8704390413ccee4b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/514a0b2bc949963497e66cacd433f65dc768a71d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90155.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90155"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ksmbd: detach blocked lock requests before freeing"
}