CVE-2024-56665: bpf,perf: Fix invalid prog_array access in perf_event_detach_bpf_prog

Published Dec 27, 2024
·
Updated

bpf,perf: Fix invalid progarray access in perfeventdetachbpfprog

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

— Launchpad

Affected Software

152 affected componentsFixes available
Linux Linux kernel>=5.15.170<5.16
Linux Linux kernel>=6.1.115<6.1.121
Linux Linux kernel>=6.6.59<6.6.67
Linux Linux kernel>=6.11.6<6.12.6
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Microsoft azl3 kernel 6.6.64.2-9<6.6.76.1-1
6.6.76.1-1
Microsoft azl3 kernel 6.6.76.1-1<6.6.76.1-1
6.6.76.1-1
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.15*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.15*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.15*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.15*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-gkeop*
ubuntu/linux-gkeop-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.15*
ubuntu/linux-hwe-5.8*
ubuntu/linux-ibm-5.15*
ubuntu/linux-intel-5.13*
ubuntu/linux-intel-iotg-5.15*
ubuntu/linux-lowlatency-hwe-5.15*
ubuntu/linux-nvidia-tegra-5.15*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.15*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.15*
ubuntu/linux-riscv-5.8*
ubuntu/linux*
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws*
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5*
ubuntu/linux-aws-6.8<6.8.0-1029.31~22.04.1
6.8.0-1029.31~22.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5*
ubuntu/linux-azure-6.8<6.8.0-1029.34~22.04.1
6.8.0-1029.34~22.04.1
ubuntu/linux-azure-fde*
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5*
ubuntu/linux-gcp-6.8<6.8.0-1030.32~22.04.1
6.8.0-1030.32~22.04.1
ubuntu/linux-gke*
ubuntu/linux-gkeop*
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-hwe-6.8<6.8.0-60.63~22.04.1
6.8.0-60.63~22.04.1
ubuntu/linux-ibm*
ubuntu/linux-ibm-6.8<6.8.0-1026.26~22.04.1
6.8.0-1026.26~22.04.1
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-intel-iotg*
ubuntu/linux-kvm*
ubuntu/linux-lowlatency*
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-lowlatency-hwe-6.8<6.8.0-60.63.1~22.04.1
6.8.0-60.63.1~22.04.1
ubuntu/linux-nvidia*
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5*
ubuntu/linux-nvidia-6.8<6.8.0-1028.31~22.04.1
6.8.0-1028.31~22.04.1
ubuntu/linux-nvidia-tegra*
ubuntu/linux-nvidia-tegra-igx*
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oem-6.5*
ubuntu/linux-oracle*
ubuntu/linux-oracle-6.5*
ubuntu/linux-oracle-6.8<6.8.0-1026.27~22.04.1
6.8.0-1026.27~22.04.1
ubuntu/linux-raspi*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-riscv-6.5*
ubuntu/linux-riscv-6.8<6.8.0-62.65~22.04.1
6.8.0-62.65~22.04.1
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5*
ubuntu/linux-xilinx-zynqmp*
ubuntu/linux-bluefield*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-realtime-6.8<6.8.1-1022.23~22.04.1
6.8.1-1022.23~22.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<6.8.0-60.63
6.8.0-60.63
ubuntu/linux-aws<6.8.0-1029.31
6.8.0-1029.31
ubuntu/linux-azure<6.8.0-1029.34
6.8.0-1029.34
ubuntu/linux-azure-nvidia<6.8.0-1016.17
6.8.0-1016.17
ubuntu/linux-gcp<6.8.0-1030.32
6.8.0-1030.32
ubuntu/linux-gke<6.8.0-1025.29
6.8.0-1025.29
ubuntu/linux-gkeop<6.8.0-1012.14
6.8.0-1012.14
ubuntu/linux-hwe-6.11<6.11.0-21.21~24.04.1
6.11.0-21.21~24.04.1
ubuntu/linux-ibm<6.8.0-1026.26
6.8.0-1026.26
ubuntu/linux-lowlatency<6.8.0-60.63.1
6.8.0-60.63.1
ubuntu/linux-nvidia<6.8.0-1028.31
6.8.0-1028.31
ubuntu/linux-nvidia-lowlatency<6.8.0-1028.31.1
6.8.0-1028.31.1
ubuntu/linux-oem-6.11<6.11.0-1017.17
6.11.0-1017.17
ubuntu/linux-oem-6.8<6.8.0-1028.28
6.8.0-1028.28
ubuntu/linux-oracle<6.8.0-1026.27
6.8.0-1026.27
ubuntu/linux-raspi-realtime*
ubuntu/linux-riscv<6.8.0-60.63.1
6.8.0-60.63.1
ubuntu/linux-realtime<6.8.1-1022.23
6.8.1-1022.23
debian/linux<6.1.123-1
6.1.123-1
debian/linux<6.12.6-1
6.12.6-1
debian/linux<6.12.6-1
6.12.6-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.76.1-1

Event History

Dec 27, 2024
CVE Published
via MITRE·03:06 PM
Data Sourced
via MITRE·03:06 PM
Description
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityAffected Software
Mar 13, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-56665?

CVE-2024-56665 is classified as a security vulnerability in the Linux kernel that could lead to crashes under specific conditions.

2

How do I fix CVE-2024-56665?

To fix CVE-2024-56665, upgrade to a patched version of the Linux kernel above 5.16, 6.1.121, 6.6.67, 6.12.6, 6.13-rc1, or 6.13-rc2.

3

Which Linux kernel versions are affected by CVE-2024-56665?

CVE-2024-56665 affects Linux kernel versions between 5.15.170 and 5.16, 6.1.115 and 6.1.121, 6.6.59 and 6.6.67, and 6.11.6 and 6.12.6, along with 6.13-rc1 and 6.13-rc2.

4

What are the implications of CVE-2024-56665?

The implications of CVE-2024-56665 include potential system crashes due to invalid access in the perf_event_detach_bpf_prog function.

5

Is CVE-2024-56665 being actively exploited?

As of now, there are no reports indicating that CVE-2024-56665 is being actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203