Critical KASAN Vulnerability in Linux Kernel Affecting Debian Packages

linux Updated 02 Oct 2025

Summary

12/03/2025
N/A
No i
Medium
5.5

CVE-2025-21866: In the Linux kernel, the following vulnerability has been resolved: powerpc/code-patching: Fix KASAN hit by not flagging text patching area as VM_ALLOC Erhard reported the following KASAN hit while booting his PowerMac G... 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 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 Linux kernel is a core component of the Debian operating system, responsible for managing hardware and system resources. It provides essential services for all other software running on the system. The kernel is designed to be robust and secure, but vulnerabilities can arise, impacting system stability and security. This specific vulnerability affects the kernel's powerpc code-patching functionality, which is crucial for systems like the PowerMac G4.

Vulnerability Detail

In the Linux kernel, a vulnerability was identified in the powerpc code-patching mechanism, where the kernel address sanitizer (KASAN) reported a memory access violation during the boot process of a KASAN-enabled kernel. This issue arises from the improper handling of virtual memory areas allocated for text patching, leading to out-of-bounds memory access. The vulnerability can result in system crashes or unexpected behavior, particularly affecting users of PowerPC architecture systems.

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 mentioned for this vulnerability. Users are advised to apply the patch as soon as it becomes available.

Conclusion

The KASAN vulnerability in the Linux kernel poses a significant risk to systems, particularly those using PowerPC architecture. It is crucial for users to update their kernels to the patched versions to mitigate potential risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

KASAN stands for Kernel Address Sanitizer, a memory error detector for the Linux kernel that helps identify memory corruption issues.

This vulnerability can lead to system crashes or unpredictable behavior, especially on systems using PowerPC architecture.

If you are using Debian 11, 12, or 13 with a vulnerable kernel version, your system may be affected. You can check your kernel version using the command 'uname -r'.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using a manifest file like package-lock.json. Visit https://vulert.com for more information.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

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