VDB

CVE-2026-98079

CVE-2026-98079 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12-tools-develAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-headersAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.114-139.210.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023
LinuxLinux5.1, 2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7

Risk scores

EPSS Score
0.16%
4.7th percentile

Affected products

VendorProductVersions
LinuxLinux3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96
LinuxLinux5.1, 0, 6.6.160
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.180
amazon:2023kernel6.18-headers0
LinuxLinux5.1, 6.12.114, 6.6.160
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.12.114-139.2100
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-modules-extra0
amazon:2023bpftool6.120
linuxlinux_kernel5.1, 5.1, 5.1
amazon:2023bpftool6.180
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023microvm-kernel6.180

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›