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

published high CVSS 3.1 · 7.5

ksmbd: fix use-after-free after a failed durable reconnect

Published
16 Nov 2026, 09:59:19 UTC
Updated
23 Nov 2026, 08:00:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8df4bcdb0a4232192b2445256c39b787d58ef14d to < 0dfa5491c8652c7335a1f4640e02ceae15e569ba · c8efcc786146a951091588e5fa7e3c754850cb3c to < 5078a4e41b29acdf6be52e4a7cc8a59c2a72a471 · c8efcc786146a951091588e5fa7e3c754850cb3c to < bd47ee501b6ac4a26ae41f780a43b7967302a269 · c8efcc786146a951091588e5fa7e3c754850cb3c to < edacf65866a9f397438d5b9ff9f43312b29b4b3c · c8efcc786146a951091588e5fa7e3c754850cb3c to < 248b5819591c577727930e4e255a455235fab50a · 6.6.32 to < 6.6.163 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 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-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free after a failed durable reconnect ksmbd_reopen_durable_fd() republishes a detached durable handle in the reconnecting session's file table and takes no reference for that entry. If smb2_open() then fails, cleanup relies on the final ksmbd_fd_put() to remove the volatile id. Two reconnects of the same handle can both take a lookup reference before either attaches it. If the one that reopens first then fails and drops its references first, the other request makes the final put through ksmbd_put_durable_fd(). That frees the handle without removing the first session's table entry, so tearing that session down writes to freed memory. BUG: KASAN: slab-use-after-free in __close_file_table_ids+0x14d/0x740 [ksmbd] Call Trace: __close_file_table_ids+0x14d/0x740 [ksmbd] ksmbd_destroy_file_table+0x76/0x100 [ksmbd] ksmbd_session_destroy+0xf8/0x480 [ksmbd] ksmbd_dispose_sessions+0x13e/0x200 [ksmbd] ksmbd_conn_sessions_cleanup+0x4c3/0x6d0 [ksmbd] Freed by task 1030: __ksmbd_close_fd+0x97d/0x1000 [ksmbd] smb2_open+0x14eb/0xd9f0 [ksmbd] Commit 3515503322f4 ("ksmbd: fix durable reconnect error path file lifetime") handles a final put made by the reconnecting request, but not one made by another holder. Remove the volatile id under the file-table lock on this error path, before the references are dropped, as ksmbd_close_fd() does on the request_open path just above. Removal then no longer depends on which holder makes the final put. The stale comment in the reconnect cleanup is updated to match. A successful reconnect is unchanged.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

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:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - A remote client sends SMB2 CREATE on the TCP connection accepted by ksmbd_tcp_new_connection and read in ksmbd_conn_handler_loop. parse_durable_handle_context() in smb2_open() takes the DH2C/DHnC persistent id from that request, and ksmbd_reopen_durable_fd() republishes the detached handle. AC:H - The stale volatile id is left behind only when smb2_open() fails after ksmbd_reopen_durable_fd() succeeds, in ksmbd_override_fsids() or ksmbd_vfs_getattr(), before request_open is set. The client can overlap a second lookup, but cannot force that credential allocation or getattr to fail. PR:L - __handle_ksmbd_work() requires smb2_check_user_session() and smb2_get_ksmbd_tcon() before smb2_open(), and the reopen that publishes the id must pass ksmbd_vfs_compare_durable_owner() in smb2_check_durable_oplock(). That is the authenticated handle owner, not a pre-auth CREATE. UI:N - The client opens its own durable handle, drops that connection so session_fd_check() preserves it, and sends the reconnecting SMB2 CREATEs. No other principal has to open a file or approve the reconnect. S:U - The dangling pointer is a ksmbd_file in the host ksmbd_file_cache, and ksmbd_session_destroy() corrupts that kernel object. The bug does not cross a guest/host or IOMMU boundary. C:H - ksmbd_put_durable_fd() frees the handle in __ksmbd_close_fd() with kmem_cache_free(). Session teardown then loads that idr pointer in __close_file_table_ids() and reads refcount, f_ci, and conn; a reused slot lets those reads follow attacker-influenced kernel pointers. I:H - __close_file_table_ids() writes the freed ksmbd_file, storing volatile_id, locking fp->f_ci, and running list_del_init() on fp->node. Once the ksmbd_file_cache slot is reused, that path corrupts a live object, including its connection reference. A:H - ksmbd_session_destroy() reaches the dangling id through ksmbd_destroy_file_table() and __close_file_table_ids() and touches the ksmbd_file already freed from smb2_open(), which is the slab-use-after-free that oopses the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8df4bcdb0a4232192b2445256c39b787d58ef14d to < 0dfa5491c8652c7335a1f4640e02ceae15e569ba (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < 5078a4e41b29acdf6be52e4a7cc8a59c2a72a471 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < bd47ee501b6ac4a26ae41f780a43b7967302a269 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < edacf65866a9f397438d5b9ff9f43312b29b4b3c (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < 248b5819591c577727930e4e255a455235fab50a (affected · git)6.6.32 to < 6.6.163 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.9 (affected)0 to < 6.9 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 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 use-after-free after a failed durable reconnect

Provenance

Schema
5.2
Searchable
yes
Content hash
80f4589802ed726ecead6cf979cda34241f98dd039c67177ed24984368af6b26
Ingested
23 Nov 2026, 14:35:29 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