CVE-2025-37802
published high CVSS 3.1 · 7.5ksmbd: fix WARNING "do not call blocking ops when !TASK_RUNNING"
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < 97aabdbf7ba82da20e698f0e62917fb206d42941 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 8f805b3746d2f41702c77cba22f94f8415fadd1a · 0626e6641f6b467447c81dd7678a69c66f7746cf to < cd161198e091e8a62b9bd631be970ea9a87d2d6a · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 1df0d4c616138784e033ad337961b6e1a6bcd999 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.6.157 through 6.6.* (unaffected · semver) · 6.12.26 through 6.12.* (unaffected · semver) · 6.14.5 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | plucky | bpftool | Advisory build | 7.6.0+6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-aws-cloud-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | plucky | linux-aws-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-aws-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-cloud-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-bpf-dev | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-22 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-common | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp-headers-6.14.0-1008 | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp-tools-6.14.0-1008 | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-image-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-lib-rust-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-libc-dev | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-ipu6-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-ipu7-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-iwlwifi-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-iwlwifi-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-usbio-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-vision-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-oracle-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-oracle-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-perf | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-cloud-tools-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-headers-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-tools-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-source-6.14.0 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-tools-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The vulnerable code is in ksmbd, the in-kernel SMB server listening on TCP/445, and the trigger is SMB2 SESSION_SETUP / connection teardown traffic from a remote peer. No local access is needed. AC:L - The scavenger kthread hits the bad `mutex_lock()`-under-TASK_UNINTERRUPTIBLE on its very first wait, deterministically, whenever a session is destroyed while a durable handle exists; the attacker also controls both sides of the lock contention by churning sessions across parallel connections. PR:N - `ksmbd_session_destroy()` — which launches the scavenger — is reached before authentication, via `ksmbd_session_register()`→`ksmbd_expire_session()` reaping a non-VALID (unauthenticated) session and via `ksmbd_sessions_deregister()` on connection close; on guest-mapped shares the attacker can also populate the durable-handle table with no credentials. UI:N - Exploitation requires only that the attacker open SMB connections and issue SESSION_SETUP requests; no action by a local user or administrator is needed. S:U - The corrupted task state and the resulting warning/spin are confined to the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:N - There is no out-of-bounds read or use-after-free; the WARN backtrace goes to the kernel log, which is not accessible to the remote attacker. I:N - No memory corruption or data modification occurs — the only state damaged is the scavenger kthread's own scheduler state, which does not yield a write primitive. A:H - The bug produces a kernel WARNING splat that becomes a full panic under `panic_on_warn`, and the clobbered task state turns the scavenger into a busy loop repeatedly holding `write_lock(&global_ft.lock)`, exhausting a CPU and stalling all SMB file open/close processing.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf to < 97aabdbf7ba82da20e698f0e62917fb206d42941 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 8f805b3746d2f41702c77cba22f94f8415fadd1a (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < cd161198e091e8a62b9bd631be970ea9a87d2d6a (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 1df0d4c616138784e033ad337961b6e1a6bcd999 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)6.6.157 through 6.6.* (unaffected · semver)6.12.26 through 6.12.* (unaffected · semver)6.14.5 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
ksmbd: fix WARNING "do not call blocking ops when !TASK_RUNNING"
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0fcbe5d0b95fdb019eee9341cd62d2835c00697f85912021e4a0e541cf50e90b
- Ingested
- 23 Sep 2026, 08:46:29 UTC
- Source record
- Official CVE record