Memory Leak Vulnerability in yam Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000633: yam: fix a memory leak in yam_siocdevprivate(). Affects Kernel versions >= 0781168e23a2fc8dceb989f11fc5b39b3ccacc35, < deb0f02d08276d87212c1f19d9d919b13dc4c033. 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 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 in question, identified as GSD-2022-1000633, pertains to a memory leak in the yam_siocdevprivate() function. This function is used to handle private ioctl requests for the yam network driver. The memory leak occurs when certain conditions are met, leading to the allocation of memory that is not properly deallocated. This vulnerability can potentially be exploited by an attacker to exhaust system resources and cause a denial-of-service condition.

Vulnerability Detail

The memory leak vulnerability in yam_siocdevprivate() was introduced in version v4.19 of the Linux Kernel and was fixed in version v5.16.5. When the vulnerable code is executed, memory is allocated but not freed, resulting in a continuous consumption of system resources. This can lead to performance degradation and, in extreme cases, a complete system crash. The impact of this vulnerability depends on the specific usage scenario and the availability of system resources. Successful exploitation of this vulnerability requires the ability to send specially crafted ioctl requests to the yam network driver.

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 driver if it is not required for their system. This can be done by blacklisting the yam module or removing it from the kernel configuration. However, this workaround should only be considered if the yam driver is not essential for the system's functionality.

Conclusion

The memory leak vulnerability in the yam package can result in the consumption of system resources and potential denial-of-service conditions. It is crucial to update the Linux Kernel to version v5.16.5 or later to mitigate this vulnerability. Alternatively, users can disable the yam network driver if it is not required for their system. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can vary depending on the specific usage scenario and the availability of system resources. It can lead to performance degradation and, in extreme cases, a complete system crash.

You can use the Vulert Playground at Vulert 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, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to ensure the system is protected.

While updating the Linux Kernel is the recommended approach, users can mitigate this vulnerability by disabling the yam network driver if it is not required for their system. This can be done by blacklisting the yam module or removing it from the kernel configuration.

This report specifically addresses the memory leak vulnerability in yam_siocdevprivate(). For information about other vulnerabilities in the yam package, it is recommended to consult the official Linux Kernel security advisories and vulnerability databases.

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