PoC Monitor
← All CVEs
CVE-2025-37802published 8 May 2025 06:26 UTCData: JSON · API

Linux

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

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().

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-667
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 97aabdbf7ba82da20e698f0e62917fb206d42941
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 8f805b3746d2f41702c77cba22f94f8415fadd1a
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < cd161198e091e8a62b9bd631be970ea9a87d2d6a
  • >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 1df0d4c616138784e033ad337961b6e1a6bcd999

Fixed in 97aabdbf7ba82da20e698f0e62917fb206d42941, 8f805b3746d2f41702c77cba22f94f8415fadd1a, cd161198e091e8a62b9bd631be970ea9a87d2d6a, 1df0d4c616138784e033ad337961b6e1a6bcd999

Linux Linux
  • 5.15

Fixed in 0, 6.6.157, 6.12.26, 6.14.5, 6.15

Mitigation

Upgrade Linux to 97aabdbf7ba82da20e698f0e62917fb206d42941 or 8f805b3746d2f41702c77cba22f94f8415fadd1a or cd161198e091e8a62b9bd631be970ea9a87d2d6a or 1df0d4c616138784e033ad337961b6e1a6bcd999 or later.

Upgrade Linux to 0 or 6.6.157 or 6.12.26 or 6.14.5 or 6.15 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published8 May 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.