Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: don't rewrite bpf_fastcall patterns entered by a jump

mark_fastcall_pattern_for_call() must ensure that matched
"spill; call; fill" instruction series is not interrupted by a jump.
Otherwise the rewrite applied by bpf_remove_fastcall_spills_fills()
is not sound.

Record the instructions targeted by jumps in
insn_aux_data[*].jump_target when the CFG is built and use this flag
to stop growing a pattern at such an instruction. Jumps to the first
spill are fine.

Note that existing insn_aux_data[*].jmp_point field can't be reused,
as it marks subprogram return instructions.
Published: 2026-09-25
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: Kernel Code Execution
Action: Apply Patch
AI Analysis

Impact

An error in the Linux kernel's BPF compiler prevents the fastcall rewrite logic from correctly handling instruction sequences that are broken by a jump. The function mark_fastcall_pattern_for_call() fails to flag instructions that are the target of a jump, leading bpf_remove_fastcall_spills_fills() to rewrite an incomplete series of spill‑call‑fill instructions. When a malicious BPF program is compiled with this flaw, the rewritten program can execute unintended kernel instructions, providing an avenue for kernel‑level code execution. Based on the description, it is inferred that an attacker would need to supply a crafted BPF program that triggers the faulty rewrite path, which could arise in contexts such as BPF‑based network filtering or eBPF programs run in privileged mode.

Affected Systems

Affected systems are any Linux kernel releases that include the obsolete BPF fastcall rewrite code before commit 0b1c83dc3c4401cd7e846548f62e3caf3d06742e (or the equivalent patch 24adbc2c3bbe3385ce922587e1f8e837a68b3e25). All distributions that ship the Linux kernel in this state, irrespective of edition, are vulnerable. No specific distribution or customer version is listed; the vulnerability is tied to the kernel source itself.

Risk and Exploitability

The CVSS score is 7.0, indicating significant impact when exploited. The EPSS score of < 1% signals a low probability of exploitation at the current time. The vulnerability is not present in the CISA KEV catalog, with no known large‑scale exploitation. Based on the description, it is inferred that exploitation would require a malicious user to load a BPF program that triggers the flawed rewrite, suggesting that privileged contexts or kernel‑deployed BPF usage are preconditions for an attack. While the flaw is remotely exploitable in theory, the practical attack surface is limited to environments that allow custom eBPF programs to run in the kernel.

Generated by OpenCVE AI on October 1, 2026 at 01:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that contains the BPF fastcall rewrite fix (commit 0b1c83dc3c4401cd7e846548f62e3caf3d06742e or commit 24adbc2c3bbe3385ce922587e1f8e837a68b3e25).
  • Reboot or otherwise load the updated kernel to activate the fix.
  • If BPF fastcall or JIT optimizations are not required in your environment, disable them in the kernel configuration to eliminate the rewrite path.

Generated by OpenCVE AI on October 1, 2026 at 01:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 13:30:00 +0000


Wed, 30 Sep 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-571

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-843
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-571

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: don't rewrite bpf_fastcall patterns entered by a jump mark_fastcall_pattern_for_call() must ensure that matched "spill; call; fill" instruction series is not interrupted by a jump. Otherwise the rewrite applied by bpf_remove_fastcall_spills_fills() is not sound. Record the instructions targeted by jumps in insn_aux_data[*].jump_target when the CFG is built and use this flag to stop growing a pattern at such an instruction. Jumps to the first spill are fine. Note that existing insn_aux_data[*].jmp_point field can't be reused, as it marks subprogram return instructions.
Title bpf: don't rewrite bpf_fastcall patterns entered by a jump
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-15T10:12:07.474Z

Reserved: 2026-09-25T10:19:56.072Z

Link: CVE-2026-98048

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:33.663

Modified: 2026-10-15T11:18:10.453

Link: CVE-2026-98048

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98048 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T01:45:16Z

Weaknesses
  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')