What’s Vulnerable › Vulnerabilities
CVE-2026-99277: ksmbd: hold a connection reference for each session channel
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-07 · updated 2026-11-25
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: hold a connection reference for each session channel ksmbd_session_unregister() removes a session from the global and per- connection tables before dropping the table reference. A concurrent reference holder can keep the session and its channel list alive after those removals. Connection cleanup can no longer find the unpublished session to remove its channels. Since a channel only stores a raw conn pointer, the connection can be freed while another session reference holder is still accessing it, for example during SMB3.1.1 binding or a procfs read. Take a connection reference when registering a channel and release it on insertion failure, channel removal, or final session destruction. Keep the channels and signing keys until the session is destroyed so a response can still be signed after the session has been unregistered.
Affected products
- Linux: from 7.2.8 before 7.3; 7.3 — fixed in 7.3, 7.4-rc1
How to fix
Upgrade to a fixed version: Linux 7.3, 7.4-rc1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/4b333aed69cfc2c8687b86b6a4364a0dffc16dd8
- https://git.kernel.org/stable/c/add8d7fb04efe564193df73581889c62fc0016f1
- https://github.com/suruurism/cve-writeups-and-pocs/blob/main/CVE-2026-99277/CVE-2026-99277.md
Get alerted when CVE-2026-99277 or the next vulnerability affects your stack