CVE-2026-98042
Last modified
CVE-2026-98042 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: bpf: Don't resurrect a scalar id dropped by collect_linked_regs() check_cond_jmp_op() copies the compared registers into env->{false,true}_reg{1,2} before collect_linked_regs() runs and copies those snapshots back into both branch states afterwards. collect_linked_regs() records at most LINKED_REGS_MAX members of a linked registers group in the jump history and calls clear_scalar_id() for every member that does not fit. The compared register is not exempt from that. As a consequence, sync_linked_regs() might adjust ranges for more registers than bpf_bt_sync_linked_regs() can propagate precision to. Collect the linked registers before the snapshots are taken instead. This might lead to some unnecessary clear_scalar_id's, but from previous testing situations with many linked registers are extremely rare..
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Don't resurrect a scalar id dropped by collect_linked_regs() check_cond_jmp_op() copies the compared registers into env->{false,true}_reg{1,2} before collect_linked_regs() runs and copies those snapshots back into both branch states afterwards. collect_linked_regs() records at most LINKED_REGS_MAX members of a linked registers group in the jump history and calls clear_scalar_id() for every member that does not fit. The compared register is not exempt from that. As a consequence, sync_linked_regs() might adjust ranges for more registers than bpf_bt_sync_linked_regs() can propagate precision to. Collect the linked registers before the snapshots are taken instead. This might lead to some unnecessary clear_scalar_id's, but from previous testing situations with many linked registers are extremely rare.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= ec1d77cb0ee98249142dcd0376d76e7a48ba0b31, < e821ff19b8ef08255ff8d8234774ed814637e9bf; >= ec1d77cb0ee98249142dcd0376d76e7a48ba0b31, < 73a98f96811e2cb0f4210b1caa8cb322f92f2a2b |
| Linux | Linux | 7.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98042?
How severe is CVE-2026-98042?
How do I fix CVE-2026-98042?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98037In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98038In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98039In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9804A flaw was found in KubeVirt's virt-exportserver component. …7.7
- CVE-2026-98040In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98041In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-98043In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98044In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98045In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98046In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98047In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98048In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98042?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
