{
  "affected": [
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:13",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.12.94-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      },
      "package": {
        "ecosystem": "Debian:14",
        "name": "linux"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.0.12-1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "details": "In the Linux kernel, the following vulnerability has been resolved:  ksmbd: fix null pointer dereference in compare_guid_key()  session_fd_check() walks the per-inode m_op_list during durable-handle session teardown and sets op-\u003econn = NULL for every opinfo whose conn matched the closing session's connection. The matching opinfo, however, stays linked in its per-ClientGuid lease_table_list entry's lb-\u003elease_list because destroy_lease_table() only runs on full TCP-connection teardown, not on SESSION_LOGOFF.  If the same TCP connection then negotiates a fresh session with the same ClientGuid (ClientGuid is bound to NEGOTIATE, not the session, and is unchanged across LOGOFF + SETUP) and issues a SMB2 CREATE with a lease context on a different inode, find_same_lease_key() walks lb-\u003elease_list, reaches the stale opinfo, and calls compare_guid_key(), which unconditionally dereferences opinfo-\u003econn-\u003eClientGUID. The conn pointer is NULL and the kernel panics.  Reproducer requires only a successful SMB2 SESSION_SETUP and a share configured with 'durable handles = yes'. KASAN report on mainline 70390501d194:    general protection fault, probably for non-canonical address   0xdffffc0000000069: 0000 [#1] SMP KASAN PTI   KASAN: null-ptr-deref in range [0x0000000000000348-0x000000000000034f]   Workqueue: ksmbd-io handle_ksmbd_work   RIP: 0010:bcmp+0x5b/0x230   Call Trace:    compare_guid_key+0x4b/0xd0    find_same_lease_key+0x324/0x690    smb2_open+0x6aea/0x8e60    handle_ksmbd_work+0x796/0xee0    ...  Faulting address 0x348 is the offset of ClientGUID within struct ksmbd_conn, confirming opinfo-\u003econn was NULL.  Read opinfo-\u003econn once and bail out if it has been cleared by a concurrent session_fd_check(). A half-detached opinfo cannot be the owner of an active lease, so returning 0 is the correct match result.",
  "id": "DEBIAN-CVE-2026-64141",
  "modified": "2026-08-19T12:47:51.032484228Z",
  "published": "2026-07-19T16:17:55.983Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-64141"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "upstream": [
    "CVE-2026-64141"
  ]
}