BPF_PROG_TYPE_CGROUP_SKB Attach Type Enforcement Vulnerability in Linux Package

linux Updated 02 Oct 2025

Summary

19/06/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-38564: In the Linux kernel, the following vulnerability has been resolved: bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE bpf_prog_attach uses attach_type_to_prog_type to enforce proper attach type... Affects linux versions < 6.8.12-1. Fixed in 6.8.12-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of the Debian operating system, responsible for managing hardware resources and providing essential services to applications. It supports various functionalities, including process management, memory management, and device control. This vulnerability affects the BPF (Berkeley Packet Filter) subsystem, specifically related to the enforcement of attach types for cgroup_skb programs, which can lead to improper associations and potential security risks.

Vulnerability Detail

In the Linux kernel, a vulnerability was identified in the BPF subsystem where the attach type enforcement for BPF_PROG_TYPE_CGROUP_SKB was not properly implemented. This oversight allows cgroup_skb program types to be attached to incorrect cgroup hooks, potentially leading to unauthorized access or manipulation of network traffic. The issue arises from the lack of verification in the link_create function, which fails to enforce the correct association between program types and attach types, posing a significant security risk.

How To Fix

Minimum fixed version

6.8.12-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patch by updating the Linux package.

Conclusion

The BPF_PROG_TYPE_CGROUP_SKB attach type enforcement vulnerability in the Linux package poses a significant security risk due to improper program type associations. Users are strongly advised to update their Linux packages to the patched version 6.8.12-1 to mitigate potential threats. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can allow unauthorized attachment of cgroup_skb programs to incorrect hooks, potentially leading to security breaches and manipulation of network traffic.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Yes, a patch has been released in version 6.8.12-1 of the Linux package. Users should update to this version or later.

While there are no specific workarounds, it is crucial to prioritize updating your package to mitigate the risk associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.8.12-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback