CVE-2026-98048: bpf: don't rewrite bpf_fastcall patterns entered by a jump

Published Sep 25, 2026
·
Updated

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

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

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

Record the instructions targeted by jumps in insnauxdata[].jumptarget 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 insnauxdata[].jmppoint field can't be reused, as it marks subprogram return instructions.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:23 AM
Data Sourced
via MITRE·10:23 AM
Description

Frequently Asked Questions

1

What code path is affected?

The issue is in the Linux kernel's BPF handling of bpf_fastcall instruction patterns. It concerns a matched "spill; call; fill" sequence that is entered or interrupted by a jump.

2

What condition triggers the unsafe rewrite?

The problem occurs when the fastcall-pattern matcher grows a pattern across an instruction targeted by a jump. Rewriting such a sequence can be unsound; jumps to the first spill instruction are explicitly considered acceptable.

3

What does the fix change?

The fix records jump-target instructions in insn_aux_data[*].jump_target while building the control-flow graph. The fastcall-pattern matcher then stops extending a pattern when it reaches a jump target.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203