Vulnerability in Kernel: powerpc/set_memory: Avoid spinlock recursion in change_page_attr()

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001063: powerpc/set_memory: Avoid spinlock recursion in change_page_attr(). Affects Kernel versions < 6ebe5ca2cbe438a688f2ae238ef5a0b0b5f3468a. 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 critical component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages memory, processes, and device drivers, among other essential tasks. The powerpc/set_memory module within the Kernel is responsible for handling memory management operations on PowerPC architecture systems. It includes functions like change_page_attr() that modify page attributes. However, a vulnerability has been identified in the change_page_attr() function that can lead to spinlock recursion, potentially causing system instability and crashes.

Vulnerability Detail

The vulnerability in powerpc/set_memory's change_page_attr() function allows for spinlock recursion, which can lead to system instability and crashes. When this function is called recursively, it can result in a deadlock situation where multiple threads are waiting for the same spinlock, causing the system to hang. This vulnerability can be exploited by an attacker to disrupt the normal operation of the system or potentially execute arbitrary code. It is important to note that 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 →

Workaround

As a workaround, users can avoid triggering the vulnerable code path by refraining from performing operations that invoke the change_page_attr() function. However, this may not be feasible in all scenarios and is not a permanent solution. It is strongly advised to apply the official fix by updating the Kernel to the latest version.

Conclusion

In conclusion, a vulnerability has been identified in the powerpc/set_memory module of the Kernel, specifically in the change_page_attr() function. This vulnerability can lead to spinlock recursion, potentially causing system instability and crashes. It is crucial to update the Kernel to the latest version that includes the fix for this vulnerability. Additionally, implementing security best practices and mitigations can help minimize the risk of exploitation. 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 system instability and crashes, potentially allowing an attacker to disrupt the normal operation of the system or execute arbitrary code.

You can use Vulert's playground (https://vulert.com/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.

As of now, there is no known exploit for this vulnerability. However, it is always recommended to apply security patches promptly to mitigate potential risks.

The exact attack vector and remote exploitability of this vulnerability have not been determined yet. However, it is generally advisable to keep systems updated with the latest security patches to minimize the risk of remote exploitation.

While updating the Kernel is the recommended solution, you can mitigate the risk by implementing strict access controls, network segmentation, and other security measures to minimize the exposure of vulnerable systems to potential attackers.

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