HID: amd_sfh: Fix potential NULL pointer dereference in Kernel

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001743: HID: amd_sfh: Fix potential NULL pointer dereference. Affects Kernel versions < 283e4bee701dfcd409dd293f19a268bb2bc8ff38. 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 Kernel is a crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential services and functions, such as device drivers, memory management, and process scheduling. The HID (Human Interface Device) subsystem within the Kernel handles input devices like keyboards, mice, and touchscreens. The amd_sfh driver is responsible for supporting AMD Secure Hardware Features. However, a vulnerability has been discovered in the amd_sfh driver that could lead to a potential NULL pointer dereference.

Vulnerability Detail

The vulnerability in the amd_sfh driver arises from a potential NULL pointer dereference. If a certain condition is met, the driver may attempt to dereference a NULL pointer, leading to a system crash or potential privilege escalation. An attacker could potentially exploit this vulnerability to execute arbitrary code or crash the system, resulting in a denial-of-service (DoS) situation. The impact and attack plausibility of this vulnerability have not been proven yet.

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 →

Conclusion

The HID: amd_sfh vulnerability in the Kernel poses a potential risk of NULL pointer dereference, which could lead to system crashes, privilege escalation, or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.14.10 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The HID subsystem in the Kernel is responsible for handling human interface devices like keyboards, mice, and touchscreens. It provides the necessary drivers and functionality to enable communication between these input devices and the operating system.

AMD Secure Hardware Features (SFH) refer to a set of security features provided by AMD processors. These features aim to enhance the security of the system by providing hardware-based protection mechanisms.

A NULL pointer dereference occurs when a program attempts to access or manipulate data through a pointer that is pointing to a NULL (empty) memory address. This can lead to a crash or undefined behavior if not handled properly.

The potential consequences of this vulnerability include system crashes, privilege escalation, and the execution of arbitrary code by an attacker. These actions can lead to a denial-of-service (DoS) situation or compromise the security and integrity of the system.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software, without requiring access to the code or installation.

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