{"schema":"threatline.record/2","record":{"id":"CVE-2026-98079","aliases":[],"summary":"btrfs: zstd: fix lost wakeup when waiting for a workspace","details":"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.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98079","source_modified_at":"2026-10-21T12:54:23.769Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"3f93aef535c8ea03e40cd8acf0753b3e6ed33e96","lessThan":"14d982762945d9945c60bbd48b77df194dd8e28d","status":"affected","versionType":"git"},{"version":"3f93aef535c8ea03e40cd8acf0753b3e6ed33e96","lessThan":"844603cf842ee67640d33f350e3fa60f3de7fad3","status":"affected","versionType":"git"},{"version":"3f93aef535c8ea03e40cd8acf0753b3e6ed33e96","lessThan":"d8f57049521948df5f50797141472fbbed3b0723","status":"affected","versionType":"git"},{"version":"3f93aef535c8ea03e40cd8acf0753b3e6ed33e96","lessThan":"0de9f31d447ae71ab08c7850a321682f8d2907c3","status":"affected","versionType":"git"},{"version":"3f93aef535c8ea03e40cd8acf0753b3e6ed33e96","lessThan":"2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98079","source_modified_at":"2026-10-21T12:54:23.769Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.7","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98079","source_modified_at":"2026-10-21T12:54:23.769Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"14d982762945d9945c60bbd48b77df194dd8e28d","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98079","source_modified_at":"2026-10-21T12:54:23.769Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"844603cf842ee67640d33f350e3fa60f3de7fad3","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98079","source_modified_at":"2026-10-21T12:54:23.769Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"0de9f31d447ae71ab08c7850a321682f8d2907c3","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98079","source_modified_at":"2026-10-21T12:54:23.769Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.002,"percentile":0.09335,"score_date":"2026-10-23"},"published_at":"2026-09-25T10:24:16.892Z","modified_at":"2026-10-21T12:54:23.769Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98079","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-21T12:54:23.769Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98079","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/14d982762945d9945c60bbd48b77df194dd8e28d"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/844603cf842ee67640d33f350e3fa60f3de7fad3"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/d8f57049521948df5f50797141472fbbed3b0723"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/0de9f31d447ae71ab08c7850a321682f8d2907c3"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/2acb9f3d1cc8f65dc81ed55e238cbf8e5b60bff7"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-21T12:54:23.769Z","content_hash":"764591ab2dd5aeece624453b355d429c9cb742980413c4b1fe52a7b137a3ca31"}}
