Skip to content
High 8.1

Linux Kernelのksmbdに認証済みの利用者が他セッションのRPC通信を読み書きできる脆弱性

CVE-2026-139229 First seen on SecPulse

Summary

認証済みの利用者が、別のセッションが開いたIPC$のRPCパイプに対して読み取りと書き込みを行えるおそれがあります。影響を受けるのはLinux Kernelの5.15.0以降で、6.1.193、6.6.163、6.12.119、6.18.65、7.3.6などで修正されています。ksmbdを使っている場合は、修正版を含むカーネルへの更新を優先してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

認証済みの利用者が、別のセッションが開いたIPC$のRPCパイプに対して読み取りと書き込みを行えるおそれがあります。影響を受けるのはLinux Kernelの5.15.0以降で、6.1.193、6.6.163、6.12.119、6.18.65、7.3.6などで修正されています。ksmbdを使っている場合は、修正版を含むカーネルへの更新を優先してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 5.15.0, < 6.1.193→ 6.1.193
≥ 6.2.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.119→ 6.12.119
≥ 6.13.0, < 6.18.65→ 6.18.65
≥ 6.19.0, < 7.3.6→ 7.3.6

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details