{"schema":"threatline.record/2","record":{"id":"CVE-2026-98788","aliases":[],"summary":"futex: Fix private hash use-after-free on resize","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfutex: Fix private hash use-after-free on resize\n\npoll_state_synchronize_rcu(mm->futex.phash.batches) is used by\nfutex_ref_drop() to check that a grace period has passed since the\ncurrent hash was published. This relies on batches referencing a grace\nperiod which started after the hash pointer was assigned.\n\n__futex_pivot_hash() sets mmph->batches before it replaces mmph->hash:\n\n    scoped_guard(rcu) {\n            mmph->batches = get_state_synchronize_rcu();\n            rcu_assign_pointer(mmph->hash, new);\n    }\n\nThe scoped_guard(rcu) doesn't stop new grace periods from starting, and\nif one starts between those two assignments, futex_ref_drop() can move\nforward while a reader still holds a pointer to the old hash.\n\nFix things by setting mmph->batches after assigning mmph->hash.  The\nscoped_guard(rcu) isn't needed, so let's drop that as well.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98788","source_modified_at":"2026-10-19T09:25:41.209Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"56180dd20c19e5b0fa34822997a9ac66b517e7b3","lessThan":"5d5dc18b3a9ac011619b7d3af4514bf9e9b6a6af","status":"affected","versionType":"git"},{"version":"56180dd20c19e5b0fa34822997a9ac66b517e7b3","lessThan":"f35e3b5784221654f9cdbd6222275a7fa203f6c3","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98788","source_modified_at":"2026-10-19T09:25:41.209Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","status":"unaffected","versionType":"semver"},{"version":"7.2.10","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-98788","source_modified_at":"2026-10-19T09:25:41.209Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"5d5dc18b3a9ac011619b7d3af4514bf9e9b6a6af","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00155,"percentile":0.04316,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:48:24.833Z","modified_at":"2026-10-19T09:25:41.209Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98788","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:25:41.209Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98788","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/5d5dc18b3a9ac011619b7d3af4514bf9e9b6a6af"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/f35e3b5784221654f9cdbd6222275a7fa203f6c3"}],"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-19T09:25:41.209Z","content_hash":"79e25b6b8c20bf7757133b12ad4e0cad313c30dc07392056298f655da7da1e62"}}
