CVE-2026-98079

btrfs: zstd: fix lost wakeup when waiting for a workspace

No CVSS score yet EPSS 0.16%

Published 25 Sep 2026 Updated 21 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98079

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98079 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.86% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, before 14d982762945d9945c60bbd48b77df194dd8e28d
affected from 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, before 844603cf842ee67640d33f350e3fa60f3de7fad3
affected from 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, before d8f57049521948df5f50797141472fbbed3b0723
affected from 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, before 0de9f31d447ae71ab08c7850a321682f8d2907c3
affected from 3f93aef535c8ea03e40cd8acf0753b3e6ed33e96, before 2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7
Other versions: unaffected
Linux
affected 5.1
unaffected before 5.1
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.114 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected from 7.2.7 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98079 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98079

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98079
trivy image --scanners vuln IMAGE | grep CVE-2026-98079

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98079 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.