Memory Leak Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000289: net: fix a memleak when uncloning an skb dst and its metadata. Affects Kernel versions >= fc4099f17240767554ff3a73977acb78ef615404, < 4ac84498fbe84a00e7aef185e2bb3e40ce71eca4. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. It is a critical piece of software that is widely used in various devices, including servers, desktops, and embedded systems. The vulnerability identified in this report relates to the handling of skb dst and its metadata, which can lead to a memory leak.

Vulnerability Detail

The vulnerability arises when uncloning an skb dst and its metadata in the Linux Kernel. This can result in a memory leak, where memory resources are not properly released, leading to potential performance degradation and exhaustion of system resources. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code in the context of the affected system. The vulnerability was introduced in version v4.3 of the Linux Kernel and has been fixed in version v4.9.302.

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 workaround, users can mitigate the risk by applying the following code change to the affected code segment:

// Code snippet demonstrating the workaround
if (skb_dst_unclone(skb)) {
    kfree_skb(skb);
}

This code change ensures that the skb dst is properly uncloned and memory resources are released. However, it is strongly recommended to apply the official fix by updating the Linux Kernel to the latest version.

Conclusion

In conclusion, a memory leak vulnerability has been identified in the Linux Kernel when uncloning an skb dst and its metadata. This vulnerability can lead to performance degradation and exhaustion of system resources, potentially allowing attackers to cause a denial-of-service condition or execute arbitrary code. It is crucial to update the Linux Kernel to version v4.9.302 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware.

A memory leak occurs when memory resources are allocated but not properly released, leading to a gradual depletion of available memory. This can result in performance degradation and potential system instability.

The vulnerability can result in a memory leak, leading to potential performance degradation and exhaustion of system resources. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or potentially execute arbitrary code in the context of the affected system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.9.302 or later. This can be done by obtaining the latest version of the kernel source code from the official Linux Kernel repository and compiling it for the target system. Alternatively, users can check for available updates from their Linux distribution's package manager and apply the necessary patches.

Yes, a workaround is available. Users can apply a code change to ensure proper uncloning of skb dst and release of memory resources. However, it is strongly recommended to apply the official fix by updating the Linux Kernel to the latest version.

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