Kernel code execution via module-unload race
Published Aug 16, 2025 · Updated Aug 15, 2026
Race condition in ksmbd in the Linux kernel allows local users to execute unintended kernel code by racing connection closure with module unload. ksmbd_server_exit() omits rcu_barrier(), allowing pending connection-related RCU callbacks to execute after the module code is unloaded. The race requires low-privileged local access and concurrent module removal; successful exploitation defeats Kernel Lockdown protections.
Summary
What happened
Race condition in ksmbd in the Linux kernel allows local users to execute unintended kernel code by racing connection closure with module unload. ksmbd_server_exit() omits rcu_barrier(), allowing pending connection-related RCU callbacks to execute after the module code is unloaded. The race requires low-privileged local access and concurrent module removal; successful exploitation defeats Kernel Lockdown protections.
The record
- CVE
- CVE-2023-32246
- Published
- Aug 16, 2025
- Updated
- Aug 15, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 16, 2025CVE publishedPublication date reported by the CVE source.
- Aug 15, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.15
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <5a7090ccc242ab009ee7769e9d7fad6644dbe9bd
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <b80422474ffe44cb5e813cd6da1f1c6bc50fd9d2
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <c053e389db0d892e2ff5a60ec5e533b976503795
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <d4174505016a3b2996eb7ff1530dcabbf15d47b6
- Affected versionversion=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <eb307d09fe15844fdaebeb8cc8c9b9e925430aa5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo