Kernel compromise via concurrent SMB2 session requests
Published Oct 29, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux ksmbd server allows remote attackers to compromise the kernel via concurrent SMB2 session requests. One pipelined request retains work->sess while a concurrent SMB2_SESSION_SETUP error path calls ksmbd_expire_session(), frees the session, and leaves the first work item dereferencing it. The ksmbd server must be enabled and reachable on TCP port 445; no credentials are required, and exploitation can crash the host or compromise kernel confidentiality and integrity.
Summary
What happened
Use-after-free in the Linux ksmbd server allows remote attackers to compromise the kernel via concurrent SMB2 session requests. One pipelined request retains work->sess while a concurrent SMB2_SESSION_SETUP error path calls ksmbd_expire_session(), frees the session, and leaves the first work item dereferencing it. The ksmbd server must be enabled and reachable on TCP port 445; no credentials are required, and exploitation can crash the host or compromise kernel confidentiality and integrity.
The record
- CVE
- CVE-2024-50086
- Published
- Oct 29, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1210
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 29, 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=0626e6641f6b467447c81dd7678a69c66f7746cf <0f62358ce85b2d4c949ef1b648be01b29cec667a
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <5511999e9615e4318e9142d23b29bd1597befc08
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <7aa8804c0b67b3cb263a472d17f2cb50d7f1a930
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <a9839c37fd813b432988f58a9d9dd59253d3eb2c
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <ee371898b53a9b9b51c02d22a8c31bfb86d45f0d
- Affected versionversion=5.15
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