Skip to content
OpenAdvisories

Description

There is a vulnerability in the linux kernel versions higher than 5.2 (if kernel compiled with config params CONFIG_BPF_SYSCALL=y , CONFIG_BPF=y , CONFIG_CGROUPS=y , CONFIG_CGROUP_BPF=y , CONFIG_HARDENED_USERCOPY not set, and BPF hook to getsockopt is registered). As result of BPF execution, the local user can trigger bug in __cgroup_bpf_run_filter_getsockopt() function that can lead to heap overflow (because of non-hardened usercopy). The impact of attack could be deny of service or possibly privileges escalation.

Affected products

VendorProductAffectedFixed
— kernel kernel 5.2 and higher. —

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.10.19-1 —
Debian 13 linux 5.10.19-1 —
Debian 12 linux 5.10.19-1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-realtime +1 No fix yet —
Ubuntu 20.04 LTS linux 5.4.0-71.79 USN-4909-1
Ubuntu 20.04 LTS linux-aws 5.4.0-1043.45 USN-4909-1
Ubuntu 20.04 LTS linux-azure 5.4.0-1044.46 USN-4909-1
Ubuntu 20.04 LTS linux-gcp 5.4.0-1041.44 USN-4909-1
Ubuntu 20.04 LTS linux-gke 5.4.0-1041.43 —
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1013.14 USN-4909-1
Ubuntu 20.04 LTS linux-hwe-5.8 5.8.0-45.51~20.04.1 USN-4879-1
Ubuntu 20.04 LTS linux-kvm 5.4.0-1037.38 USN-4909-1
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1017.18 USN-4884-1
Ubuntu 20.04 LTS linux-oem-5.6 5.6.0-1053.57 USN-4912-1
Ubuntu 20.04 LTS linux-oracle 5.4.0-1042.45 USN-4909-1
Ubuntu 20.04 LTS linux-raspi 5.4.0-1033.36 USN-4909-1
Ubuntu 20.04 LTS linux-riscv +1 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.8 5.8.0-18.20~20.04.1 —
Ubuntu 18.04 LTS linux-aws-5.4 5.4.0-1043.45~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-azure-5.4 5.4.0-1044.46~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-gcp +13 No fix yet —
Ubuntu 18.04 LTS linux-gcp-5.4 5.4.0-1041.44~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1040.42~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1013.14~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-71.79~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-oracle-5.4 5.4.0-1042.45~18.04.1 USN-4909-1
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1033.36~18.04.1 USN-4909-1
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS linux-aws-fips +2 No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1069.73+fips2 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1073.76+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1067.71~20.04.1 —
ReleasePackageFixed inAdvisory
RHEL 8 kernel-rt +12 4.18.0-348.rt7.130.el8 RHSA-2021:4140
RHEL 8 perf +26 4.18.0-348.el8 RHSA-2021:4356

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 kernel-tools-libs-devel 4.18.0-348.el8 ALSA-2021:4356

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kernel 6.6.35.1-4 —
Azure Linux 2 (CBL-Mariner) kernel 5.15.26.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perf +19 4.18.0-348.el8 ELSA-2021-4356

Advisories 8

References