CVE-2026-98048 PUBLISHED

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

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 5b5f51bff1b66cedb62b5ba74a1878341204e057 to 24adbc2c3bbe3385ce922587e1f8e837a68b3e25 (excl.)
  • affected from 5b5f51bff1b66cedb62b5ba74a1878341204e057 to 0b1c83dc3c4401cd7e846548f62e3caf3d06742e (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.12 is affected
  • unaffected from 0 to 6.12 (excl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc2 to * (incl.)

References