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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-25T10:23:57.956Z
- Modified: 2026-10-21T13:21:20.280Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5b5f51bff1b66cedb62b5ba74a1878341204e057 before a0cd1c3ac63504ba3c50c01a00c11812919b619f; from 5b5f51bff1b66cedb62b5ba74a1878341204e057 before c4d3bdb3ab211dcfad734b02e06fcb12adb4757f; from 5b5f51bff1b66cedb62b5ba74a1878341204e057 before 24adbc2c3bbe3385ce922587e1f8e837a68b3e25; from 5b5f51bff1b66cedb62b5ba74a1878341204e057 before 0b1c83dc3c4401cd7e846548f62e3caf3d06742e; 6.12 (not affected: before 6.12; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/a0cd1c3ac63504ba3c50c01a00c11812919b619f>
- <https://git.kernel.org/stable/c/c4d3bdb3ab211dcfad734b02e06fcb12adb4757f>
- <https://git.kernel.org/stable/c/24adbc2c3bbe3385ce922587e1f8e837a68b3e25>
- <https://git.kernel.org/stable/c/0b1c83dc3c4401cd7e846548f62e3caf3d06742e>

## Sources

- CVE List: [CVE-2026-98048](https://www.cve.org/CVERecord?id=CVE-2026-98048), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-98048](https://nvd.nist.gov/vuln/detail/CVE-2026-98048), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-98048 · Whole record: https://cve.day/CVE-2026-98048.json · Rebuilt by cve.day 2026-11-25T22:59:41.035Z
