CVE-2026-99277·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.3.2, 7.4-rc1
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.15% — higher than 4% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-99277 scores 7.5 on CVSS, so a successful attack would be serious — but at 0.15%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to version 7.3.2 or later if running a stable branch, or to mainline 7.4-rc1 or newer. This patch resolves a critical session management flaw in ksmbd (SMB3 server) that could allow use-after-free conditions when connections are terminated during active SMB3.1.1 binding operations. Contact your Linux distribution vendor for an official patched kernel package rather than building from source, as most distributions backport this fix to their stable kernel versions.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with 'uname -r' and cross-reference against fixed versions 7.3.2+ or 7.4-rc1+
- Step 2: Verify ksmbd is enabled by checking if SMB3 server is active: 'grep -i ksmbd /boot/config-$(uname -r)' or 'lsmod | grep ksmbd'
- Step 3: Search kernel logs for session/channel errors: 'sudo journalctl -u kernel --grep="ksmbd|session|channel" | tail -100'
- Step 4: After patching, confirm new kernel is booted: 'uname -r' should show version 7.3.2 or later, then verify ksmbd is still functional with 'systemctl status ksmbd' or SMB client connectivity test
FAQ
What is CVE-2026-99277?
This vulnerability exists in ksmbd (the Linux kernel SMB3 server implementation) where improper reference counting on session channels can lead to use-after-free conditions. When a session is unregistered while concurrent operations hold references to it, the connection pointer may be freed prematurely, allowing potential memory corruption or information disclosure.
Is CVE-2026-99277 being actively exploited?
No, this vulnerability is not currently listed on the CISA KEV catalog and no public exploits are available. However, the high CVSS score of 7.5 indicates significant potential impact if exploited.
What versions of Kernel are affected by CVE-2026-99277?
All kernel versions prior to the stable branches 7.3.2 and mainline 7.4-rc1 are potentially affected. Systems running older 7.x kernels without this specific backport are vulnerable.
How do I check if my server is vulnerable to CVE-2026-99277?
Run 'uname -r' to get your kernel version. If it shows a version older than 7.3.2 (for stable) or 7.4-rc1 (for mainline), and ksmbd is enabled via 'grep CONFIG_SMB_SERVER /boot/config-$(uname -r)', your system is vulnerable.
Does Defensia detect CVE-2026-99277?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-99277 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-99277. Free for 1 server.
Get started free