Memory Leak Vulnerability in yam Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000266: yam: fix a memory leak in yam_siocdevprivate(). Affects Kernel versions >= 0781168e23a2fc8dceb989f11fc5b39b3ccacc35, < 0690c3943ed0fa76654e600eca38cde6a13c87ac. 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 yam package is a component of the Linux Kernel, which is responsible for managing network interfaces. It provides functionality for configuring and controlling network devices. The vulnerability identified in the yam package is related to a memory leak issue in the yam_siocdevprivate() function. This function is responsible for handling private ioctl calls for the yam network interface. The memory leak occurs when certain conditions are met, leading to a gradual depletion of available memory resources.

Vulnerability Detail

The memory leak vulnerability in yam_siocdevprivate() can have several potential ramifications. As memory resources are not properly released, it can result in memory exhaustion over time, impacting the overall performance and stability of the system. An attacker could potentially exploit this vulnerability by repeatedly triggering the affected function, leading to a denial-of-service (DoS) scenario. Additionally, if the system is already under memory constraints, this vulnerability could exacerbate the situation and potentially lead to a system crash or instability.

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 disable the yam network interface if it is not required for their specific use case. This can be achieved by executing the following command: ifconfig yam0 down. Disabling the yam interface will prevent the vulnerable function from being triggered and mitigate the risk of memory leaks. However, this workaround should only be considered temporary, and it is still recommended to apply the official patch by updating the Linux Kernel.

Conclusion

The memory leak vulnerability in the yam package can have significant implications for system performance and stability. It is crucial to update the Linux Kernel to the recommended version or apply the provided workaround to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The yam package is a component of the Linux Kernel that handles network interface configuration and control.

The memory leak vulnerability in yam can lead to memory exhaustion, system instability, and potential denial-of-service (DoS) scenarios.

To fix this vulnerability, update the Linux Kernel to version v5.15.19 or later, which includes a patch for the memory leak issue.

Yes, users can disable the yam network interface as a temporary workaround to mitigate the risk of memory leaks.

The updated version of the Linux Kernel can be obtained from the official repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/.

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