CVE-2021-47300
kernel: bpf: Fix tail_call_reachable rejection for interpreter when jit failed
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 21, 2024
Updated · October 29, 2026
Description
A vulnerability was found in the Linux kernel's BPF subsystem, due handling of BPF programs when the JIT compiler fails. If a failure occurs, the system may incorrectly handle tail calls, potentially causing out-of-bounds memory access. This flaw can lead to unpredictable behavior or system crashes if certain conditions are met during program execution.
Statement
This vulnerability is rated as a moderate severity because an out-of-bounds memory access, which could lead to crashes or unexpected behavior, but does not provide direct mechanisms for unauthorized access or data manipulation.
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
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
CVSS / CWE
CVSS 3.1 · 6CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
CWE-125 · Out-of-bounds Read