CVE-2023-32246

ksmbd: call rcu_barrier() in ksmbd_server_exit()

MEDIUM
5.5
CVSS Score
Published: August 16, 2025 at 01:22 PM UTC
Updated: August 15, 2026 at 01:36 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.1115.15 ≤ v < 6.1.285.15 ≤ v < 6.2.155.15 ≤ v < 6.3.25.15 ≤ v < 6.45.16 ≤ v < 6.1.286.2 ≤ v < 6.2.156.3 ≤ v < 6.3.25.15e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Vendor states this is fixed in 5a7090ccc242ab009ee7769e9d7fad6644dbe9bd (fixed)
Vendor states this is fixed in b80422474ffe44cb5e813cd6da1f1c6bc50fd9d2 (fixed)
Vendor states this is fixed in c053e389db0d892e2ff5a60ec5e533b976503795 (fixed)
Vendor states this is fixed in d4174505016a3b2996eb7ff1530dcabbf15d47b6 (fixed)
Vendor states this is fixed in eb307d09fe15844fdaebeb8cc8c9b9e925430aa5 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.111 (unaffected)
Vendor states this is fixed in 6.1.28 (unaffected)
Vendor states this is fixed in 6.2.15 (unaffected)
Vendor states this is fixed in 6.3.2 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5a7090ccc242ab009ee7769e9d7fad6644dbe9bd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b80422474ffe44cb5e813cd6da1f1c6bc50fd9d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c053e389db0d892e2ff5a60ec5e533b976503795
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d4174505016a3b2996eb7ff1530dcabbf15d47b6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb307d09fe15844fdaebeb8cc8c9b9e925430aa5

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card