{"id":"CVE-2026-90211","aliases":["CVE-2026-90211"],"related":[],"kind":"vulnerability","state":"published","title":"bpf, s390: Clear fetch destination on faulting arena atomic","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, s390: Clear fetch destination on faulting arena atomic\n\nSame missing register clear as on riscv64. A RMW atomic on an arena pointer\nis converted to BPF_PROBE_ATOMIC and gets an exception table entry, but\nbpf_jit_probe_atomic_pre() only fills in the arena base and the probe\noffset, leaving probe->reg at the -1 that bpf_jit_probe_init() set, which\nbpf_jit_probe_post() writes into the entry and ex_handler_bpf() then reads\nback as \"there is nothing to clear\".\n\nThat is right for a plain BPF_{ADD,AND,OR,XOR}, which only writes memory,\nbut an RMW carrying BPF_FETCH also reads the old value into a register:\nsrc_reg for BPF_{ADD,AND,OR,XOR} | BPF_FETCH and BPF_XCHG, and r0 for\nBPF_CMPXCHG. So on a fault over an unmapped arena page the program resumes\nat the landing pad with whatever that register held before the atomic\ninstead of the 0 that every other BPF_PROBE_* access delivers.\n\nFill probe->reg in from bpf_atomic_load_reg(). Unlike x86-64 and arm64,\ns390x does not report arena violations from its exception handler, so there\nis no access direction to correct here, only the missing register clear.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf, s390: Clear fetch destination on faulting arena atomic\n\nSame missing register clear as on riscv64. A RMW atomic on an arena pointer\nis converted to BPF_PROBE_ATOMIC and gets an exception table entry, but\nbpf_jit_probe_atomic_pre() only fills in the arena base and the probe\noffset, leaving probe->reg at the -1 that bpf_jit_probe_init() set, which\nbpf_jit_probe_post() writes into the entry and ex_handler_bpf() then reads\nback as \"there is nothing to clear\".\n\nThat is right for a plain BPF_{ADD,AND,OR,XOR}, which only writes memory,\nbut an RMW carrying BPF_FETCH also reads the old value into a register:\nsrc_reg for BPF_{ADD,AND,OR,XOR} | BPF_FETCH and BPF_XCHG, and r0 for\nBPF_CMPXCHG. So on a fault over an unmapped arena page the program resumes\nat the landing pad with whatever that register held before the atomic\ninstead of the 0 that every other BPF_PROBE_* access delivers.\n\nFill probe->reg in from bpf_atomic_load_reg(). Unlike x86-64 and arm64,\ns390x does not report arena violations from its exception handler, so there\nis no access direction to correct here, only the missing register clear.","source":"cvelist"}],"published":"2026-09-17T16:07:25.454Z","modified":"2026-10-19T09:19:11.277Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2f9469484a3b52c66b799de73bd1ca75617bc8d5","fixed":"44b702fceb4cf3a4ddbfb496f487b034814bf1a3","status":"affected"},{"type":"git","introduced":"2f9469484a3b52c66b799de73bd1ca75617bc8d5","fixed":"cc3e12330599f097f0e1f792435686ddc276f26d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","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/44b702fceb4cf3a4ddbfb496f487b034814bf1a3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc3e12330599f097f0e1f792435686ddc276f26d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90211","url":"https://www.cve.org/CVERecord?id=CVE-2026-90211","licence":"CVE Terms of Use","modified":"2026-10-19T08:59:47.377Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90211","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90211","licence":"Public domain","modified":"2026-10-19T09:19:11.277Z"}],"updatedAt":"2026-11-25T22:59:39.343Z","epss":{"score":0.00189,"percentile":0.08985,"date":"2026-12-01T12:00:22.000Z"}}