Critical Out-of-Bounds Loop Issue in Linux Kernel: CVE-2025-21668

linux Updated 02 Oct 2025

Summary

31/01/2025
N/A
Yes i
Unrated
Not published

CVE-2025-21668: In the Linux kernel, the following vulnerability has been resolved: pmdomain: imx8mp-blk-ctrl: add missing loop break condition Currently imx8mp_blk_ctrl_remove() will continue the for loop until an out-of-bounds excepti... Affects linux versions < 6.1.128-1. Fixed in 6.1.128-1. 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 Linux kernel is the core component of many operating systems, providing the essential interface between hardware and software. It is known for its stability, performance, and support for a wide range of hardware architectures. However, like any complex software, it is susceptible to vulnerabilities. CVE-2025-21668 specifically affects the imx8mp_blk_ctrl_remove function, which is part of the power management domain handling in the kernel, leading to potential system crashes due to an out-of-bounds exception.

Vulnerability Detail

CVE-2025-21668 arises from a missing loop break condition in the imx8mp_blk_ctrl_remove function. This oversight allows the function to continue iterating beyond the bounds of an array, potentially leading to an out-of-bounds exception. The ramifications of this vulnerability include system instability and crashes, which can disrupt services and compromise the reliability of systems relying on the affected kernel versions. The technical details indicate that the vulnerability can be triggered during device shutdown processes, making it critical for systems that utilize the imx8mp_blk_ctrl component.

How To Fix

Minimum fixed version

6.1.128-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, users are advised to avoid using the affected kernel version until a patch is applied.

Conclusion

CVE-2025-21668 is a critical vulnerability in the Linux kernel that can lead to system crashes due to an out-of-bounds exception. It is essential for users to update their systems to the patched version of the kernel to ensure stability and security. Monitoring tools like Vulert can assist in identifying vulnerabilities in open-source software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-21668 is a vulnerability in the Linux kernel that allows for an out-of-bounds exception due to a missing loop break condition in the imx8mp_blk_ctrl_remove function.

The vulnerability affects systems running the Linux kernel versions in Debian 12 and Debian 13 that utilize the imx8mp_blk_ctrl component.

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

The potential consequences include system crashes and instability, which can disrupt services and impact the reliability of systems relying on the affected kernel.

Yes, a patch is available. Users should update their Linux kernel to the latest version to mitigate the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.128-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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