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-2023-53358

published high CVSS 3.1 · 8.8

ksmbd: fix racy issue under cocurrent smb2 tree disconnect

Published
17 Sep 2025, 14:56:48 UTC
Updated
05 Aug 2026, 09:13:38 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < b36295c17fb97424406f0c3ab321b1ccaabb9be8 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < bd80d35725a0cf4df9307bfe2f1a3b2cb983d8e6 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < dc1c17716c099c90948ebb83e2170dd75a3be6b6 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 39366b47a59d46af15ac57beb0996268bf911f6a · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 30210947a343b6b3ca13adc9bfc88e1543e16dd5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.145 through 5.15.* (unaffected · semver) · 6.1.28 through 6.1.* (unaffected · semver) · 6.2.15 through 6.2.* (unaffected · semver) · 6.3.2 through 6.3.* (unaffected · semver) · 6.4 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

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix racy issue under cocurrent smb2 tree disconnect There is UAF issue under cocurrent smb2 tree disconnect. This patch introduce TREE_CONN_EXPIRE flags for tcon to avoid cocurrent access.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

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 the in-kernel SMB server reached over TCP/445; smb2_tree_disconnect() is invoked from handle_ksmbd_work() solely on SMB2_TREE_DISCONNECT PDUs from a remote peer, with no local access required. AC:L - The attacker controls both sides of the race by issuing concurrent SMB2_TREE_DISCONNECT requests for the same TreeId (parallel ksmbd-io workqueue items via SMB credits) and can retry indefinitely until both paths observe the same tcon before TREE_CONN_EXPIRE exists. PR:L - smb2_check_user_session() and smb2_get_ksmbd_tcon() gate TREE_DISCONNECT behind an established session and tree connect, so a low-privileged SMB share user (including guest where mapped) is required; this is post-authentication, not a pre-auth path. UI:N - The attacker performs negotiate, session setup, tree connect, and concurrent tree disconnects entirely on its own connections; no victim or administrator action is needed. S:U - The use-after-free corrupts ksmbd kernel heap state within the same host kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Concurrent disconnect double-frees struct ksmbd_tree_connect (share_conf/user pointers), a sprayable slab UAF that yields arbitrary kernel read primitives once the object is reclaimed, consistent with ZDI-CAN-20592 RCE classification. I:H - The second disconnect path reads tree_conn fields from freed memory then kfree()s again, enabling heap spray to hijack control flow / arbitrary write; ZDI rates this as remote code execution in kernel context. A:H - Even without full exploitation, the double-free/UAF reliably oopses or panics ksmbd worker threads and can be triggered repeatedly over the network to deny service.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.0 high CISA-ADP · adp CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf to < b36295c17fb97424406f0c3ab321b1ccaabb9be8 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < bd80d35725a0cf4df9307bfe2f1a3b2cb983d8e6 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < dc1c17716c099c90948ebb83e2170dd75a3be6b6 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 39366b47a59d46af15ac57beb0996268bf911f6a (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 30210947a343b6b3ca13adc9bfc88e1543e16dd5 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.145 through 5.15.* (unaffected · semver)6.1.28 through 6.1.* (unaffected · semver)6.2.15 through 6.2.* (unaffected · semver)6.3.2 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

5

Provider assertions

2

Linux · cna

ksmbd: fix racy issue under cocurrent smb2 tree disconnect

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
31673592b4cfb11a6be5bcf44d82de9120a903f4dd5fb5dbfc58a4ecdfb43e39
Ingested
23 Sep 2026, 08:14:44 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