Memory Leak in dmi-sysfs Firmware

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1004051: firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle. Affects Kernel versions >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181, < a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725. 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 dmi-sysfs firmware is a component of the Linux Kernel, which is responsible for providing access to the Desktop Management Interface (DMI) information through the sysfs filesystem. DMI is a standard interface used by system management software to gather information about hardware components of a computer system. The dmi-sysfs firmware allows users to retrieve and manipulate this information programmatically. However, a memory leak vulnerability has been identified in the dmi_sysfs_register_handle function.

Vulnerability Detail

The memory leak vulnerability in the dmi-sysfs firmware arises from a failure to release allocated memory when registering a new DMI handle. This can result in a gradual depletion of system memory resources, leading to performance degradation or even system instability. An attacker may potentially exploit this vulnerability to exhaust system memory and cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v2.6.39 of the Linux Kernel and has been fixed in version v4.9.318.

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

$ sudo rmmod dmi-sysfs $ sudo modprobe dmi-sysfs

Conclusion

The memory leak vulnerability in the dmi-sysfs firmware can have significant implications for system performance and stability. It is crucial to update the Linux Kernel to the fixed version to mitigate this vulnerability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The dmi-sysfs firmware is a component of the Linux Kernel that provides access to the Desktop Management Interface (DMI) information through the sysfs filesystem.

The memory leak vulnerability in the dmi-sysfs firmware can lead to a gradual depletion of system memory resources, potentially causing performance degradation or system instability. It may also be exploited by attackers to trigger a denial-of-service (DoS) condition.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.9.318 or later. Instructions for updating the Kernel can be found in the official repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/).

Yes, a temporary workaround is to unload and reload the dmi-sysfs module periodically. This can be done using the 'rmmod' and 'modprobe' commands as mentioned in the workaround section.

Yes, the memory leak vulnerability in the dmi-sysfs firmware has been fixed in Linux Kernel version v4.9.318.

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