CVE-2026-139165

Not scored yetLast modified Dec 2, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: avoid races between named-pipe operations

RPC IPC replies are matched by pipe handle. READ, WRITE, TRANSCEIVE and CLOSE on the same pipe all use that handle. The session RPC lock protects the handle table, but is dropped before a pipe I/O request waits for its reply. Another operation, including CLOSE, can issue a request with the same handle while that wait is still in progress.

These requests have no separate IPC correlation ID, so overlapping waits can interfere with reply delivery. CLOSE can also release the handle before an earlier operation finishes. Protecting table access alone does not provide the serialization or lifetime needed by an active pipe.

Serialize operations per pipe and keep its state and handle alive until all users finish. Avoid holding the session table lock across IPC waits, so a blocked pipe does not hold up unrelated pipes. This also provides the lifetime needed to retain unread replies in the following patch.

Recheck cancellation, connection release and session teardown after taking the pipe lock, and mark a removed pipe closed before waiting for its active operation. Close all session RPC pipes on logoff after the other requests have drained; keeping the TCP connection open must not retain old handles. Use standard SMB2 error replies for failed pipe operations while preserving the selected status.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 2, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139166In the Linux kernel, the following vulnerability has been resolved: devlink: region: fix snapshot id leak on kernel-allocated ids When DEVCVE-2026-139167In the Linux kernel, the following vulnerability has been resolved: net-sysfs: reject a one-entry RPS flow table store_rps_dev_flow_table_CVE-2026-1391687.5In the Linux kernel, the following vulnerability has been resolved: net: microchip: fdma: fix DCB corruption under sustained load __fdma_dCVE-2026-139169In the Linux kernel, the following vulnerability has been resolved: net: lan966x: release the in-flight slot of a stale TX skb lan966x_ptpCVE-2026-139176.5Insufficient validation of untrusted input in Chrome for iOS in Google Chrome on iOS prior to 150.0.7871.47 allowed a remote attacker who coCVE-2026-139170In the Linux kernel, the following vulnerability has been resolved: net: lan966x: fix the DB dataptr of frames from ndo_xdp_xmit lan966x_fCVE-2026-139171In the Linux kernel, the following vulnerability has been resolved: sched_ext: Reject scx_bpf_sub_grant/revoke() in tracing programs A traCVE-2026-139172In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix a lone IMMED task waiting behind a kept prev While dispCVE-2026-139173In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix queued bypassed tasks stalling when the host loses SCX_CCVE-2026-139174In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix the bypass load balancer stranding tasks on cpus where tCVE-2026-139175In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix bypassed tasks looping on a host without SCX_CAP_ENQ ByCVE-2026-139176In the Linux kernel, the following vulnerability has been resolved: bpf: Fix bpf_timer callback running on a freed map A bpf_timer in an i
CVE-2026-139165: Unscored | Vulnix