btrfs: zstd: fix lost wakeup when waiting for a workspace
CVE-2026-98079 is fixed in 20 products on 1 platform, first by DEBIAN-CVE-2026-98079, released October 2, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| bpftool6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| bpftool6.18-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel-livepatch-6.18.54-121.166 · amzn 2023 | 1:1.0-0.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-debuginfo-common-aarch64 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-debuginfo-common-x86_64 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-devel · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-headers · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-modules-extra · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-modules-extra-common · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-tools · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-tools-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| kernel6.18-tools-devel · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| linux · Debian 13.5 (trixie) | 6.12.115-2 | DEBIAN-CVE-2026-98079 | Oct 2, 2026 |
| linux · Debian 14 | 7.2.7-1 | DEBIAN-CVE-2026-98079 | Oct 2, 2026 |
| microvm-kernel6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| perf6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| perf6.18-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| python3-perf6.18 · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
| python3-perf6.18-debuginfo · amzn 2023 | 1:6.18.54-121.166.amzn2023 | ALAS2023-2026-3192 | Nov 7, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.