Spinlock Recursion Vulnerability in Linux Kernel Affecting Debian Packages

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
No i
Medium
5.5

CVE-2021-47632: In the Linux kernel, the following vulnerability has been resolved: powerpc/set_memory: Avoid spinlock recursion in change_page_attr() Commit 1f9ad21c3b38 ("powerpc/mm: Implement set_memory() routines") included a spin_l... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It is widely used in various distributions, including Debian. This vulnerability specifically affects the memory management routines in the PowerPC architecture of the Linux kernel, which can lead to system instability and potential security risks.

Vulnerability Detail

The vulnerability, identified as CVE-2021-47632, arises from a spinlock recursion issue in the change_page_attr() function within the Linux kernel's memory management subsystem. This flaw was introduced during the implementation of the set_memory() routines, where a spin_lock() was added to ensure safe operations. However, subsequent modifications intended to address concurrent access led to a situation where spinlock recursion could occur, resulting in potential deadlocks and system crashes. The vulnerability can be exploited under specific conditions, particularly when multiple threads attempt to modify memory attributes concurrently, leading to unpredictable behavior.

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

Currently, there are no specific workarounds provided for this vulnerability. Users are advised to apply the patch as soon as it becomes available for their respective Debian versions.

Conclusion

CVE-2021-47632 is a significant vulnerability in the Linux kernel affecting Debian packages, particularly in the PowerPC architecture. Users are encouraged to update their systems to the patched version to mitigate potential risks associated with this vulnerability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2021-47632 is a vulnerability in the Linux kernel that involves spinlock recursion in the change_page_attr() function, potentially leading to system instability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected without any signup.

The consequences include system crashes, deadlocks, and unpredictable behavior when multiple threads attempt to modify memory attributes concurrently.

Yes, a patch is available for Debian 12 and 13 in version 5.17.3-1. Users of Debian 11 should monitor for updates.

If you cannot update immediately, it is advisable to monitor your system for unusual behavior and apply the patch as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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