CVE-2026-98079
btrfs: zstd: fix lost wakeup when waiting for a workspace
Reported by linux · Published September 25, 2026
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.
EPSS 0.16% · 4.7th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| Linux | Linux | 5.1, 2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96 |
| Linux | Linux | 5.1, 0, 6.6.160 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| Linux | Linux | 5.1, 6.12.114, 6.6.160 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| linux | linux_kernel | 5.1, 5.1, 5.1 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
…and 8 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (9 in total, the first dated here)
- Oct 21, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98079
vulnetix vdb fixes CVE-2026-98079
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98079/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart