CVE-2026-98869·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: bpf: Infer zext_dst based on static register liveness analysis As reported in the thread [1], the verifier's 32-bit operations zero extension logic is broken. This logic is responsible for correct semantics of 32-bit operations on s390 architecture. According to BPF semantics, operation `w1 += 1` is supposed to zero extend the upper half of the register `r1`. On s390 the JIT relies on the verifier emitting explicit zero extension before such operations. The verifier attempts to minimize the amount of zero extensions inserted by tracking whether upper halves of the 64-bit registers are ever used. Previously such tracking worked as follows: - bpf_reg_state->subreg_def field was set by do_check_insn() for each operation defining lower but not the upper halves of the register. - Whenever an operation reading the whole register was verified, the verifier checked register's subreg_def and set bpf_insn_aux_data->zext_dst flag as true via a call to mark_insn_zext() function. - After the verification was complete, a special pass bpf_opt_subreg_zext_lo32_rnd_hi32() extended 32-bit operations with bpf_insn_aux_data->zext_dst set as true by adding explicit zero extension. Note that the logic above relies on bpf_reg_state->subreg_def, which is a property of a current verifier state. Before the commit [2] two additional steps happened: - The verifier tracked upper and lower register halves' liveness as flags REG_LIVE_READ{32,64} in bpf_reg_state->live. - The function propagate_liveness() called mark_insn_zext() in order to transfer the knowledge about which registers have their upper halves alive (and thus might require zero extension). The commit [2] removed the two steps described above, hence making possible a situation like below: - The register's upper half is set and is used on some verification path P1 and the register happens not to be marked as precise. - The checkpoint C is created while processing some instruction between register initialization and usage. - On some other verification path P2 the register's upper half is not initialized and that path ends hitting the checkpoint C. - In such a case the register's initialization on path P2 would lack zext_dst mark, making it possible for the program to inject an arbitrary value in the register's upper half. This commit replaces subreg_def based logic with computing zext_dst statically, as a part of the bpf_compute_live_registers() analysis: - The analysis now tracks usage of upper and lower halves of the registers separately. - If some instruction defines a 32-bit subregister, but not the whole register, *and* the upper half of the register is alive after that instruction, the instruction is marked as zext_dst. There is one notable drop in precision: whenever a BPF subprogram is called, all 64 bits of parameter registers are presumed to be used. The assumption is that such a drop in precision would not inflict a noticeable performance penalty. [1] https://lore.kernel.org/bpf/CAGKGUv=sOuqQtA1Ub-5JXfA4FPosJFYKAQE4B79cK+P1erxqtg@mail.gmail.com/ [2] commit 107e16979905 ("bpf: disable and remove registers chain based liveness")
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.16% — higher than 4% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98869 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.16%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
Update your Linux kernel to version 7.3 or later to resolve this BPF verifier vulnerability. This patch corrects the zero-extension logic for 32-bit operations on s390 and other architectures by implementing static register liveness analysis. Failing to apply this update may allow unprivileged local users to inject arbitrary values into register upper halves, potentially leading to privilege escalation or kernel exploitation.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r
- Verify BPF support is enabled: grep CONFIG_BPF /boot/config-$(uname -r)
- Search kernel logs for BPF verifier warnings: sudo journalctl -b | grep -i 'bpf.*verif'
- Confirm patch applied by checking kernel commit: git log --oneline | grep -i 'zext_dst' || uname -r | grep -E '^[7-9]\.[3-9]'
FAQ
What is CVE-2026-98869?
This vulnerability exists in the Linux kernel's BPF (Berkeley Packet Filter) verifier, where the zero-extension logic for 32-bit operations is broken. An unprivileged local attacker can exploit this to inject arbitrary values into the upper half of CPU registers, potentially leading to privilege escalation.
Is CVE-2026-98869 being actively exploited?
No, according to the CISA Known Exploited Vulnerabilities catalog, CVE-2026-98869 is not currently being actively exploited in the wild, and no public exploits are available.
What versions of Kernel are affected by CVE-2026-98869?
All kernel versions prior to 7.3 are affected. The vulnerability stems from a change introduced in commit 107e16979905 and impacts systems relying on explicit zero-extension for BPF 32-bit operations, particularly on s390 architecture.
How do I check if my server is vulnerable to CVE-2026-98869?
Run 'uname -r' and compare your kernel version against 7.3. Versions below 7.3 are vulnerable. Additionally, verify BPF is enabled with 'grep CONFIG_BPF /boot/config-$(uname -r)'.
Does Defensia detect CVE-2026-98869?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98869 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98869. Free for 1 server.
Get started free