# CVE-2025-21668: pmdomain: imx8mp-blk-ctrl: add missing loop break condition

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 15, 2026-11-26)
- **CWE:** CWE-835
- **Published:** 2025-01-31T11:25:32.477Z
- **Modified:** 2026-06-17T08:43:58.507Z

## Who should check

- Anyone running Linux \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 699cc10cc3068f9097a506eae7fe178c860dca4e; \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 926ad31b76b8e229b412536e77cdf828a5cae9c6; \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 488a68c948bc52dc2a4554a56fdd99aa67c49b06; \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 726efa92e02b460811e8bc6990dd742f03b645ea
- Anyone running Linux 5.19

## Description

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 exception occurs.

pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : dev\_pm\_domain\_detach+0x8/0x48
lr : imx8mp\_blk\_ctrl\_shutdown+0x58/0x90
sp : ffffffc084f8bbf0
x29: ffffffc084f8bbf0 x28: ffffff80daf32ac0 x27: 0000000000000000
x26: ffffffc081658d78 x25: 0000000000000001 x24: ffffffc08201b028
x23: ffffff80d0db9490 x22: ffffffc082340a78 x21: 00000000000005b0
x20: ffffff80d19bc180 x19: 000000000000000a x18: ffffffffffffffff
x17: ffffffc080a39e08 x16: ffffffc080a39c98 x15: 4f435f464f006c72
x14: 0000000000000004 x13: ffffff80d0172110 x12: 0000000000000000
x11: ffffff80d0537740 x10: ffffff80d05376c0 x9 : ffffffc0808ed2d8
x8 : ffffffc084f8bab0 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffffff80d19b9420 x4 : fffffffe03466e60 x3 : 0000000080800077
x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 dev\_pm\_domain\_detach+0x8/0x48
 platform\_shutdown+0x2c/0x48
 device\_shutdown+0x158/0x268
 kernel\_restart\_prepare+0x40/0x58
 kernel\_kexec+0x58/0xe8
 \_\_do\_sys\_reboot+0x198/0x258
 \_\_arm64\_sys\_reboot+0x2c/0x40
 invoke\_syscall+0x5c/0x138
 el0\_svc\_common.constprop.0+0x48/0xf0
 do\_el0\_svc+0x24/0x38
 el0\_svc+0x38/0xc8
 el0t\_64\_sync\_handler+0x120/0x130
 el0t\_64\_sync+0x190/0x198
Code: 8128c2d0 ffffffc0 aa1e03e9 d503201f

## Affected and fixed versions

- Linux: \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 699cc10cc3068f9097a506eae7fe178c860dca4e; \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 926ad31b76b8e229b412536e77cdf828a5cae9c6; \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 488a68c948bc52dc2a4554a56fdd99aa67c49b06; \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 726efa92e02b460811e8bc6990dd742f03b645ea (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 726efa92e02b460811e8bc6990dd742f03b645ea or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21668. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21668.md
Affected: Linux >= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, < 699cc10cc3068f9097a506eae7fe178c860dca4e; >= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, < 926ad31b76b8e229b412536e77cdf828a5cae9c6; >= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, < 488a68c948bc52dc2a4554a56fdd99aa67c49b06; >= 556f5cf9568af772d494cff…
Fixed in: Linux 699cc10cc3068f9097a506eae7fe178c860dca4e, Linux 926ad31b76b8e229b412536e77cdf828a5cae9c6, Linux 488a68c948bc52dc2a4554a56fdd99aa67c49b06, Linux 726efa92e02b460811e8bc6990dd742f03b645ea

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-21668 being exploited?

There is no confirmed exploitation: CVE-2025-21668 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-21668?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-21668?

Linux \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 699cc10cc3068f9097a506eae7fe178c860dca4e; \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 926ad31b76b8e229b412536e77cdf828a5cae9c6; \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 488a68c948bc52dc2a4554a56fdd99aa67c49b06; \>= 556f5cf9568af772d494cff24ffaa7ea41e1ab40, \< 726efa92e02b460811e8bc6990dd742f03b645ea; Linux 5.19.

### Is there a fix for CVE-2025-21668?

Yes. Fixed in Linux 699cc10cc3068f9097a506eae7fe178c860dca4e, Linux 926ad31b76b8e229b412536e77cdf828a5cae9c6, Linux 488a68c948bc52dc2a4554a56fdd99aa67c49b06, Linux 726efa92e02b460811e8bc6990dd742f03b645ea. Upgrade Linux to 726efa92e02b460811e8bc6990dd742f03b645ea or later.

### How do I check if I'm affected by CVE-2025-21668?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/699cc10cc3068f9097a506eae7fe178c860dca4e>
- patch: <https://git.kernel.org/stable/c/926ad31b76b8e229b412536e77cdf828a5cae9c6>
- patch: <https://git.kernel.org/stable/c/488a68c948bc52dc2a4554a56fdd99aa67c49b06>
- patch: <https://git.kernel.org/stable/c/726efa92e02b460811e8bc6990dd742f03b645ea>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21668>

HTML: <https://flawdb.com/CVE-2025-21668> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21668>
