CVE-2023-32246

ksmbd: call rcu_barrier() in ksmbd_server_exit()

State
Published
Severity
Not scored
Published
Aug 16, 2025
Updated
Aug 15, 2026
Reserved
May 5, 2023

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: call rcu_barrier() in ksmbd_server_exit()

racy issue is triggered the bug by racing between closing a connection and rmmod. In ksmbd, rcu_barrier() is not called at module unload time, so nothing prevents ksmbd from getting unloaded while it still has RCU callbacks pending. It leads to trigger unintended execution of kernel code locally and use to defeat protections such as Kernel Lockdown

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before c053e389db0d892e2ff5a60ec5e533b976503795Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before b80422474ffe44cb5e813cd6da1f1c6bc50fd9d2Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before d4174505016a3b2996eb7ff1530dcabbf15d47b6Affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before 5a7090ccc242ab009ee7769e9d7fad6644dbe9bdAffected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to before eb307d09fe15844fdaebeb8cc8c9b9e925430aa5Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.111 through 5.15.*Not affected
  • 6.1.28 through 6.1.*Not affected
  • 6.2.15 through 6.2.*Not affected
  • 6.3.2 through 6.3.*Not affected
  • 6.4 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.