Vulnerability in bpf: Fix a btf decl_tag bug when tagging a function

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001548: bpf: Fix a btf decl_tag bug when tagging a function. Affects Kernel versions >= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, < a3bcd2110c087bc62e90fddd4a93237b049d6e68. No fix is published. 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 bpf package is a component of the Linux Kernel, which is responsible for implementing Berkeley Packet Filter (BPF) functionality. BPF allows for efficient packet filtering and network analysis within the kernel. It provides a virtual machine that executes user-defined programs to process network packets. The bpf package is an integral part of the Linux Kernel and is widely used in various networking applications.

Vulnerability Detail

The bpf package is affected by a bug related to the declaration tag (decl_tag) when tagging a function. This vulnerability was introduced in version v5.16 of the Linux Kernel and fixed in version v5.16.19. The bug could potentially lead to security vulnerabilities, although the actual impact and attack plausibility have not been proven. Further technical details about the vulnerability can be found in the references link provided.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.19 or later. This update includes the necessary patch to address the btf decl_tag bug. Users can obtain the updated kernel from the official Linux Kernel repository.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended solution is to update the Linux Kernel to the fixed version.

Conclusion

In conclusion, the bpf package in the Linux Kernel is affected by a vulnerability related to the btf decl_tag bug. It is recommended to update the Linux Kernel to version v5.16.19 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The bpf package is a component of the Linux Kernel that implements Berkeley Packet Filter (BPF) functionality for efficient packet filtering and network analysis within the kernel.

The impact of this vulnerability is not yet proven. However, it has the potential to introduce security vulnerabilities in systems utilizing the affected version of the Linux Kernel.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.19 or later, which includes the necessary patch to address the btf decl_tag bug.

No specific workaround is mentioned for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

More technical details about this vulnerability can be found in the references link provided in the vulnerability details.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.19 or later. This update includes the necessary patch to address the btf decl_tag bug. Users can obtain the updated kernel from the official Linux Kernel repository.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.