CVE-2026-99539
CVE-2026-99539 — ksmbd: fix session reference leak on compounded SESSION_SETUP
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix session reference leak on compounded SESSION_SETUP A compound request can place SESSION_SETUP after another command. That earlier command leaves a reference to its session in work->sess. smb2_sess_setup() then overwrites work->sess with the session it looks up or creates, and the dispatcher later puts work->sess only once. The inherited reference is never dropped. That leaks the session, together with its setup connection and socket, and every repeat of the compound leaks another. unreferenced object (size 512): __kmalloc_cache_noprof+0x32c/0x3a0 ksmbd_smb2_session_create+0xf6/0x9c0 [ksmbd] smb2_sess_setup+0xda4/0x6280 [ksmbd] handle_ksmbd_work+0x88c/0x1cb0 [ksmbd] Save the inherited session on entry. After the request has been processed, release it once, but only when smb2_sess_setup() has replaced work->sess with its own session or cleared it. Do this after ksmbd_conn_unlock() so the put does not run under srv_mutex. An error path may instead leave the inherited session in work->sess. Keep it there, so the dispatcher still puts it and the error response is still signed or encrypted with it as before.
Published Updated Sources: NVD, Linux (CNA), GitHub, GitHub Security Advisory, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
0%
ahead of 0% of scored CVEs
CVSS base
Unscored
no source published a base score
Remediation
The vendor's own words where we have them.
Upgrade Linux to a fixed release (0 to < 6.12). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Linux | Linux | 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 | Vulnerable |
| Linux | Linux | 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < 38cddb9f7c9102f23652d198748c658072cf0df5 | Vulnerable |
| Linux | Linux | 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 | Vulnerable |
| Linux | Linux | 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930 to < 03bd8f5279e490e15e0c0f0fa388ffbd2fbacd65 | Vulnerable |
| Linux | Linux | 0f62358ce85b2d4c949ef1b648be01b29cec667a | Vulnerable |
| Linux | Linux | a9839c37fd813b432988f58a9d9dd59253d3eb2c | Vulnerable |
| Linux | Linux | 5511999e9615e4318e9142d23b29bd1597befc08 | Vulnerable |
| Linux | Linux | ee371898b53a9b9b51c02d22a8c31bfb86d45f0d | Vulnerable |
| Linux | Linux | 5.15.171 to < 5.16 | Vulnerable |
| Linux | Linux | 6.1.114 to < 6.2 | Vulnerable |
| Linux | Linux | 6.6.58 to < 6.7 | Vulnerable |
| Linux | Linux | 6.11.5 to < 6.12 | Vulnerable |
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /0x3a0, /0x9c0, /0x6280, /0x1cb0.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Initial · CVE published
Nov 19, 2026 · NVD
Added · GHSA-42jx-q75f-j6j5 published (unknown)
Nov 19, 2026 · GitHub Security Advisory
CVE published by MITRE.
Nov 19, 2026 · SOCRadar CTI
References
6 on the record
- git.kernel.org/stable/c/03bd8f5279e490e15e0c0f0fa388ffbd2fbacd65
Vendor Advisory, NIST
- git.kernel.org/stable/c/38cddb9f7c9102f23652d198748c658072cf0df5
Vendor Advisory
- git.kernel.org/stable/c/b2d710b12e86fd4cf02be090651fa6ea8683fc29
Vendor Advisory, NIST
- git.kernel.org/stable/c/db30f8f330fc73304edfe595dc5a6f5e17ba97f2
Vendor Advisory, NIST
- nvd.nist.gov/vuln/detail/CVE-2026-99539
NVD
- github.com/advisories/GHSA-42jx-q75f-j6j5
Exploit, Third Party Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
- Unclassifiedsame class
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-99539 is ksmbd: fix session reference leak on compounded SESSION_SETUP, a unscored vulnerability affecting Linux from Linux. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-99539. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-99539. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS null describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.