CVE-2026-139229: Linux kernel · ksmbd: reject foreign RPC pipe handles on IPC$ read and write
Source GCVE Database
Not known to be exploited · fixed in da25995071e5e0f3aa9a41160b00b2f833127b3e : update Linux kernel when convenient.
Data as of 30 Nov 2026, 17:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in da25995071e5e0f3aa9a41160b00b2f833127b3e, c3234ac719af97ca44fbe6f6dd70bf8aec8c6afc, 7087474b2e2869ce75a2758c349f83fa3d039624 +3
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: reject foreign RPC pipe handles on IPC$ read and write RPC pipe handles on IPC$ are allocated from a single server-global IDA, and ksmbd.mountd looks a pipe up by handle alone, with no session information. smb2_read_pipe() and smb2_write_pipe() take the handle straight from the client request (VolatileFileId) and pass it to the daemon without checking that the requesting session opened it. An authenticated user can therefore issue an SMB2 READ or WRITE on IPC$ with another session's handle and receive that session's in-flight DCERPC response, or write attacker-chosen bytes into its pipe stream. A tree connect to IPC$, which every RPC client already has, is the only requirement. Validate ownership before the transfer, the way the sibling pipe paths already do: under sess->rpc_lock, ksmbd_session_rpc_method() returns 0 for a handle the session did not open. smb2_get_info_file_pipe() and the FSCTL_PIPE_TRANSCEIVE ioctl already reject such handles; read and write were the remaining gap. Reject them with STATUS_FILE_CLOSED, as the ioctl path does.
References
- nvd.nist.gov/vuln/detail/CVE-2026-139229 (opens in a new tab)
- git.kernel.org/stable/c/4133bff4b11663c40be661f577a8d74d65339f12 (opens in a new tab)
- git.kernel.org/stable/c/5daddaa135150540d6dabffb1274078fa9f6125b (opens in a new tab)
- git.kernel.org/stable/c/7087474b2e2869ce75a2758c349f83fa3d039624 (opens in a new tab)
- git.kernel.org/stable/c/8f09e8606f20ba66aa0c451794d11b010706f3b6 (opens in a new tab)
- git.kernel.org/stable/c/c3234ac719af97ca44fbe6f6dd70bf8aec8c6afc (opens in a new tab)
- git.kernel.org/stable/c/da25995071e5e0f3aa9a41160b00b2f833127b3e (opens in a new tab)