In the Linux kernel, the following vulnerability has been resolved: bpf: Restrict CO-RE poisoning to relocatable instructions CO-RE relocation… (CVE-2026-98626)
Description
A vulnerability in the Linux kernel's BPF CO-RE relocation handling has been resolved. The issue involved improper poisoning of instructions when a relocation could not be resolved, allowing malformed metadata to replace critical instructions such as jumps, calls, and exits. The fix restricts poisoning to only valid relocatable instructions and enforces strict validation checks, preventing invalid instruction modifications.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's BPF CO-RE relocation mechanism allowed relocation records to name any instruction offset. When a relocation could not be resolved, the function bpf_core_patch_insn() would poison the target instruction before validating if it was a valid relocation target. This flaw permitted malformed metadata to replace critical instructions like jumps, calls, exits, register-source arithmetic, or non-immediate loads, which should have failed at the relocation step. The fix ensures poisoning occurs only after the instruction passes class and operand-form checks, routing invalid forms to diagnostics and hard errors. Additionally, poisoning support was extended to both halves of ldimm64 instructions to maintain validity in dead code. These changes apply to both libbpf and in-kernel CO-RE shared relocation code.
Potential Impact
The vulnerability could allow malformed metadata to alter critical BPF instructions improperly, potentially affecting kernel behavior or security enforcement. However, no known exploits in the wild have been reported. The fix prevents invalid instruction poisoning, reducing the risk of unintended or malicious kernel instruction manipulation via BPF CO-RE relocations.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to restrict CO-RE poisoning to valid relocatable instructions only. Users should update to the fixed kernel version once available. Since this is a kernel vulnerability, applying the official kernel update from the vendor or distribution is the recommended remediation. No additional mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7qcx-cmxq-wh7w
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98626"]
Threat ID: 6ad520ad2cdf04f656993a69
Added to database: 10/18/2026, 19:40:29 UTC
Last enriched: 10/18/2026, 21:33:57 UTC
Last updated: 10/19/2026, 00:08:16 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.