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

published high CVSS 3.1 · 8.8

ksmbd: rebind completed CREATE replays without draining the old channel

Published
19 Nov 2026, 14:21:30 UTC
Updated
22 Nov 2026, 11:07:41 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbb8bf7eb13b518b379356a0c5dee8a23d6ee37ac to < 7b54fe3db87bc3dee16c66b400206978e515a705 · bb8bf7eb13b518b379356a0c5dee8a23d6ee37ac to < 864bbcd5dc5e70d639a3011eae81a872b69ff402 · c2b867861a48f0438afa6ce01f75e414df5431ad · 7.2.6 to < 7.3 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.3 (affected) · 0 to < 7.3 (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: rebind completed CREATE replays without draining the old channel A completed DurableHandleReqV2 CREATE can be replayed through another channel while its original channel is exiting. The existing replay path returns the open but leaves its connection and oplock references pointing at the old channel. Its open count also stays on that channel, and a later CLOSE through the surviving channel decrements the wrong counter. After checking the owner, lease key and persistent flag, verify that an active open is still published in the requesting session's file table. Do this even when no oplock was granted, and before processing a consumed replay. Do not read a borrowed opinfo session pointer for this check. Keep a healthy original binding. If the original channel is exiting or releasing, move the open and its own oplock references to the requesting channel. Serialize this with CLOSE using the session file-table lock, and with detach, reconnect and notification snapshots using m_lock. The earlier lock index and lease-table changes make their lifetimes independent of this connection change. No old-channel r_count wait is needed, including when an unrelated request remains active there. Account final close against fp->conn in one place, balance durable detach and reconnect, and transfer the count with a replay binding change. A final global lookup put may run after CLOSE has removed the volatile id; unlink the open from the inode list on that final close as well. A live completed CREATE replay may follow a break that lowered the durable open's batch oplock. Apply the batch eligibility check only to detached reconnects, while retaining the owner, lease key and persistent flag checks for active replays.

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 - The triggering bytes are an SMB2 CREATE on TCP/445 with SMB2_FLAGS_REPLAY_OPERATION and a DH2Q DurableHandleReqV2 CreateGuid. ksmbd_conn_handler_loop() queues that PDU to smb2_open(), which calls parse_durable_handle_context() and smb2_check_durable_replay(). AC:L - The attacker completes the CREATE on one SMB3 channel, closes that socket so the conn is ksmbd_conn_releasing() while fp->conn remains set, and sends the replay on another channel. The opinfo->sess race is that same attacker's logoff or previous-session destroy running beside the replay. PR:L - smb2_check_user_session() rejects SMB2 CREATE without an SMB2_SESSION_VALID session, and smb2_check_durable_replay() then requires ksmbd_vfs_compare_durable_owner() to match the user that created the handle. Negotiate and session setup never reach this path. UI:N - The attacker performs session setup, the original CREATE, the channel close, and the replay CREATE. No other user has to open the file or change the server configuration. S:U - The bad replay and the opinfo->sess use-after-free stay inside ksmbd in the host kernel. They do not cross a guest-to-host, IOMMU, or other security boundary. C:H - smb2_check_durable_replay() reads opinfo->sess->id with no reference. alloc_opinfo() stores that raw pointer, session_fd_check() clears it, and ksmbd_session_destroy() kfree_sensitive()s the session, so reclaiming the slab discloses its contents. I:H - The same use-after-free lets the attacker place a controlled object in the freed ksmbd_session slot before smb2_check_durable_replay() uses opinfo->sess, giving a write into memory the kernel still treats as a live session. A:H - If that session slab is reused or unmapped before opinfo->sess->id is read, smb2_check_durable_replay() dereferences freed memory and oopses. The replay still returns the open while fp->conn and its oplock keep pointing at the channel ksmbd_conn_free() is tearing down.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux bb8bf7eb13b518b379356a0c5dee8a23d6ee37ac to < 7b54fe3db87bc3dee16c66b400206978e515a705 (affected · git)bb8bf7eb13b518b379356a0c5dee8a23d6ee37ac to < 864bbcd5dc5e70d639a3011eae81a872b69ff402 (affected · git)c2b867861a48f0438afa6ce01f75e414df5431ad (affected · git)7.2.6 to < 7.3 (affected · semver)Default: unaffected Linux · cna
Linux Linux 7.3 (affected)0 to < 7.3 (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: rebind completed CREATE replays without draining the old channel

Provenance

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