Kernel code execution via SMB response double put
Published Sep 18, 2024 · Updated Aug 5, 2026
Use-after-free in Linux 6.6.32 through 6.6.50 and 6.9 through 6.10.9 allows remote attackers to execute kernel code via SMB. In smb2_rename_path(), smb2_compound_op() drops cfile after an -EINVAL response, but the caller reuses the stale reference instead of reacquiring a writable path, causing a second put that frees an open file object. A malicious or compromised SMB server, or man-in-the-middle attackers where signing or encryption is not enforced, can trigger kernel-memory disclosure, arbitrary writes, a kernel panic, or kernel code execution during an open-file rename.
Summary
What happened
Use-after-free in Linux 6.6.32 through 6.6.50 and 6.9 through 6.10.9 allows remote attackers to execute kernel code via SMB. In smb2_rename_path(), smb2_compound_op() drops cfile after an -EINVAL response, but the caller reuses the stale reference instead of reacquiring a writable path, causing a second put that frees an open file object. A malicious or compromised SMB server, or man-in-the-middle attackers where signing or encryption is not enforced, can trigger kernel-memory disclosure, arbitrary writes, a kernel panic, or kernel code execution during an open-file rename.
The record
- CVE
- CVE-2024-46736
- Published
- Sep 18, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-415, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 18, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1e60bc0e954389af82f1d9a85f13a63f6572350f <b27ea9c96efd2c252a981fb00d0f001b86c90f3e
- Affected versionversion=6.6.32 <6.6.51
- Affected versionversion=6.9
- Affected versionversion=71f15c90e785d1de4bcd65a279e7256684c25c0d <1a46c7f6546b73cbf36f5a618a1a6bbb45391eb3
- Affected versionversion=71f15c90e785d1de4bcd65a279e7256684c25c0d <3523a3df03c6f04f7ea9c2e7050102657e331a4f
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo