CVE-2026-98079
Medium 5.5No known exploitationFix availablebtrfs: zstd: fix lost wakeup when waiting for a workspace
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 5% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: zstd: fix lost wakeup when waiting for a workspace A writer can sleep forever in zstd_get_workspace() even though a workspace is free. When zstd_alloc_workspace() fails, the task is queued on zwsm->wait and schedules unconditionally, never re-testing the pool. zstd_put_workspace() publishes the workspace and then calls cond_wake_up(), which only wakes when a sleeper is already visible, so a workspace returned between the failed allocation and prepare_to_wait() wakes nobody. The window is wide: zstd_alloc_workspace() goes through kvmalloc() and may enter reclaim. Only a max level workspace triggers the wakeup and one is deliberately kept allocated as the fallback every waiter waits for, so once its wakeup is lost the writer stays in TASK_UNINTERRUPTIBLE until some other task happens to return one. Re-check the pool after prepare_to_wait() has published the waiter, and use the workspace if one turned up.
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | Not documented | Microsoft MSRC |
| Microsoft | azl3 kernel 6.6.159.1-1 on Azure Linux 3.0 | Not documented | 6.6.161.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| linux | linux_kernel | from 5.1 before 6.6.160 | 6.6.160 | NIST NVD |
| linux | linux_kernel | from 6.13 before 6.18.53 | 6.18.53 | NIST NVD |
| linux | linux_kernel | from 6.19 before 7.2.7 | 7.2.7 | NIST NVD |
| linux | linux_kernel | from 6.7 before 6.12.114 | 6.12.114 | NIST NVD |
| linux | linux_kernel | 7.3 | Not documented | NIST NVD |
Timeline
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Advisory change
Microsoft advisory revised (6.0): Information published.
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- https://git.kernel.org/stable/c/0de9f31d447ae71ab08c7850a321682f8d2907c3 (opens in a new tab)patch
- https://git.kernel.org/stable/c/14d982762945d9945c60bbd48b77df194dd8e28d (opens in a new tab)patch
- https://git.kernel.org/stable/c/2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7 (opens in a new tab)patch
- https://git.kernel.org/stable/c/844603cf842ee67640d33f350e3fa60f3de7fad3 (opens in a new tab)patch
- https://git.kernel.org/stable/c/d8f57049521948df5f50797141472fbbed3b0723 (opens in a new tab)patch
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory