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

published high CVSS 3.1 · 8.8

ksmbd: fix app-instance non-durable supersede session UAF

Published
16 Nov 2026, 09:59:18 UTC
Updated
19 Nov 2026, 13:52:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux16c30649709d949b439273e61769028b1e706327 to < a5b190b352b0ba85f4debe436f42950ced10fadb · 16c30649709d949b439273e61769028b1e706327 to < f728cfee6929057087c303d07d7a6a7c61196b48 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.2 (affected) · 0 to < 7.2 (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
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
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 12 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 app-instance non-durable supersede session UAF ksmbd_close_fd_app_instance_id() supersedes a prior open that has the same AppInstanceId. It reaches that open's session through opinfo->sess. This pointer is not refcounted. Session teardown detaches durable handles before it frees the session. It does not detach a non-durable open. That open still points at the session through opinfo->sess after the session is freed. Another session can supersede the open at the same time. The supersede then takes a write lock through the stale pointer, in the freed session's file table. BUG: KASAN: slab-use-after-free in _raw_write_lock+0x71/0xd0 Call Trace: _raw_write_lock+0x71/0xd0 ksmbd_close_fd_app_instance_id+0xd9/0x670 [ksmbd] smb2_open+0x3e10/0xd910 [ksmbd] Freed by task 212: ksmbd_session_destroy+0x38d/0x480 [ksmbd] Fix this by looking the session up by opinfo->session_id. The lookup returns a reference, as smb2_break_collect_channels() does. Recheck that opinfo->sess still points at it before using it. Do the lookup without m_lock held. destroy_previous_session() takes m_lock under the session table lock, and taking them in the other order here would deadlock.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

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 - SMB2 CREATE on TCP carries SMB2_CREATE_APP_INSTANCE_ID, which parse_app_instance_id() copies; smb2_open() then calls smb2_handle_app_instance_id() and ksmbd_close_fd_app_instance_id(), which write-locks opinfo->sess->file_table after ksmbd_session_destroy() has freed that session. AC:L - The client opens a non-durable file so session_fd_check() leaves opinfo->sess set, then races smb2_session_logoff() or ksmbd_server_terminate_conn() against a second connection's CREATE with the same AppInstanceId and a different ClientGUID. Both connections are the attacker's. PR:L - __handle_ksmbd_work() calls smb2_check_user_session() before smb2_open(), and CREATE proceeds only for an SMB2_SESSION_VALID session established by smb2_sess_setup(), so the attacker must already be a share user. UI:N - The attacker issues the AppInstanceId CREATE, tears that session down, and sends the superseding CREATE. No other user has to mount, click, or open a file. S:U - The dangling opinfo->sess is a ksmbd_session in the host kernel that serves the share, so the corruption stays in that same security authority. C:H - ksmbd_close_fd_app_instance_id() write-locks file_table.lock inside the ksmbd_session freed by ksmbd_session_destroy(). Reclaiming that slab makes the lock read the object now at opinfo->sess, which is a disclosure primitive. I:H - KASAN reports a slab use-after-free in _raw_write_lock on the freed session's embedded rwlock, reached from ksmbd_close_fd_app_instance_id() via smb2_open(). Reclaiming the slot makes that lock write corrupt a chosen object and can hijack control flow. A:H - The use-after-free oopses in _raw_write_lock inside ksmbd_close_fd_app_instance_id(), and locking the freed rwlock can hang the ksmbd worker. Either fault stops the host kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 16c30649709d949b439273e61769028b1e706327 to < a5b190b352b0ba85f4debe436f42950ced10fadb (affected · git)16c30649709d949b439273e61769028b1e706327 to < f728cfee6929057087c303d07d7a6a7c61196b48 (affected · git)Default: unaffected Linux · cna
Linux Linux 7.2 (affected)0 to < 7.2 (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

2

Provider assertions

1

Linux · cna

ksmbd: fix app-instance non-durable supersede session UAF

Provenance

Schema
5.2
Searchable
yes
Content hash
d668a39697d79abed545360d4e18a275a9e59b4b9b54a01ad0638936e89cbd20
Ingested
19 Nov 2026, 13:56:17 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