{
  "cveId": "CVE-2026-90162",
  "url": "https://patchblox.com/security/cve/CVE-2026-90162",
  "summary": "CVE-2026-90162 is fixed in linux on 1 platform, first by DEBIAN-CVE-2026-90162, released September 23, 2026. It is not reported as exploited. Patch Radar priority: High.",
  "title": "ksmbd: defer publishing granted locks to prevent UAF/double-free race",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  ksmbd: defer publishing granted locks to prevent UAF/double-free race  In smb2_lock(), mid-batch granted locks are published to connection-wide (conn-\u003Elock_list) and file-wide (fp-\u003Elock_list) lists immediately upon vfs_lock_file() success, while also remaining tracked on the stack-local rollback_list.  If a subsequent element in the same SMB2_LOCK request array fails validation or execution, the thread jumps to out: and walks rollback_list to undo previously granted locks. However, because the granted lock was already published to conn-\u003Elock_list, a concurrent UNLOCK request on the same connection can find the lock object and kfree() it before the rollback loop executes.  When the granting thread subsequently walks rollback_list, it dereferences and frees the already-freed ksmbd_lock structure, resulting in a Use-After-Free and Double-Free (on both ksmbd_lock and struct file_lock).  Fix this by deferring the publication of granted locks to conn-\u003Elock_list and fp-\u003Elock_list until after the entire array of lock elements has been processed without error. Mid-batch grants remain tracked exclusively on the request-local rollback_list until the whole batch succeeds, eliminating the race window.",
  "published": "2026-09-17T17:17:09Z",
  "severity": "Moderate",
  "cvss": 8.8,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00702,
  "epssPercentile": 0.5349,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-90162",
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.115-2",
      "fix": "DEBIAN-CVE-2026-90162",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-90162",
      "released": "2026-09-23T19:19:02Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "7.2.6-1",
      "fix": "DEBIAN-CVE-2026-90162",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-90162",
      "released": "2026-09-23T19:19:02Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}