CVE Database›Document archive›CVE-2015-4700

CVE-2015-4700

kernel: Crafted BPF filters may crash kernel during JIT optimisation

Loading…

Severity

Important

Red Hat Product Security

7.2

CVSS 2.0

Review impact separately from score.

Published · June 23, 2015

Updated · June 28, 2026

Description

A flaw was found in the kernel's implementation of the Berkeley Packet Filter (BPF). A local attacker could craft BPF code to crash the system by creating a situation in which the JIT compiler would fail to correctly optimize the JIT image on the last pass. This would lead to the CPU executing instructions that were not part of the JIT code.

Statement

This issue does not affect the Linux kernels as shipped with Red Hat Enterprise Linux 5 and 6 as it does not contain the affected code. This does not affect the Red Hat Enterprise MRG 2 as it does not enable the affected code at compile time.

This issue affects the Linux kernels as shipped with Red Hat Enterprise Linux 7.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

This issue does not affect most systems by default. An administrator would need to have enabled the BPF JIT to be affected.

It can be disabled immediately with the command:

echo 0 > /proc/sys/net/core/bpf_jit_enable

Or it can be disabled for all subsequent boots of the system by setting a value in /etc/sysctl.d/44-bpf-jit-disable

start file

net.core.bpf_jit_enable=0

end file

CVSS / CWE

CVSS 2.0 · 7.2
AV:L/AC:L/Au:N/C:C/I:C/A:C

CWE-665 · Improper Initialization