Memory Leak Vulnerability in yam Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000130: yam: fix a memory leak in yam_siocdevprivate(). Affects Kernel versions >= 0781168e23a2fc8dceb989f11fc5b39b3ccacc35, < 4bd197ce18329e3725fe3af5bd27daa4256d3ac7. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 yam_siocdevprivate() function is a part of the yam package and is used to handle private network device operations. This vulnerability in yam_siocdevprivate() leads to a memory leak, which can result in the exhaustion of system resources over time.

Vulnerability Detail

The memory leak vulnerability in yam_siocdevprivate() occurs due to improper memory deallocation. When certain network device operations are performed, memory is allocated but not properly freed, leading to a continuous accumulation of memory over time. This can result in resource exhaustion, impacting system performance and stability. An attacker may be able to exploit this vulnerability to cause a denial-of-service (DoS) condition or potentially execute arbitrary code.

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 unload the yam module and reload it periodically to release accumulated memory. This can be done using the following commands:

rmmod yam
modprobe yam

However, this is not a permanent solution and updating the Linux Kernel is strongly recommended.

Conclusion

In conclusion, the yam package in the Linux Kernel is vulnerable to a memory leak issue in the yam_siocdevprivate() function. This vulnerability can lead to memory exhaustion, impacting system performance and stability. It is recommended to update the Linux Kernel to version v4.19.228 or later to fix this issue. As a temporary workaround, unloading and reloading the yam module periodically can release accumulated memory. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory exhaustion, impacting system performance and stability. It may also allow attackers to cause a denial-of-service (DoS) condition or potentially execute arbitrary code.

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 memory leak vulnerability in yam.

Yes, the vulnerability has been fixed in Linux Kernel version v4.19.228. Updating the kernel to this version or later will address the memory leak issue in yam_siocdevprivate().

As a temporary workaround, you can unload and reload the yam module periodically to release accumulated memory. However, this is not a permanent solution and updating the Linux Kernel is strongly recommended.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the fix as soon as possible to prevent potential exploitation.

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