CVE-2023-32246

ksmbd: call rcu_barrier() in ksmbd_server_exit()

No CVSS score yet EPSS 0.20%

Published 16 Aug 2025 Updated 15 Aug 2026 CNA: Linux

Check your servers for CVE-2023-32246

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-32246 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before c053e389db0d892e2ff5a60ec5e533b976503795
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before b80422474ffe44cb5e813cd6da1f1c6bc50fd9d2
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before d4174505016a3b2996eb7ff1530dcabbf15d47b6
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 5a7090ccc242ab009ee7769e9d7fad6644dbe9bd
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before eb307d09fe15844fdaebeb8cc8c9b9e925430aa5
Other versions: unaffected
Linux
affected 5.15
unaffected before 5.15
unaffected from 5.15.111 up to and including 5.15.*
unaffected from 6.1.28 up to and including 6.1.*
unaffected from 6.2.15 up to and including 6.2.*
unaffected from 6.3.2 up to and including 6.3.*
unaffected 6.4 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-32246 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-32246

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-32246
trivy image --scanners vuln IMAGE | grep CVE-2023-32246

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-32246 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.