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

published high CVSS 3.1 · 8.8

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

Published
25 Jun 2026, 08:39:07 UTC
Updated
15 Oct 2026, 01:22:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < b7063c7426ea5a4d15e01b60538718765392f49d · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 0da2e073f9cbf4985a0fd9acb71bc5ff599f8afd · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 89ae9df09d2c1fb4a4eb495c113a7ce1dca34147 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 14d2eee0193ac3cd1bf3d014373449f0b8d35d6d · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 2b2eda2821cff1d1b5a423b6ee7d8fc6fbc8e694 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f580d27e8928828693df44ba2db0fffdbe11dfea · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.1.176 through 6.1.* (unaffected · semver) · 6.6.143 through 6.6.* (unaffected · semver) · 6.12.94 through 6.12.* (unaffected · semver) · 6.18.36 through 6.18.* (unaffected · semver) · 7.0.13 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown Affected Not stated siemens-SADP
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.176-1 DLA-4665-1
Ubuntu jammy linux-aws-6.8 Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Debian bullseye linux-6.1 Advisory build 6.1.176-1~deb11u1 DLA-4671-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy linux-aws-6.8-cloud-tools-6.8.0-1066 Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-aws-6.8-headers-6.8.0-1066 Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-aws-6.8-tools-6.8.0-1066 Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-azure-6.8 Advisory build 6.8.0-1070.78~22.04.1 USN-8904-1
Ubuntu jammy linux-azure-6.8-cloud-tools-6.8.0-1070 Advisory build 6.8.0-1070.78~22.04.1 USN-8904-1
Ubuntu jammy linux-azure-6.8-headers-6.8.0-1070 Advisory build 6.8.0-1070.78~22.04.1 USN-8904-1
Ubuntu jammy linux-azure-6.8-tools-6.8.0-1070 Advisory build 6.8.0-1070.78~22.04.1 USN-8904-1
Ubuntu jammy linux-azure-fde-6.8 Advisory build 6.8.0-1068.75~22.04.1 USN-8904-1
Ubuntu jammy linux-azure-fde-6.8-cloud-tools-6.8.0-1068 Advisory build 6.8.0-1068.75~22.04.1 USN-8904-1
Ubuntu jammy linux-azure-fde-6.8-headers-6.8.0-1068 Advisory build 6.8.0-1068.75~22.04.1 USN-8904-1
Ubuntu jammy linux-azure-fde-6.8-tools-6.8.0-1068 Advisory build 6.8.0-1068.75~22.04.1 USN-8904-1
Ubuntu jammy linux-buildinfo-6.8.0-1064-nvidia Advisory build 6.8.0-1064.67~22.04.1 USN-8903-2
Ubuntu jammy linux-buildinfo-6.8.0-1064-nvidia-64k Advisory build 6.8.0-1064.67~22.04.1 USN-8903-2
Ubuntu jammy linux-buildinfo-6.8.0-1066-aws Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-buildinfo-6.8.0-1066-aws-64k Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-buildinfo-6.8.0-1066-ibm Advisory build 6.8.0-1066.67~22.04.1 USN-8906-1
Ubuntu jammy linux-buildinfo-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-buildinfo-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-azure-fde Advisory build 6.8.0-1068.75~22.04.1 USN-8904-1
Ubuntu jammy linux-buildinfo-6.8.0-1070-azure Advisory build 6.8.0-1070.78~22.04.1 USN-8904-1
Ubuntu jammy linux-buildinfo-6.8.0-1070-gcp Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-buildinfo-6.8.0-1070-gcp-64k Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-buildinfo-6.8.0-146-lowlatency Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-buildinfo-6.8.0-146-lowlatency-64k Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-buildinfo-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-buildinfo-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-buildinfo-6.8.1-1061-realtime Advisory build 6.8.1-1061.62~22.04.1 USN-8903-1
Ubuntu jammy linux-cloud-tools-6.8.0-1066-aws Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-cloud-tools-6.8.0-1066-aws-64k Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-cloud-tools-6.8.0-1068-azure-fde Advisory build 6.8.0-1068.75~22.04.1 USN-8904-1
Ubuntu jammy linux-cloud-tools-6.8.0-1070-azure Advisory build 6.8.0-1070.78~22.04.1 USN-8904-1
Ubuntu jammy linux-cloud-tools-6.8.0-146-lowlatency Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-cloud-tools-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-cloud-tools-6.8.1-1061-realtime Advisory build 6.8.1-1061.62~22.04.1 USN-8903-1
Ubuntu jammy linux-gcp-6.8 Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-gcp-6.8-headers-6.8.0-1070 Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-gcp-6.8-tools-6.8.0-1070 Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-headers-6.8.0-1064-nvidia Advisory build 6.8.0-1064.67~22.04.1 USN-8903-2
Ubuntu jammy linux-headers-6.8.0-1064-nvidia-64k Advisory build 6.8.0-1064.67~22.04.1 USN-8903-2
Ubuntu jammy linux-headers-6.8.0-1066-aws Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-headers-6.8.0-1066-aws-64k Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-headers-6.8.0-1066-ibm Advisory build 6.8.0-1066.67~22.04.1 USN-8906-1
Ubuntu jammy linux-headers-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-headers-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-headers-6.8.0-1068-azure-fde Advisory build 6.8.0-1068.75~22.04.1 USN-8904-1
Ubuntu jammy linux-headers-6.8.0-1070-azure Advisory build 6.8.0-1070.78~22.04.1 USN-8904-1
Ubuntu jammy linux-headers-6.8.0-1070-gcp Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-headers-6.8.0-1070-gcp-64k Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-headers-6.8.0-146-lowlatency Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-headers-6.8.0-146-lowlatency-64k Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-headers-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-headers-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-headers-6.8.1-1061-realtime Advisory build 6.8.1-1061.62~22.04.1 USN-8903-1
Ubuntu jammy linux-hwe-6.8 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-cloud-tools-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-headers-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-tools-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-ibm-6.8 Advisory build 6.8.0-1066.67~22.04.1 USN-8906-1
Ubuntu jammy linux-ibm-6.8-headers-6.8.0-1066 Advisory build 6.8.0-1066.67~22.04.1 USN-8906-1
Ubuntu jammy linux-ibm-6.8-tools-6.8.0-1066 Advisory build 6.8.0-1066.67~22.04.1 USN-8906-1
Ubuntu jammy linux-image-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-1064-nvidia Advisory build 6.8.0-1064.67~22.04.1 USN-8903-2
Ubuntu jammy linux-image-unsigned-6.8.0-1064-nvidia-64k Advisory build 6.8.0-1064.67~22.04.1 USN-8903-2
Ubuntu jammy linux-image-unsigned-6.8.0-1066-aws Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-image-unsigned-6.8.0-1066-aws-64k Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-image-unsigned-6.8.0-1066-ibm Advisory build 6.8.0-1066.67~22.04.1 USN-8906-1
Ubuntu jammy linux-image-unsigned-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-image-unsigned-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-azure-fde Advisory build 6.8.0-1068.75~22.04.1 USN-8904-1
Ubuntu jammy linux-image-unsigned-6.8.0-1070-azure Advisory build 6.8.0-1070.78~22.04.1 USN-8904-1
Ubuntu jammy linux-image-unsigned-6.8.0-1070-gcp Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-image-unsigned-6.8.0-1070-gcp-64k Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-image-unsigned-6.8.0-146-lowlatency Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-image-unsigned-6.8.0-146-lowlatency-64k Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-image-unsigned-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.1-1061-realtime Advisory build 6.8.1-1061.62~22.04.1 USN-8903-1
Ubuntu jammy linux-lowlatency-hwe-6.8 Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-146 Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-lowlatency-hwe-6.8-headers-6.8.0-146 Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-lowlatency-hwe-6.8-lib-rust-6.8.0-146-lowlatency Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-lowlatency-hwe-6.8-tools-6.8.0-146 Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-modules-6.8.0-1064-nvidia Advisory build 6.8.0-1064.67~22.04.1 USN-8903-2
Ubuntu jammy linux-modules-6.8.0-1064-nvidia-64k Advisory build 6.8.0-1064.67~22.04.1 USN-8903-2
Ubuntu jammy linux-modules-6.8.0-1066-aws Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-modules-6.8.0-1066-aws-64k Advisory build 6.8.0-1066.69~22.04.1 USN-8903-1
Ubuntu jammy linux-modules-6.8.0-1066-ibm Advisory build 6.8.0-1066.67~22.04.1 USN-8906-1
Ubuntu jammy linux-modules-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-modules-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-modules-6.8.0-1068-azure-fde Advisory build 6.8.0-1068.75~22.04.1 USN-8904-1
Ubuntu jammy linux-modules-6.8.0-1070-azure Advisory build 6.8.0-1070.78~22.04.1 USN-8904-1
Ubuntu jammy linux-modules-6.8.0-1070-gcp Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-modules-6.8.0-1070-gcp-64k Advisory build 6.8.0-1070.78~22.04.1 USN-8905-1
Ubuntu jammy linux-modules-6.8.0-146-lowlatency Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-modules-6.8.0-146-lowlatency-64k Advisory build 6.8.0-146.146.1~22.04.1 USN-8903-2
Ubuntu jammy linux-modules-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-modules-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-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 double SMB2_CANCEL A deferred byte-range lock (an SMB2_LOCK that blocks) registers an async work on conn->async_requests via setup_async_work(), with cancel_fn = smb2_remove_blocked_lock and cancel_argv[0] pointing at the struct file_lock. When the request is cancelled, the worker frees the file_lock with locks_free_lock() and takes the cancelled early-exit, which "goto out"s and never reaches release_async_work() -- the only site that unlinks the work from conn->async_requests and clears cancel_fn/cancel_argv. The work therefore stays matchable on async_requests with a live cancel_fn pointing at the freed file_lock, until connection teardown finally runs release_async_work(). smb2_cancel() fires cancel_fn unconditionally with no state guard, so a second SMB2_CANCEL for the same AsyncId, arriving in that window, re-runs smb2_remove_blocked_lock() on the freed file_lock -- a slab use-after-free: 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 (cancelled branch) ... cache file_lock_cache of size 192 Reproduced on mainline with KASAN by an authenticated SMB client. Skip a work whose state is already KSMBD_WORK_CANCELLED so its cancel callback cannot be fired a second time.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

