{"vuln_id":"CVE-2026-98079","aliases":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zstd: fix lost wakeup when waiting for a workspace\n\nA writer can sleep forever in zstd_get_workspace() even though a workspace\nis free.  When zstd_alloc_workspace() fails, the task is queued on\nzwsm->wait and schedules unconditionally, never re-testing the pool.\nzstd_put_workspace() publishes the workspace and then calls cond_wake_up(),\nwhich only wakes when a sleeper is already visible, so a workspace returned\nbetween the failed allocation and prepare_to_wait() wakes nobody.  The\nwindow is wide: zstd_alloc_workspace() goes through kvmalloc() and may\nenter reclaim.\n\nOnly a max level workspace triggers the wakeup and one is deliberately kept\nallocated as the fallback every waiter waits for, so once its wakeup is\nlost the writer stays in TASK_UNINTERRUPTIBLE until some other task happens\nto return one.  Re-check the pool after prepare_to_wait() has published the\nwaiter, and use the workspace if one turned up.","published_at":"2026-09-25T11:17:37.307000Z","modified_at":"2026-11-17T20:23:51.137000Z","first_seen_at":"2026-11-21T19:15:46.903304Z","severity":"medium","severity_source":"nvd","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00155,"epss_percentile":0.04587,"nvd_status":"Analyzed","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98079"},"matched_alias":null,"items":[{"id":3629,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-98079: 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 zst…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zstd: fix lost wakeup when waiting for a workspace\n\nA writer can sleep forever in zstd_get_workspace() even though a workspace\nis free.  When zstd_alloc_workspace() fails, the task is queued on\nzwsm->wait and schedules unconditionally, never re-testing the pool.\nzstd_put_workspace() publishes the workspace and then calls cond_wake_up(),\nwhich only wakes when a sleeper is already visible, so a workspace returned\nbetween the failed allocation and prepare_to_wait() wakes nobody.  The\nwindow is wide: zstd_alloc_workspace() goes through kvmalloc() and may\nenter reclaim.\n\nOnly a max level workspace triggers the wakeup and one is deliberately kept\nallocated as the fallback every waiter waits for, so once its wakeup is\nlost the writer stays in TASK_UNINTERRUPTIBLE until some other task happens\nto return one.  Re-check the pool after prepare_to_wait() has published the\nwaiter, and use the workspace if one turned up.\n\nReferences:\nhttps://git.kernel.org/stable/c/0de9f31d447ae71ab08c7850a321682f8d2907c3\nhttps://git.kernel.org/stable/c/14d982762945d9945c60bbd48b77df194dd8e28d\nhttps://git.kernel.org/stable/c/2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7\nhttps://git.kernel.org/stable/c/844603cf842ee67640d33f350e3fa60f3de7fad3\nhttps://git.kernel.org/stable/c/d8f57049521948df5f50797141472fbbed3b0723","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98079","published_at":"2026-09-25T11:17:37.307000Z","updated_at":"2026-11-17T20:23:51.137000Z","fetched_at":"2026-11-21T19:15:31.479177Z","severity":"medium","cvss_score":5.5,"epss":0.00155,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-98079","vuln_ids":["CVE-2026-98079"],"tags":[],"cluster_id":3928,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3629","html":"https://vulnwatch.ve1ve2.com/item/3629"}}]}