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-64437

published high CVSS 3.1 · 8.8

ksmbd: fix use-after-free of a deferred file_lock on SMB2_CLOSE then SMB2_CANCEL

Published
25 Jul 2026, 08:51:11 UTC
Updated
17 Aug 2026, 04:55:38 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb7063c7426ea5a4d15e01b60538718765392f49d to < a796ba4e61d5e14e07b79a359faac69f8f9b22a3 · 0da2e073f9cbf4985a0fd9acb71bc5ff599f8afd to < b8e274e69ab09222c7a552c7c0c1eef9ce627fc1 · 89ae9df09d2c1fb4a4eb495c113a7ce1dca34147 to < ddb9239828336b36d8a3ef5943fdffb2f55b6508 · 14d2eee0193ac3cd1bf3d014373449f0b8d35d6d to < 94083db751930b1540ddff2b54d4677549c57f81 · f580d27e8928828693df44ba2db0fffdbe11dfea to < 12c36c99655f325befe50c26842f7deca414c381 · f580d27e8928828693df44ba2db0fffdbe11dfea to < 10f293a07f9e10e988b0ae44e2e99c631f5a68e0 · 2b2eda2821cff1d1b5a423b6ee7d8fc6fbc8e694 · 6.1.176 to < 6.1.178 · 6.6.143 to < 6.6.145 · 6.12.94 to < 6.12.96 · 6.18.36 to < 6.18.39 · 7.0.13 to < 7.1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.96 through 6.12.* (unaffected · semver) · 6.18.39 through 6.18.* (unaffected · semver) · 7.1.4 through 7.1.* (unaffected · semver) · 7.2 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
Debian bookworm linux Advisory build 6.1.180-1 DLA-4720-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
Ubuntu jammy linux-aws-6.8 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Debian bookworm linux-6.12 Advisory build 6.12.100-1~deb12u1 DLA-4724-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye linux-6.1 Advisory build 6.1.180-1~deb11u1 DLA-4723-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
Ubuntu jammy linux-aws-6.8-cloud-tools-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-aws-6.8-headers-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-aws-6.8-tools-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-azure-6.8 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-cloud-tools-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-headers-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-tools-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-cloud-tools-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-headers-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-tools-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-cloud-tools-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-cloud-tools-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8-headers-6.8.0-1073 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8-tools-6.8.0-1073 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-headers-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-headers-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-headers-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-headers-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-ibm-6.8 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-ibm-6.8-headers-6.8.0-1069 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-ibm-6.8-tools-6.8.0-1069 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-headers-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-lib-rust-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-tools-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-modules-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-modules-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-modules-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-modules-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-extra-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-modules-extra-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-extra-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-extra-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-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 use-after-free of a deferred file_lock on SMB2_CLOSE then SMB2_CANCEL Commit f580d27e8928 ("ksmbd: fix use-after-free of a deferred file_lock on double SMB2_CANCEL") made smb2_cancel() skip a work whose state is KSMBD_WORK_CANCELLED, so its cancel_fn cannot be fired a second time. But KSMBD_WORK has three states (ACTIVE, CANCELLED, CLOSED), and the same freeing producer path is reached for CLOSED too: SMB2_CLOSE on the locking handle -> set_close_state_blocked_works() sets the deferred work's state to KSMBD_WORK_CLOSED and wakes the smb2_lock() worker. The worker takes the non-ACTIVE early-exit, locks_free_lock()s the file_lock and, because the state is not KSMBD_WORK_CANCELLED, takes the STATUS_RANGE_NOT_LOCKED branch with "goto out2" -- which, like the cancelled branch, skips release_async_work(). The work stays on conn->async_requests with a live cancel_fn = smb2_remove_blocked_lock pointing at the freed file_lock. A subsequent SMB2_CANCEL for the same AsyncId then passes the KSMBD_WORK_CANCELLED-only guard (its state is KSMBD_WORK_CLOSED), so smb2_cancel() fires cancel_fn again over the freed file_lock -- the same use-after-free fixed, via SMB2_CLOSE instead of a first SMB2_CANCEL: BUG: KASAN: slab-use-after-free in __locks_delete_block __locks_delete_block locks_delete_block ksmbd_vfs_posix_lock_unblock smb2_remove_blocked_lock smb2_cancel <- 2nd SMB2_CANCEL fires cancel_fn handle_ksmbd_work Allocated by ...: locks_alloc_lock <- smb2_lock Freed by ...: locks_free_lock <- smb2_lock (non-ACTIVE early-exit) ... cache file_lock_cache of size 192 Reproduced on mainline 7.1-rc7 (which already contains f580d27e8928) with KASAN by an authenticated SMB client; the double-SMB2_CANCEL control is silent on that kernel, so the splat is attributable to the CLOSE trigger. Only an ACTIVE deferred work may have its cancel_fn fired: both terminal states (CANCELLED and CLOSED) reach the smb2_lock() early-exit that frees the file_lock and skips release_async_work(). Guard on KSMBD_WORK_ACTIVE so any non-active work is skipped.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

