CVE-2026-98079

Source
https://cve.org/CVERecord?id=CVE-2026-98079
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98079.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-98079
Downstream
AZL (1)
BELL (1)
DEBIAN (1)
MGASA (2)
openSUSE (1)
UBUNTU (1)
Related
Published
2026-09-25T10:24:16Z
Modified
2026-10-24T02:36:11Z
Summary
btrfs: zstd: fix lost wakeup when waiting for a workspace
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98079.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3f93aef535c8ea03e40cd8acf0753b3e6ed33e96
Fixed
14d982762945d9945c60bbd48b77df194dd8e28d
Fixed
844603cf842ee67640d33f350e3fa60f3de7fad3
Fixed
d8f57049521948df5f50797141472fbbed3b0723
Fixed
0de9f31d447ae71ab08c7850a321682f8d2907c3
Fixed
2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98079.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.1.0
Fixed
6.6.160
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.114
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98079.json"