Vulnerability in Kernel: bpf, sockmap

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002240: bpf, sockmap: Fix more uncharged while msg has more_data. Affects Kernel versions >= 604326b41a6fb9b4a78b6179335decee0365cd8c, < 244ce90c8d0bd10ebf957da02c6f3fcd5d920bdf. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the security and stability of the system. The bpf (Berkeley Packet Filter) and sockmap features in the Kernel allow for efficient packet filtering and socket redirection. These features are widely used in networking applications and provide performance optimizations. However, a vulnerability has been discovered in the bpf and sockmap implementation that can lead to uncharged 'more' data in certain scenarios.

Vulnerability Detail

The vulnerability in bpf and sockmap arises when processing messages with 'more_data' flag set. Due to a coding error, the system fails to account for the additional data, resulting in uncharged resources. An attacker could potentially exploit this vulnerability to exhaust system resources, leading to denial of service or other security implications. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in Kernel version v4.20 and has been fixed in version v5.4.189.

How To Fix

No fixed version is published for this vulnerability.

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. However, as a general best practice, it is advisable to keep the system up to date with the latest security patches and updates. Regularly monitoring and applying updates to the Kernel helps mitigate the risk of known vulnerabilities.

Conclusion

In conclusion, a vulnerability has been identified in the bpf and sockmap implementation of the Linux Kernel. This vulnerability can potentially lead to resource exhaustion and other security implications. It is crucial to update the Kernel to the fixed version to mitigate the risk. Regularly monitoring for vulnerabilities and applying security patches is essential for maintaining a secure system. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially lead to denial of service or other security implications. However, the actual impact and attack plausibility have not been proven yet.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to ensure the system is protected against potential exploitation.

Updating the Kernel to the fixed version is the recommended approach to mitigate the risk associated with this vulnerability. It is important to keep the system up to date with the latest security patches and updates.

You can find more information about this vulnerability in the GSD-2022-1002240 entry of the GSD database maintained by the Cloud Security Alliance. The link to the entry is available in the references section of this report.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

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