{"id":"CVE-2026-93127","aliases":["CVE-2026-93127"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Drop scalar id on sign-extending narrowing stack fills","summary":"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)).","summarySource":"cvelist","descriptions":[{"lang":"en","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)).","source":"cvelist"}],"published":"2026-09-17T16:11:31.253Z","modified":"2026-10-19T10:17:02.730Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3cd5c890652ba1f0682adc291b5446245259b692","fixed":"f3614622dc41f3dd99bb4f691da253814e4e6cae","status":"affected"},{"type":"git","introduced":"3cd5c890652ba1f0682adc291b5446245259b692","fixed":"2cb5f4ca695ebe552647e5ba4aad6934d6a43bae","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f3614622dc41f3dd99bb4f691da253814e4e6cae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cb5f4ca695ebe552647e5ba4aad6934d6a43bae","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93127","url":"https://www.cve.org/CVERecord?id=CVE-2026-93127","licence":"CVE Terms of Use","modified":"2026-10-19T09:06:00.545Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93127","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93127","licence":"Public domain","modified":"2026-10-19T10:17:02.730Z"}],"updatedAt":"2026-11-25T22:59:39.462Z","epss":{"score":0.00154,"percentile":0.04732,"date":"2026-12-01T12:00:22.000Z"}}