CVE-2025-21668
📋 TL;DR
A missing loop break condition in the imx8mp-blk-ctrl power domain driver in the Linux kernel causes an out-of-bounds access during device shutdown, leading to a kernel panic. This affects systems using the i.MX8MP processor with the vulnerable driver. The vulnerability can cause system crashes during shutdown or reboot operations.
💻 Affected Systems
- Linux kernel with imx8mp-blk-ctrl driver
📦 What is this software?
Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic leading to system crash and denial of service during shutdown/reboot operations, potentially causing data loss or corruption.
Likely Case
System crash during shutdown/reboot operations, requiring manual intervention to restore service.
If Mitigated
No impact if patched or if the vulnerable driver is not loaded.
🎯 Exploit Status
Exploitation requires local access to trigger shutdown/reboot operations. No remote exploitation vector exists.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Patches available in stable kernel releases via provided git commits
Vendor Advisory: https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
Restart Required: Yes
Instructions:
1. Update Linux kernel to version containing fixes from provided git commits. 2. For Debian systems, apply security updates via apt. 3. Reboot system to load patched kernel.
🔧 Temporary Workarounds
Disable imx8mp-blk-ctrl driver
linuxPrevent loading of the vulnerable driver module
echo 'blacklist imx8mp-blk-ctrl' >> /etc/modprobe.d/blacklist.conf
rmmod imx8mp_blk_ctrl
🧯 If You Can't Patch
- Restrict local user access to prevent unauthorized shutdown/reboot commands
- Implement monitoring for system crashes and kernel panics related to shutdown operations
🔍 How to Verify
Check if Vulnerable:
Check if imx8mp-blk-ctrl driver is loaded: lsmod | grep imx8mp_blk_ctrl
Check Version:
uname -r
Verify Fix Applied:
Check kernel version against patched releases and verify driver loads without issues during shutdown tests
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages during shutdown
- Out-of-bounds access errors in kernel logs
- System crash reports during reboot operations
Network Indicators:
- None - local vulnerability only
SIEM Query:
source="kernel" AND ("panic" OR "oops" OR "out-of-bounds") AND ("shutdown" OR "reboot")
🔗 References
- https://git.kernel.org/stable/c/488a68c948bc52dc2a4554a56fdd99aa67c49b06
- https://git.kernel.org/stable/c/699cc10cc3068f9097a506eae7fe178c860dca4e
- https://git.kernel.org/stable/c/726efa92e02b460811e8bc6990dd742f03b645ea
- https://git.kernel.org/stable/c/926ad31b76b8e229b412536e77cdf828a5cae9c6
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html