CVE-2026-99289
ksmbd: fix app-instance non-durable supersede session UAF
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 16c30649709d949b439273e61769028b1e706327, < a5b190b352b0ba85f4debe436f42950ced10fadb; >= 16c30649709d949b439273e61769028b1e706327, < f728cfee6929057087c303d07d7a6a7c61196b48
- Anyone running Linux 7.2
Vulnerability facts
- Affected
- Linux >= 16c30649709d949b439273e61769028b1e706327, < a5b190b352b0ba85f4debe436f42950ced10fadb; >= 16c30649709d949b439273e61769028b1e706327, < f728cfee6929057087c303d07d7a6a7c61196b48; Linux 7.2
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.51% chance of exploitation in 30 days (percentile 37, 2026-11-28)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix app-instance non-durable supersede session UAF ksmbd_close_fd_app_instance_id() supersedes a prior open that has the same AppInstanceId. It reaches that open's session through opinfo->sess. This pointer is not refcounted. Session teardown detaches durable handles before it frees the session. It does not detach a non-durable open. That open still points at the session through opinfo->sess after the session is freed. Another session can supersede the open at the same time. The supersede then takes a write lock through the stale pointer, in the freed session's file table. BUG: KASAN: slab-use-after-free in _raw_write_lock+0x71/0xd0 Call Trace: _raw_write_lock+0x71/0xd0 ksmbd_close_fd_app_instance_id+0xd9/0x670 [ksmbd] smb2_open+0x3e10/0xd910 [ksmbd] Freed by task 212: ksmbd_session_destroy+0x38d/0x480 [ksmbd] Fix this by looking the session up by opinfo->session_id. The lookup returns a reference, as smb2_break_collect_channels() does. Recheck that opinfo->sess still points at it before using it. Do the lookup without m_lock held. destroy_previous_session() takes m_lock under the session table lock, and taking them in the other order here would deadlock.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99289. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99289.md Affected: Linux >= 16c30649709d949b439273e61769028b1e706327, < a5b190b352b0ba85f4debe436f42950ced10fadb; >= 16c30649709d949b439273e61769028b1e706327, < f728cfee6929057087c303d07d7a6a7c61196b48; Linux 7.2 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-99289 being exploited?
There is no confirmed exploitation: CVE-2026-99289 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-99289?
High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-99289?
Linux >= 16c30649709d949b439273e61769028b1e706327, < a5b190b352b0ba85f4debe436f42950ced10fadb; >= 16c30649709d949b439273e61769028b1e706327, < f728cfee6929057087c303d07d7a6a7c61196b48; Linux 7.2.
Is there a fix for CVE-2026-99289?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99289?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | EPSS 31% | |
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | EPSS 11% | |
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | EPSS 11% | |
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | EPSS 24% | |
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | EPSS 3% |