28

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 is an in-kernel SMB server reachable over the network via SMB2/SMB3 requests, typically on TCP port 445. The vulnerable path is driven by SMB2_LOCK and repeated SMB2_CANCEL messages from a remote SMB client. AC:L - The attacker can create the deferred byte-range lock by holding a conflicting lock and then sending repeated SMB2_CANCEL requests for the same AsyncId. The race/window is attacker-driven and repeatable, so there are no meaningful conditions outside attacker control. PR:L - The SMB2_LOCK path requires a valid SMB2 session, tree connection, and open file handle, and the fix commit states it was reproduced by an authenticated SMB client. No kernel or administrative privilege is required, only ordinary SMB access. UI:N - No victim user action is required after the attacker has SMB access. The attacker sends the lock and cancel requests directly to the server. S:U - The vulnerability corrupts memory within the same kernel security authority that processes the SMB request. It does not cross a separate sandbox, hypervisor, or device security boundary. C:H - This is a slab use-after-free of struct file_lock from file_lock_cache, and the stale callback reuses the freed object in generic file-locking code. Under the required high-severity assumption for UAFs, this can support kernel memory disclosure. I:H - The stale file_lock is passed into list and waitqueue manipulation paths such as locks_delete_block and locks_wake_up, giving a plausible kernel memory corruption primitive after heap reuse. Under the required high-severity assumption for UAFs, integrity impact is high. A:H - The commit includes a KASAN slab-use-after-free report in the ksmbd worker path, and re-triggering the bug can crash or destabilize the kernel. Kernel oops/panic availability impact is high.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < b7063c7426ea5a4d15e01b60538718765392f49d (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 0da2e073f9cbf4985a0fd9acb71bc5ff599f8afd (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 89ae9df09d2c1fb4a4eb495c113a7ce1dca34147 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 14d2eee0193ac3cd1bf3d014373449f0b8d35d6d (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 2b2eda2821cff1d1b5a423b6ee7d8fc6fbc8e694 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f580d27e8928828693df44ba2db0fffdbe11dfea (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)6.1.176 through 6.1.* (unaffected · semver)6.6.143 through 6.6.* (unaffected · semver)6.12.94 through 6.12.* (unaffected · semver)6.18.36 through 6.18.* (unaffected · semver)7.0.13 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 and later (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

2

Linux · cna

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

siemens-SADP · adp

Provenance

Schema
5.2
Searchable
yes
Content hash
9bef1cf224bcab325ce9fa41438bbc688287ed9a29eea8d0140d6f3386e12ea1
Ingested
15 Oct 2026, 13:18:33 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