CVE-2024-27050
Fixed in a distro release EPSS <1%CVSS 7.8
In the Linux kernel, the following vulnerability has been resolved: libbpf: Use OPTS_SET() macro in bpf_xdp_query() When the feature_flags and xdp_zc_max_segs fields were added to the libbpf bpf_xdp_query_opts, the code writing them did not use the OPTS_SET() macro. This causes libbpf to write to those fields unconditionally, which means that programs compiled against an older version of libbpf (with a smaller size of the bpf_xdp_query_opts struct) will have its stack corrupted by libbpf writing out of bounds. The patch adding the feature_flags field has an early bail out if the feature_flags field is not part of the opts struct (via the OPTS_HAS) macro, but the patch adding xdp_zc_max_segs does not. For consistency, this fix just changes the assignments to both fields to use the OPTS_SET() macro.
Products: Linux, linux acrn, linux_kernel
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 13 | linux | 6.7.12-1 |
| Debian 14 | linux | 6.7.12-1 |
| SUSE Linux Enterprise High Availability Extension 15 SP6 | kernel-default | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_2 | 1-150600.1.3.2 |
| SUSE Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_4 | 1-150600.13.3.3 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-64kb | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-default | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-default-base | 6.4.0-150600.23.22.1.150600.12.8.3 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-source | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-zfcpdump | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-docs | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-obs-build | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-source | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-syms | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Module for Legacy 15 SP6 | kernel-default | 6.4.0-150600.23.22.1 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP6 | kernel-azure | 6.4.0-150600.8.11.1 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP6 | kernel-source-azure | 6.4.0-150600.8.11.1 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP6 | kernel-syms-azure | 6.4.0-150600.8.11.1 |
| SUSE Linux Enterprise Workstation Extension 15 SP6 | kernel-default | 6.4.0-150600.23.22.1 |
| SUSE Linux Micro 6.0 | kernel-default | 6.4.0-19.1 |
| SUSE Linux Micro 6.0 | kernel-default-base | 6.4.0-17.1.1.51 |
| SUSE Linux Micro 6.0 | kernel-kvmsmall | 6.4.0-19.1 |
| SUSE Linux Micro 6.0 | kernel-livepatch-MICRO-6-0-RT_Update_2 | 1-1.1 |
| SUSE Linux Micro 6.0 | kernel-livepatch-MICRO-6-0_Update_2 | 1-1.1 |
| SUSE Linux Micro 6.0 | kernel-rt | 6.4.0-10.1 |
| SUSE Linux Micro 6.0 | kernel-source | 6.4.0-19.1 |
| SUSE Linux Micro 6.0 | kernel-source-rt | 6.4.0-10.1 |
| SUSE Real Time Module 15 SP6 | kernel-rt | 6.4.0-150600.10.8.3 |
| SUSE Real Time Module 15 SP6 | kernel-rt_debug | 6.4.0-150600.10.8.3 |
| SUSE Real Time Module 15 SP6 | kernel-source-rt | 6.4.0-150600.10.8.3 |
| SUSE Real Time Module 15 SP6 | kernel-syms-rt | 6.4.0-150600.10.8.1 |
| Ubuntu 16.04 LTS | linux-hwe-edge | no fix |
| Ubuntu 18.04 LTS | linux-aws-5.0 | no fix |
| Ubuntu 18.04 LTS | linux-aws-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-azure | no fix |
| Ubuntu 18.04 LTS | linux-azure-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-azure-edge | no fix |
| Ubuntu 18.04 LTS | linux-gcp | no fix |
| Ubuntu 18.04 LTS | linux-gcp-5.3 | no fix |
| Ubuntu 18.04 LTS | linux-gke-4.15 | no fix |
| Ubuntu 18.04 LTS | linux-gke-5.4 | no fix |
| Ubuntu 18.04 LTS | linux-gkeop-5.4 | no fix |
| Ubuntu 18.04 LTS | linux-hwe | no fix |
| Ubuntu 18.04 LTS | linux-oem | no fix |
| Ubuntu 18.04 LTS | linux-oracle-5.0 | no fix |
| Ubuntu 18.04 LTS | linux-oracle-5.3 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-aws-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-azure-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-azure-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-azure-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-azure-fde | no fix |
| Ubuntu 20.04 LTS | linux-gcp-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-gcp-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-gcp-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-gke | no fix |
| Ubuntu 20.04 LTS | linux-gke-5.15 | no fix |
| Ubuntu 20.04 LTS | linux-hwe-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-hwe-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-hwe-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-intel-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.10 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.14 | no fix |
| Ubuntu 20.04 LTS | linux-oem-5.6 | no fix |
| Ubuntu 20.04 LTS | linux-oracle-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-oracle-5.13 | no fix |
| Ubuntu 20.04 LTS | linux-oracle-5.8 | no fix |
| Ubuntu 20.04 LTS | linux-raspi2 | no fix |
| Ubuntu 20.04 LTS | linux-riscv | no fix |
| Ubuntu 20.04 LTS | linux-riscv-5.11 | no fix |
| Ubuntu 20.04 LTS | linux-riscv-5.8 | no fix |
| Ubuntu 22.04 LTS | linux-allwinner-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-aws-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-aws-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-azure-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-azure-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-azure-fde-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-azure-fde-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-gcp-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-gcp-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-hwe-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-hwe-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-intel-iot-realtime | no fix |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-lowlatency-hwe-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-nvidia-6.2 | no fix |
| Ubuntu 22.04 LTS | linux-oem-5.17 | no fix |
| Ubuntu 22.04 LTS | linux-oem-6.0 | no fix |
| Ubuntu 22.04 LTS | linux-oem-6.1 | no fix |
| Ubuntu 22.04 LTS | linux-realtime | no fix |
| Ubuntu 22.04 LTS | linux-riscv | no fix |
| Ubuntu 22.04 LTS | linux-riscv-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-starfive-5.19 | no fix |
| Ubuntu 22.04 LTS | linux-starfive-6.2 | no fix |
| Ubuntu 24.04 LTS | linux | 6.8.0-35.35 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1009.9 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1008.8 |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1008.9 |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1004.7 |
| Ubuntu 24.04 LTS | linux-ibm | 6.8.0-1006.6 |
| Ubuntu 24.04 LTS | linux-lowlatency | 6.8.0-35.35.1 |
| Ubuntu 24.04 LTS | linux-oem-6.8 | 6.8.0-1006.6 |
| Ubuntu 24.04 LTS | linux-oracle | 6.8.0-1006.6 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1005.5 |
| Ubuntu 24.04 LTS | linux-riscv | 6.8.0-35.35.1 |
| Ubuntu Pro Realtime 24.04 LTS | linux-raspi-realtime | 6.8.0-2004.4 |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1002.2 |
| openSUSE Leap 15.6 | dtb-aarch64 | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-64kb | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-azure | 6.4.0-150600.8.11.1 |
| openSUSE Leap 15.6 | kernel-debug | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-default | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-default-base | 6.4.0-150600.23.22.1.150600.12.8.3 |
| openSUSE Leap 15.6 | kernel-docs | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-kvmsmall | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-obs-build | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-obs-qa | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-rt | 6.4.0-150600.10.8.3 |
| openSUSE Leap 15.6 | kernel-rt_debug | 6.4.0-150600.10.8.3 |
| openSUSE Leap 15.6 | kernel-source | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-source-azure | 6.4.0-150600.8.11.1 |
| openSUSE Leap 15.6 | kernel-source-rt | 6.4.0-150600.10.8.3 |
| openSUSE Leap 15.6 | kernel-syms | 6.4.0-150600.23.22.1 |
| openSUSE Leap 15.6 | kernel-syms-azure | 6.4.0-150600.8.11.1 |
| openSUSE Leap 15.6 | kernel-syms-rt | 6.4.0-150600.10.8.1 |
| openSUSE Leap 15.6 | kernel-zfcpdump | 6.4.0-150600.23.22.1 |