{"id":29234,"date":"2026-09-25T20:32:12","date_gmt":"2026-09-25T12:32:12","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98079"},"modified":"2026-09-25T20:32:12","modified_gmt":"2026-09-25T12:32:12","slug":"cve-2026-98079","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98079","title":{"rendered":"CVE-2026-98079 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zstd: fix lost"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>btrfs: zstd: fix lost wakeup when waiting for a workspace<\/p>\n<p>A writer can sleep forever in zstd_get_workspace() even though a workspace<br \/>\nis free.  When zstd_alloc_workspace() fails, the task is queued on<br \/>\nzwsm-&gt;wait and schedules unconditionally, never re-testing the pool.<br \/>\nzstd_put_workspace() publishes the workspace and then calls cond_wake_up(),<br \/>\nwhich only wakes when a sleeper is already visible, so a workspace returned<br \/>\nbetween the failed allocation and prepare_to_wait() wakes nobody.  The<br \/>\nwindow is wide: zstd_alloc_workspace() goes through kvmalloc() and may<br \/>\nenter reclaim.<\/p>\n<p>Only a max level workspace triggers the wakeup and one is deliberately kept<br \/>\nallocated as the fallback every waiter waits for, so once its wakeup is<br \/>\nlost the writer stays in TASK_UNINTERRUPTIBLE until some other task happens<br \/>\nto return one.  Re-check the pool after prepare_to_wait() has published the<br \/>\nwaiter, and use the workspace if one turned up.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>btrfs: zstd: fix lost wakeup when waiting for a workspace<\/p>\n<p>A writer can sleep forever in zstd_get_workspace() even though a workspa<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29234","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}