CVE-2026-99539
Last modified
CVE-2026-99539 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 0f62358ce85b2d4c949ef1b648be01b29cec667a, < a259b8f25de7b50d43fb94b29489d98848bba580; >= a9839c37fd813b432988f58a9d9dd59253d3eb2c, < 964c39f41c837fc2de221dcb860ff6451e17deae; >= 5511999e9615e4318e9142d23b29bd1597befc08, < 84deaeff31f4bdf5fee5c8dd1e3a4a49c3ffc05d; >= 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930, < b2d710b12e86fd4cf02be090651fa6ea8683fc29; >= 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930, < 38cddb9f7c9102f23652d198748c658072cf0df5; >= 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930, < db30f8f330fc73304edfe595dc5a6f5e17ba97f2; >= 7aa8804c0b67b3cb263a472d17f2cb50d7f1a930, < 03bd8f5279e490e15e0c0f0fa388ffbd2fbacd65; ee371898b53a9b9b51c02d22a8c31bfb86d45f0d; >= 5.15.171, < 5.15.226; >= 6.1.114, < 6.1.193; >= 6.6.58, < 6.6.163; >= 6.11.5, < 6.12 |
| Linux | Linux | 6.12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99539?
How severe is CVE-2026-99539?
How do I fix CVE-2026-99539?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99533In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99534In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99535In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99536In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-99537In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99538In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9954Use after free in TabStrip in Google Chrome prior to 148.0.7…7.5
- CVE-2026-99540In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-99541In the Linux kernel, the following vulnerability has been re…8.3
- CVE-2026-99542In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99543In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99544In the Linux kernel, the following vulnerability has been re…9.3
Are you affected by CVE-2026-99539?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
