# CVE-2023-32246: ksmbd: call rcu_barrier() in ksmbd_server_exit()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-08-16T13:22:09.212Z
- Modified: 2026-08-15T13:17:39.123Z
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before c053e389db0d892e2ff5a60ec5e533b976503795; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before b80422474ffe44cb5e813cd6da1f1c6bc50fd9d2; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before d4174505016a3b2996eb7ff1530dcabbf15d47b6; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 5a7090ccc242ab009ee7769e9d7fad6644dbe9bd; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before eb307d09fe15844fdaebeb8cc8c9b9e925430aa5; 5.15 (not affected: before 5.15; from 5.15.111 up to 5.15.*; from 6.1.28 up to 6.1.*; from 6.2.15 up to 6.2.*; from 6.3.2 up to 6.3.*; from 6.4 up to *)
- linux linux_kernel: from 5.15 before 5.15.111; from 5.16 before 6.1.28; from 6.2 before 6.2.15; from 6.3 before 6.3.2

## References

- <https://git.kernel.org/stable/c/c053e389db0d892e2ff5a60ec5e533b976503795> (patch)
- <https://git.kernel.org/stable/c/b80422474ffe44cb5e813cd6da1f1c6bc50fd9d2> (patch)
- <https://git.kernel.org/stable/c/d4174505016a3b2996eb7ff1530dcabbf15d47b6> (patch)
- <https://git.kernel.org/stable/c/5a7090ccc242ab009ee7769e9d7fad6644dbe9bd> (patch)
- <https://git.kernel.org/stable/c/eb307d09fe15844fdaebeb8cc8c9b9e925430aa5> (patch)

## Sources

- CVE List: [CVE-2023-32246](https://www.cve.org/CVERecord?id=CVE-2023-32246), CVE Terms of Use, modified 2026-08-15
- NVD: [CVE-2023-32246](https://nvd.nist.gov/vuln/detail/CVE-2023-32246), Public domain, modified 2026-08-15

---

Page: https://cve.day/CVE-2023-32246 · Whole record: https://cve.day/CVE-2023-32246.json · Rebuilt by cve.day 2026-11-25T22:58:34.734Z
