{"id":"CVE-2026-93127","published":"2026-09-17T16:11:31Z","modified":"2026-10-19T09:06:00Z","title":"bpf: Drop scalar id on sign-extending narrowing stack fills","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Drop scalar id on sign-extending narrowing stack fills\n\nWhen a spilled scalar is filled back with a sign-extending narrowing load\n(BPF_MEMSX), check_stack_read_fixed_off() copies the spilled register\nincluding its scalar id, but coerce_reg_to_size_sx() then sign-extends the\nfilled register's value. If the same slot is also filled with a plain\nzero-extending load (BPF_MEM), both destination registers share the id yet\nhold different values. A later 'if <zext-reg> == const' then refines the\nsign-extended register through sync_linked_regs() to a value it does not\nhave at runtime (e.g. the verifier believes 0x80000000 while the register\nis 0xffffffff80000000), which can be turned into an out-of-bounds access.\n\nDrop the shared scalar id at the sign-extension site in check_mem_access()\nwhen sign extension actually changes the value, mirroring the BPF_MOVSX\nhandling in check_alu_op() (no_sext = reg_umax < 2^(size*8-1)).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00165,"percentile":0.03202,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f3614622dc41f3dd99bb4f691da253814e4e6cae","tags":[]},{"url":"https://git.kernel.org/stable/c/2cb5f4ca695ebe552647e5ba4aad6934d6a43bae","tags":[]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":0.64},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3cd5c890652ba1f0682adc291b5446245259b692, < f3614622dc41f3dd99bb4f691da253814e4e6cae",">= 3cd5c890652ba1f0682adc291b5446245259b692, < 2cb5f4ca695ebe552647e5ba4aad6934d6a43bae"]},{"vendor":"Linux","product":"Linux","versions":["7.0"]}],"euvd":{"id":"EUVD-2026-82235","exploited":false,"provenance":"source"}}