8.8

CVE-2026-99322

ksmbd: rebind completed CREATE replays without draining the old channel

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version bb8bf7eb13b518b379356a0c5dee8a23d6ee37ac
Version < 7b54fe3db87bc3dee16c66b400206978e515a705
Status affected
Version bb8bf7eb13b518b379356a0c5dee8a23d6ee37ac
Version < 864bbcd5dc5e70d639a3011eae81a872b69ff402
Status affected
Version c2b867861a48f0438afa6ce01f75e414df5431ad
Status affected
Version 7.2.6
Version < 7.3
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 7.3
Status affected
Version 0
Version < 7.3
Status unaffected
Version <= 7.3.*
Version 7.3.2
Status unaffected
Version <= *
Version 7.4-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.105
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 8.8 2.8 5.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/7b54fe3db87bc3dee16c66b400206978e515a705
https://git.kernel.org/stable/c/864bbcd5dc5e70d639a3011eae81a872b69ff402