Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-64141

published high CVSS 3.1 · 7.5

ksmbd: fix null pointer dereference in compare_guid_key()

Published
19 Jul 2026, 15:40:33 UTC
Updated
05 Aug 2026, 12:39:41 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8df4bcdb0a4232192b2445256c39b787d58ef14d to < e43cb36d4d7827710cfcd48e95e29a507f0d87be · c8efcc786146a951091588e5fa7e3c754850cb3c to < 0836081b394ca074d1b910f2b990ff7b4b4404c7 · c8efcc786146a951091588e5fa7e3c754850cb3c to < cd5c1b75d2f454f625d7dc55bd3ae21d0855f6ad · c8efcc786146a951091588e5fa7e3c754850cb3c to < af86896ca3239e25a6bd7d352213371265073d38 · c8efcc786146a951091588e5fa7e3c754850cb3c to < 4b83cbc4c15f09b000cc06f033f64b0824b6dc87 · 6.6.32 to < 6.6.142 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.6.142 through 6.6.* (unaffected · semver) · 6.12.92 through 6.12.* (unaffected · semver) · 6.18.34 through 6.18.* (unaffected · semver) · 7.0.11 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu noble linux-azure-7.0 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-cloud-tools-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-headers-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-tools-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-buildinfo-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-buildinfo-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-buildinfo-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-buildinfo-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-buildinfo-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-buildinfo-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-buildinfo-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-cloud-tools-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-gcp-7.0 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-gcp-7.0-headers-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-gcp-7.0-tools-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-headers-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-headers-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-headers-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-headers-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-image-unsigned-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-image-unsigned-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-image-unsigned-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-modules-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-modules-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-modules-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-modules-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-modules-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-nvidia-7.0 Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-nvidia-7.0-headers-7.0.0-1016 Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-nvidia-7.0-tools-7.0.0-1016 Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-oracle-7.0 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-oracle-7.0-headers-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-oracle-7.0-tools-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-tools-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-tools-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-tools-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu noble linux-tools-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16~24.04.1 USN-8663-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-aws-headers-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-aws-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-cloud-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-headers-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-fde-tools-7.0.0-1009 Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-azure-headers-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-azure-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1008-oracle Advisory build 7.0.0-1008.8 USN-8593-1
Ubuntu resolute linux-buildinfo-7.0.0-1008-oracle-64k Advisory build 7.0.0-1008.8 USN-8593-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-aws Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-aws-64k Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-buildinfo-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-buildinfo-7.0.0-1010-ibm Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-buildinfo-7.0.0-1015-raspi Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-buildinfo-7.0.0-1015-raspi-realtime Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-buildinfo-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16 USN-8663-1
Ubuntu resolute linux-buildinfo-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16 USN-8663-1
Ubuntu resolute linux-buildinfo-7.0.0-2016-nvidia-bos Advisory build 7.0.0-2016.16 USN-8664-1
Ubuntu resolute linux-buildinfo-7.0.0-2016-nvidia-bos-64k Advisory build 7.0.0-2016.16 USN-8664-1
Ubuntu resolute linux-cloud-tools-7.0.0-1009-aws Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-cloud-tools-7.0.0-1009-aws-64k Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-cloud-tools-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-cloud-tools-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1008-oracle Advisory build 7.0.0-1008.8 USN-8593-1
Ubuntu resolute linux-headers-7.0.0-1008-oracle-64k Advisory build 7.0.0-1008.8 USN-8593-1
Ubuntu resolute linux-headers-7.0.0-1009-aws Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-headers-7.0.0-1009-aws-64k Advisory build 7.0.0-1009.9 USN-8618-1
Ubuntu resolute linux-headers-7.0.0-1009-azure-fde Advisory build 7.0.0-1009.9 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1010-azure Advisory build 7.0.0-1010.10 USN-8603-1
Ubuntu resolute linux-headers-7.0.0-1010-ibm Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-headers-7.0.0-1015-raspi Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-headers-7.0.0-1015-raspi-realtime Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-headers-7.0.0-1016-nvidia Advisory build 7.0.0-1016.16 USN-8663-1
Ubuntu resolute linux-headers-7.0.0-1016-nvidia-64k Advisory build 7.0.0-1016.16 USN-8663-1
Ubuntu resolute linux-headers-7.0.0-2016-nvidia-bos Advisory build 7.0.0-2016.16 USN-8664-1
Ubuntu resolute linux-headers-7.0.0-2016-nvidia-bos-64k Advisory build 7.0.0-2016.16 USN-8664-1
Ubuntu resolute linux-ibm Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-ibm-headers-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-ibm-tools-7.0.0-1010 Advisory build 7.0.0-1010.10 USN-8593-1
Ubuntu resolute linux-image-7.0.0-1015-raspi Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-image-7.0.0-1015-raspi-realtime Advisory build 7.0.0-1015.15 USN-8618-1
Ubuntu resolute linux-image-unsigned-7.0.0-1008-oracle Advisory build 7.0.0-1008.8 USN-8593-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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->conn = 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->lease_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->lease_list, reaches the stale opinfo, and calls compare_guid_key(), which unconditionally dereferences opinfo->conn->ClientGUID. 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->conn was NULL. Read opinfo->conn 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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

9

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - ksmbd is an in-kernel SMB server on TCP/445; the crash is triggered by remote SMB2 packets processed in `handle_ksmbd_work()` without local access. AC:L - The attacker fully controls the deterministic sequence (durable CREATE with lease, SESSION_LOGOFF, SESSION_SETUP on the same TCP connection, CREATE with lease on another file); no race or timing dependency beyond attacker-driven requests. PR:N - Exploitation requires only network reachability to ksmbd and completion of SMB2 SESSION_SETUP (including guest/anonymous where permitted); no prior Linux OS privileges or capabilities are needed on the host. UI:N - No victim user action is required beyond the attacker sending crafted SMB2 protocol messages to the server. S:U - Impact is a kernel oops/panic within the ksmbd server context; it does not cross a security boundary such as guest-to-host escape or sandbox breakout. C:N - The fault is a NULL pointer dereference in `bcmp()` at offset 0x348 into `struct ksmbd_conn`; the invalid read faults before any data is returned to the attacker. I:N - There is no memory corruption or write primitive—only a read through a NULL `opinfo->conn` pointer that immediately triggers a kernel fault. A:H - A remotely triggerable NULL dereference in kernel workqueue context causes a general protection fault/kernel oops, enabling repeatable denial of service against the host.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8df4bcdb0a4232192b2445256c39b787d58ef14d to < e43cb36d4d7827710cfcd48e95e29a507f0d87be (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < 0836081b394ca074d1b910f2b990ff7b4b4404c7 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < cd5c1b75d2f454f625d7dc55bd3ae21d0855f6ad (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < af86896ca3239e25a6bd7d352213371265073d38 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < 4b83cbc4c15f09b000cc06f033f64b0824b6dc87 (affected · git)6.6.32 to < 6.6.142 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.9 (affected)0 to < 6.9 (unaffected · semver)6.6.142 through 6.6.* (unaffected · semver)6.12.92 through 6.12.* (unaffected · semver)6.18.34 through 6.18.* (unaffected · semver)7.0.11 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

ksmbd: fix null pointer dereference in compare_guid_key()

Provenance

Schema
5.2
Searchable
yes
Content hash
2c2606da3c95029959c11007cee4d39689c98d53f86ea3b94240714819b6686c
Ingested
23 Sep 2026, 09:25:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected