x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002258: x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails. Affects Kernel versions >= 93286261de1b46339aa27cd4c639b21778f6cade, < b0e44dfb4e4c699cca33ede431b8d127e6e8d661. 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 vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The vulnerability specifically impacts the x86/hyperv module within the Kernel. The x86/hyperv module provides support for running Linux as a guest operating system on Microsoft Hyper-V virtualization platforms.

Vulnerability Detail

The vulnerability arises from a NULL dereference in the set_hv_tscchange_cb() function when the Hyper-V setup fails. This can lead to a kernel crash or other undefined behavior. The vulnerability was introduced in version v4.16 of the Linux Kernel and has been fixed in version v5.4.162. The impact and attack plausibility of the 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 →

Workaround

No specific workaround has been mentioned for this vulnerability.

Conclusion

The x86/hyperv vulnerability in the Linux Kernel, which could result in a NULL dereference and potential kernel crash, has been addressed in version v5.4.162. It is recommended to update the Kernel to this version or later to mitigate the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is not yet proven. It could potentially lead to a kernel crash or other undefined behavior.

You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert Playground allows you to analyze your application's manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.

Yes, a patch has been released in version v5.4.162 of the Linux Kernel. It is recommended to update to this version or later to fix the vulnerability.

No specific temporary measures have been mentioned for this vulnerability. It is recommended to update the Kernel as soon as possible.

You can find more information about this vulnerability in the GSD-2021-1002258 JSON report available on the Cloud Security Alliance's GitHub repository (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002258.json).

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