Memory Leak in amd_sfh_work in Kernel

Kernel Updated 02 Oct 2025

Summary

25/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000793: HID: amd_sfh: Fix memory leak in amd_sfh_work. Affects Kernel versions >= 4b2c53d93a4bc9d52cc0ec354629cfc9dc217f93, < 29beadea66a226d744d5ffdcde6b984623053d24. 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 Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities for the proper functioning of the system. The amd_sfh module is responsible for handling AMD Sensor Fusion Hub devices. These devices integrate various sensors, such as accelerometers and gyroscopes, into a single chip. The amd_sfh_work function within the amd_sfh module is used to perform work on the AMD Sensor Fusion Hub devices. However, a memory leak vulnerability has been identified in this function.

Vulnerability Detail

The memory leak vulnerability in the amd_sfh_work function allows an attacker to cause a continuous allocation of memory without proper deallocation, leading to memory exhaustion. By repeatedly triggering this vulnerability, an attacker can consume all available memory resources, resulting in a denial of service condition. This can severely impact system performance and stability. The vulnerability was introduced in version v5.11 of the Linux Kernel and was fixed in version v5.12.10.

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 amd_sfh module if it is not required for their system. This can be achieved by blacklisting the module or preventing it from loading during system startup. However, it is important to note that disabling the module may result in the loss of functionality provided by AMD Sensor Fusion Hub devices.

Conclusion

In conclusion, the memory leak vulnerability in the amd_sfh_work function of the Kernel can lead to memory exhaustion and a denial of service condition. It is recommended to update the Linux Kernel to version v5.12.10 or later to fix this vulnerability. Users can also consider disabling the amd_sfh module as a temporary workaround, but this may result in the loss of functionality provided by AMD Sensor Fusion Hub devices. 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, causing a denial of service condition and impacting system performance and stability.

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 essential to apply the recommended fix to mitigate any potential risks.

As a temporary measure, you can disable the amd_sfh module if it is not required for your system. However, it is recommended to update the Linux Kernel to the latest version as soon as possible.

There are no reported incidents related to this vulnerability at the time of this report. However, it is crucial to apply the fix to prevent any 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