11

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - ksmbd processes attacker-supplied SMB2 requests over TCP port 445, so the complete vulnerable path is remotely network-reachable. AC:L - The attacker controls the conflicting file handles, deferred LOCK, CLOSE, and CANCEL requests and can pipeline or repeat them to win the cleanup race without relying on victim-controlled conditions. PR:L - The sequence is post-authentication: LOCK and CLOSE require a valid SMB session, authorized tree connection, and usable file handle, but only ordinary share-user rights and no administrative capabilities. UI:N - No victim action is required because the authenticated SMB client can create the conflicting locks and send the complete triggering sequence. S:U - The corruption occurs within the host kernel serving SMB and does not inherently cross a separate virtualization, sandbox, or IOMMU security authority. C:H - The stale 192-byte file_lock is dereferenced through attacker-timed slab reuse, including linked-list and waitqueue pointers, making kernel-memory disclosure reasonably exploitable. I:H - Operations such as list unlinking and waitqueue handling on the reclaimed object can corrupt kernel pointers and potentially provide arbitrary writes or control-flow hijacking. A:H - The confirmed slab use-after-free can cause a kernel oops or panic, and the remote client can repeatedly trigger the sequence.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b7063c7426ea5a4d15e01b60538718765392f49d to < a796ba4e61d5e14e07b79a359faac69f8f9b22a3 (affected · git)0da2e073f9cbf4985a0fd9acb71bc5ff599f8afd to < b8e274e69ab09222c7a552c7c0c1eef9ce627fc1 (affected · git)89ae9df09d2c1fb4a4eb495c113a7ce1dca34147 to < ddb9239828336b36d8a3ef5943fdffb2f55b6508 (affected · git)14d2eee0193ac3cd1bf3d014373449f0b8d35d6d to < 94083db751930b1540ddff2b54d4677549c57f81 (affected · git)f580d27e8928828693df44ba2db0fffdbe11dfea to < 12c36c99655f325befe50c26842f7deca414c381 (affected · git)f580d27e8928828693df44ba2db0fffdbe11dfea to < 10f293a07f9e10e988b0ae44e2e99c631f5a68e0 (affected · git)2b2eda2821cff1d1b5a423b6ee7d8fc6fbc8e694 (affected · git)6.1.176 to < 6.1.178 (affected · semver)6.6.143 to < 6.6.145 (affected · semver)6.12.94 to < 6.12.96 (affected · semver)6.18.36 to < 6.18.39 (affected · semver)7.0.13 to < 7.1 (affected · semver)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.96 through 6.12.* (unaffected · semver)6.18.39 through 6.18.* (unaffected · semver)7.1.4 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

ksmbd: fix use-after-free of a deferred file_lock on SMB2_CLOSE then SMB2_CANCEL

Provenance

Schema
5.2
Searchable
yes
Content hash
24d8e94158092d52c048edc6bd21d0e2a8fd3550477faeb0d06b30368a37ff57
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