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

published

ksmbd: reject foreign RPC pipe handles on IPC$ read and write

Published
30 Nov 2026, 13:32:49 UTC
Updated
30 Nov 2026, 13:32:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 5daddaa135150540d6dabffb1274078fa9f6125b · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < c3234ac719af97ca44fbe6f6dd70bf8aec8c6afc · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 4133bff4b11663c40be661f577a8d74d65339f12 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 8f09e8606f20ba66aa0c451794d11b010706f3b6 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 7087474b2e2869ce75a2758c349f83fa3d039624 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < da25995071e5e0f3aa9a41160b00b2f833127b3e · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 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

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 5daddaa135150540d6dabffb1274078fa9f6125b (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < c3234ac719af97ca44fbe6f6dd70bf8aec8c6afc (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 4133bff4b11663c40be661f577a8d74d65339f12 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 8f09e8606f20ba66aa0c451794d11b010706f3b6 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 7087474b2e2869ce75a2758c349f83fa3d039624 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < da25995071e5e0f3aa9a41160b00b2f833127b3e (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 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

6

Provider assertions

1

Linux · cna

ksmbd: reject foreign RPC pipe handles on IPC$ read and write

Provenance

Schema
5.2
Searchable
yes
Content hash
5bdcdd238789146983634d5c27ead75c21b4cf9bab582be25192a2e76401d9ce
Ingested
30 Nov 2026, 13:42:23 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