CVE-2025-37802

ksmbd: fix WARNING "do not call blocking ops when !TASK_RUNNING"

MEDIUM
5.5
CVSS Score
Published: May 8, 2025 at 06:26 AM UTC
Updated: September 14, 2026 at 12:17 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.4%

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix WARNING "do not call blocking ops when !TASK_RUNNING" wait_event_timeout() will set the state of the current task to TASK_UNINTERRUPTIBLE, before doing the condition check. This means that ksmbd_durable_scavenger_alive() will try to acquire the mutex while already in a sleeping state. The scheduler warns us by giving the following warning: do not call blocking ops when !TASK_RUNNING; state=2 set at [<0000000061515a6f>] prepare_to_wait_event+0x9f/0x6c0 WARNING: CPU: 2 PID: 4147 at kernel/sched/core.c:10099 __might_sleep+0x12f/0x160 mutex lock is not needed in ksmbd_durable_scavenger_alive().

Affected

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

v < 6.12.265.15 ≤ v < 6.12.265.15 ≤ v < 6.14.55.15 ≤ v < 6.155.15 ≤ v < 6.6.1576.13 ≤ v < 6.14.56.15 rc16.15 rc2626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 1df0d4c616138784e033ad337961b6e1a6bcd999 (fixed)
Vendor states this is fixed in 8f805b3746d2f41702c77cba22f94f8415fadd1a (fixed)
Vendor states this is fixed in 97aabdbf7ba82da20e698f0e62917fb206d42941 (fixed)
Vendor states this is fixed in cd161198e091e8a62b9bd631be970ea9a87d2d6a (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 6.12.26 (unaffected)
Vendor states this is fixed in 6.14.5 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)

CVSS

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

Quick Info

StatusMODIFIED
CWE
CWE-667

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