CVE-2026-98079: btrfs: zstd: fix lost wakeup when waiting for a workspace
Vulnerability summary
CVE-2026-98079 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 20 · Related 16Timeline
- 25-09-2026PublishedVulnerability first disclosed.
- 21-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
Decrease -0.04 pp
From 0.20% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu165 products
- linuxAll versions (No fix recorded) | < 6.8.0-151.151 | < 7.0.0-42.42
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1070.76 | < 7.0.0-1016.17
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linuxAll versions (No fix recorded) | < 6.12.115-2 | < 7.2.7-1
- linux-6.12< 6.12.115-2~deb12u1
Linux2 products
- linux≥ 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, < 14d982762945d9945c60bbd48b77df194dd8e28d | ≥ 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, < 844603cf842ee67640d33f350e3fa60f3de7fad3 | ≥ 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, < d8f57049521948df5f50797141472fbbed3b0723 | ≥ 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, < 0de9f31d447ae71ab08c7850a321682f8d2907c3 | ≥ 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, < 2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7 | 5.1
- linux_kernel≥ 5.1, < 6.6.160 | ≥ 6.7, < 6.12.114 | ≥ 6.13, < 6.18.53 | ≥ 6.19, < 7.2.7 | 7.3:rc1
3 vendors · 169 products