Vulnerability in Kernel: thermal: core: Fix TZ_GET_TRIP NULL pointer dereference

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000778: thermal: core: Fix TZ_GET_TRIP NULL pointer dereference. Affects Kernel versions >= 1ce50e7d408ef2bdc8ca021363fd46d1b8bfad00, < 3dafbf915c05f83469e791949b5590da2aca2afb. 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 Your last release was probably never penetration tested 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, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The thermal subsystem within the Kernel is responsible for monitoring and controlling the temperature of various components in the system. This vulnerability specifically affects the thermal core module, which is responsible for handling temperature zones and trips.

The vulnerability arises due to a NULL pointer dereference in the TZ_GET_TRIP function. This can be exploited by an attacker to cause a denial-of-service condition or potentially execute arbitrary code with kernel privileges. The vulnerability was introduced in version v5.9 of the Linux Kernel and has been fixed in version v5.15.27.

Vulnerability Detail

The vulnerability in the thermal core module of the Kernel arises from a NULL pointer dereference in the TZ_GET_TRIP function. When this function is called with an invalid trip ID, it fails to handle the NULL pointer correctly, leading to a kernel crash or potential code execution with elevated privileges. An attacker can exploit this vulnerability by sending specially crafted input to trigger the vulnerable code path.

The impact of this vulnerability can range from a denial-of-service condition, where the system becomes unresponsive or crashes, to arbitrary code execution with kernel privileges. Successful exploitation of this vulnerability could allow an attacker to gain control over the affected system and potentially escalate their privileges.

It is important to note that the actual 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 vulnerability in the thermal core module of the Kernel, which results in a NULL pointer dereference in the TZ_GET_TRIP function, can have severe consequences ranging from a denial-of-service condition to arbitrary code execution with kernel privileges. It is crucial to update the Linux Kernel to version v5.15.27 or later to mitigate this vulnerability. Promptly applying security patches and updates is essential to ensure the security and stability of the system.

For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from a denial-of-service condition, where the system becomes unresponsive or crashes, to arbitrary code execution with kernel privileges. Successful exploitation of this vulnerability could allow an attacker to gain control over the affected system and potentially escalate their privileges.

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

There is no evidence to suggest that this vulnerability has been exploited in the wild. However, it is always recommended to apply security patches and updates promptly to mitigate potential risks.

At the moment, there are no known workarounds for this vulnerability. It is recommended to update the Linux Kernel to the fixed version as soon as possible.

The discovery of this vulnerability is credited to the Linux Kernel development team. The vulnerability was identified and fixed through the collaborative efforts of the open-source community.

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