Skip to content
OpenAdvisories

Description

An out-of-bounds (OOB) memory access flaw was found in the Linux kernel's eBPF due to an Improper Input Validation. This flaw allows a local attacker with a special privilege to crash the system or leak internal information.

Affected products

VendorProductAffectedFixed
— kernel Affects Linux kernel v5.8 or later —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.17.3-1 —
Debian 13 linux 5.17.3-1 —
Debian 12 linux 5.17.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS linux-azure-fde-5.19 No fix yet —
Ubuntu 20.04 LTS linux-aws-5.11 +2 5.11.0-1025.27~20.04.1 USN-5219-1
Ubuntu 20.04 LTS linux-aws-5.13 5.13.0-1011.12~20.04.1 —
Ubuntu 20.04 LTS linux-azure-5.13 5.13.0-1012.14~20.04.1 —
Ubuntu 20.04 LTS linux-gcp-5.11 5.11.0-1026.29~20.04.1 USN-5219-1
Ubuntu 20.04 LTS linux-gcp-5.13 5.13.0-1012.15~20.04.1 —
Ubuntu 20.04 LTS linux-hwe-5.11 5.11.0-46.51~20.04.1 USN-5219-1
Ubuntu 20.04 LTS linux-hwe-5.13 5.13.0-25.26~20.04.1 —
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1055.58 USN-5219-1
Ubuntu 20.04 LTS linux-oem-5.13 5.13.0-1026.32 USN-5218-1
Ubuntu 20.04 LTS linux-oem-5.14 5.14.0-1018.19 USN-5217-1
Ubuntu 20.04 LTS linux-oracle-5.13 5.13.0-1015.19~20.04.1 —
Ubuntu 20.04 LTS linux-riscv +9 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.11 5.11.0-1026.28~20.04.1 —
Ubuntu 18.04 LTS linux-gcp +12 No fix yet —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 kernel-rt +12 4.18.0-553.rt7.342.el8_10 RHSA-2024:2950
RHEL 8 perf +26 4.18.0-553.el8_10 RHSA-2024:3138
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 perf +2 4.18.0-372.91.1.el8_6 RHSA-2024:0724
RHEL 8.8 EUS perf +26 4.18.0-477.81.1.el8_8 RHSA-2024:10262
RHEL 8.6 EUS perf +26 4.18.0-372.91.1.el8_6 RHSA-2024:0724

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 kernel-rt +11 4.18.0-553.rt7.342.el8_10 ALSA-2024:2950
AlmaLinux 8 perf +24 4.18.0-553.el8_10 ALSA-2024:3138

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 kernel 4.18.0-553.el8_10 RXSA-2024:3138, RLSA-2024:3138
Rocky Linux 8 kernel-rt 4.18.0-553.rt7.342.el8_10 RLSA-2024:2950
ReleasePackageFixed inAdvisory
SLES 15 SP5 kernel-64kb +4 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SLES 15 SP5 kernel-default-base 5.14.21-150500.55.80.2.150500.6.35.6 SUSE-SU-2024:3483-1
SLES 15 SP5 kernel-syms +1 5.14.21-150500.55.80.1 SUSE-SU-2024:3483-1
SLES 15 SP4 kernel-64kb +6 5.14.21-150400.24.11.1 SUSE-SU-2022:2520-1
SLES 15 SP4 kernel-azure +2 5.14.21-150400.14.7.1 SUSE-SU-2022:2615-1
SLES 15 SP4 kernel-default-base 5.14.21-150400.24.11.1.150400.24.3.6 SUSE-SU-2022:2520-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.5 kernel-default 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SLE Micro 5.5 kernel-default-base 5.14.21-150500.55.80.2.150500.6.35.6 SUSE-SU-2024:3483-1
SLE Live Patching 15 SP5 kernel-default 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
SLE Live Patching 15 SP5 kernel-livepatch-SLE15-SP5_Update_19 1-150500.11.3.2 SUSE-SU-2024:3483-1
SLE Live Patching 15 SP4 kernel-default 5.14.21-150400.24.11.1 SUSE-SU-2022:2520-1
SLE Live Patching 15 SP4 kernel-livepatch-SLE15-SP4_Update_1 1-150400.9.5.3 SUSE-SU-2022:2520-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 dtb-aarch64 +3 5.14.21-150500.55.80.1 SUSE-SU-2024:3483-1
openSUSE Leap 15.5 kernel-64kb +6 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
openSUSE Leap 15.5 kernel-default-base 5.14.21-150500.55.80.2.150500.6.35.6 SUSE-SU-2024:3483-1
openSUSE Leap 15.4 dtb-aarch64 +10 5.14.21-150400.24.11.1 SUSE-SU-2022:2520-1
openSUSE Leap 15.4 kernel-azure +2 5.14.21-150400.14.7.1 SUSE-SU-2022:2615-1
openSUSE Leap 15.4 kernel-default-base 5.14.21-150400.24.11.1.150400.24.3.6 SUSE-SU-2022:2520-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.5 kernel-default 5.14.21-150500.55.80.2 SUSE-SU-2024:3483-1
openSUSE Leap Micro 5.5 kernel-default-base 5.14.21-150500.55.80.2.150500.6.35.6 SUSE-SU-2024:3483-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perf +19 4.18.0-553.el8_10 ELSA-2024-3138

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • tr3ee/CVE-2021-4204 ★ 62 · Feb 24, 2022

    CVE-2021-4204: Linux Kernel eBPF Local Privilege Escalation

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 17

References