Vulnerability in Kernel: bpf, sockmap - Uncharged More Data

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001202: bpf, sockmap: Fix more uncharged while msg has more_data. Affects Kernel versions >= 604326b41a6fb9b4a78b6179335decee0365cd8c, < abb4caa477a5450817d2aa1198edce66450aecf8. 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 Kernel is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between processes, and handles device drivers. The bpf (Berkeley Packet Filter) and sockmap are subsystems within the Kernel that enable packet filtering and socket redirection, respectively. These subsystems are utilized by various network-related applications and services.

Vulnerability Detail

The bpf, sockmap vulnerability allows an attacker to exploit a flaw in the Kernel's handling of messages with 'more_data' flag set. This vulnerability was introduced in Kernel version 4.20 and fixed in version 5.17.2. When processing such messages, the Kernel fails to properly account for the data being transferred, resulting in uncharged data. This can lead to resource exhaustion, denial of service, or potential memory corruption. The impact and attack plausibility of this vulnerability have not been proven yet.

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

As a temporary workaround, users can disable or restrict the usage of the bpf and sockmap subsystems if not essential for their system's functionality. This can be achieved by modifying the Kernel configuration or using appropriate kernel boot parameters. However, it is recommended to apply the official fix as soon as possible.

Conclusion

The bpf, sockmap vulnerability in the Kernel poses a potential risk of resource exhaustion, denial of service, or memory corruption. It is crucial to update the Kernel to version 5.17.2 or later to mitigate this vulnerability. Users can also temporarily disable or restrict the usage of the affected subsystems as a workaround. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from resource exhaustion and denial of service to potential memory corruption. However, the exact consequences depend on the specific usage and configuration of the affected system.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, no known exploits for this vulnerability have been disclosed. However, it is crucial to apply the fix promptly to mitigate any potential risks.

The exact exploitability of this vulnerability remotely is yet to be determined. However, given the nature of the affected subsystems, it is advisable to treat it as a potential remote exploit until further information is available.

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