Memory Leak Vulnerability in bpf, sockmap

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001247: bpf, sockmap: Fix potential memory leak on unlikely error case. Affects Kernel versions >= 4363023d2668e621b0743db351a9555d6e6ea57e, < 715f378f42909c401ec043f5150c4fdf57fb8889. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The bpf (Berkeley Packet Filter) is a technology in the Linux kernel that allows user-defined programs to run in the kernel context. It is commonly used for network packet filtering and monitoring. The sockmap feature in bpf allows for the redirection of network packets between sockets. This vulnerability affects the Linux Kernel package and specifically impacts the bpf and sockmap functionality.

Vulnerability Detail

The vulnerability in bpf, sockmap can lead to a potential memory leak in an unlikely error case. When certain error conditions occur, memory allocated for the sockmap feature may not be properly freed, resulting in a memory leak. Although the impact and attack plausibility have not been proven, this vulnerability could potentially be exploited by an attacker to exhaust system memory resources and cause denial of service conditions.

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.

Conclusion

In conclusion, the bpf, sockmap vulnerability in the Linux Kernel package can lead to a potential memory leak. It is recommended to update the package to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

bpf (Berkeley Packet Filter) is a technology in the Linux kernel that allows user-defined programs to run in the kernel context. sockmap is a feature in bpf that enables the redirection of network packets between sockets.

The impact of this vulnerability is a potential memory leak in an unlikely error case. It could be exploited by an attacker to exhaust system memory resources and cause denial of service conditions.

To fix this vulnerability, update the Linux Kernel package to version v5.10.54 or later, which includes the necessary fix for the memory leak issue.

No specific workaround has been mentioned for this vulnerability.

For more information about this vulnerability, you can refer to the source link provided in the database_specific section of the vulnerability details.

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