{"id":"CVE-2026-98132","published":"2026-09-25T10:36:11Z","modified":"2026-10-19T09:14:26Z","title":"bpf: don't downgrade half-dead scalar zero spills to STACK_ZERO","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: don't downgrade half-dead scalar zero spills to STACK_ZERO\n\nstates.c:__clean_func_state() can downgrade scalar zero spill to\nSTACK_ZERO in the following case:\n\n  *(u64 *)(r10 - 8) = 0;\n  ... checkpoint ...\n  r1 = *(u32 *)(r10 - 4);\n  ... no reads from r10-8 ...\n\nHere 4 bytes at r10-8 are dead and verifier changes scalar spill to a\ncombination: 0000pppp (p stands for poison). Such a change breaks\nprecision propagation chains. All places that produce STACK_ZERO\nshould call bpf_mark_chain_precision() for the zero source.\n\nThis patch fixes the bug in a simplest way possible:\navoids converting stack spills of zero to STACK_ZERO.\nTwo smarter approaches are possible:\n- do bpf_mark_chain_precision() from __clean_func_state()\n- check slot liveness information in check_stack_write_fixed_off()\n\nI investigated both and the changes required are a bit tricky,\nhence go with a simple fix for the time being.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00143,"percentile":0.01845,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/436fa689630b741a77ef8c4a6f426479affd5bac","tags":[]},{"url":"https://git.kernel.org/stable/c/2f3536bff8823d3c5fdbbe15e17bfca696cc2b2e","tags":[]}],"priority":{"score":0.4,"factors":[{"name":"EPSS percentile","points":0.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= be23266b4a08540aa43d8503a2ea10247c8daebe, < 436fa689630b741a77ef8c4a6f426479affd5bac",">= be23266b4a08540aa43d8503a2ea10247c8daebe, < 2f3536bff8823d3c5fdbbe15e17bfca696cc2b2e"]},{"vendor":"Linux","product":"Linux","versions":["7.1"]}],"euvd":{"id":"EUVD-2026-86963","exploited":false,"provenance":"source"}}