Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-98048

Опубликовано: 25 сент. 2026
Источник: redhat
CVSS3: 6.7

Описание

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.

A flaw was found in the Linux kernel's BPF (Berkeley Packet Filter) verifier. This vulnerability may allow a local user to achieve privilege escalation or cause a Denial of Service (DoS) through memory corruption. During helper call optimizations, the verifier improperly rewrites instruction sequences that are entered by a jump instruction. A local attacker with permission to load BPF programs can exploit this issue by submitting a specially crafted program, triggering unsound instruction transformations that bypass safety checks.

Отчет

An unsound BPF fastcall optimization can rewrite a verified spill, call, and fill instruction pattern even when a jump enters the middle of that pattern. Removing the spill and fill instructions can change the runtime register state while later instructions remain validated against the original program state. This verifier to runtime semantic mismatch may allow a crafted BPF program to use a scalar or another unexpected value where the verifier expects a safe register value or pointer. Impact is at least a local denial of service and may include kernel memory corruption, privilege escalation, and loss of confidentiality and integrity. For the CVSS the PR:L value is used because a local process must be able to load a crafted BPF program, typically through CAP_BPF, CAP_SYS_ADMIN, delegated BPF access, or enabled unprivileged BPF. The issue is not network reachable. The paranoid score uses CIA:HHH because a post verification semantic mismatch can plausibly undermine BPF memory safety, although a concrete arbitrary read or write primitive is not demonstrated by the supplied diff.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelWill not fix
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelWill not fix
Red Hat Enterprise Linux 9kernel-rtNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Will not fix

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-20
https://bugzilla.redhat.com/show_bug.cgi?id=2541306kernel: bpf: don't rewrite bpf_fastcall patterns entered by a jump

6.7 Medium

CVSS3

Связанные уязвимости

ubuntu
2 месяца назад

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.

nvd
2 месяца назад

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.

msrc
около 1 месяца назад

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

debian
2 месяца назад

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

github
2 месяца назад

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.

6.7 Medium

CVSS3