# CVE-2025-39722: crypto: caam - Prevent crash on suspend with iMX8QM / iMX8ULP

> 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.24% (percentile 9, 2026-11-26)
- **Published:** 2025-09-05T17:21:29.924Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= d2835701d93cae6d597672ef9dc3fa889867031a, \< f9534674ce53f133c91c272f091f0242932574ae; \>= d2835701d93cae6d597672ef9dc3fa889867031a, \< 488ed465e579a20485f38080e4ef8b90b69ef7c0; \>= d2835701d93cae6d597672ef9dc3fa889867031a, \< 5ffc47feddcf8eb4d8ac7b42111a02c8e8146512
- Anyone running Linux 6.10

## Description

In the Linux kernel, the following vulnerability has been resolved:

crypto: caam - Prevent crash on suspend with iMX8QM / iMX8ULP

Since the CAAM on these SoCs is managed by another ARM core, called the
SECO (Security Controller) on iMX8QM and Secure Enclave on iMX8ULP, which
also reserves access to register page 0 suspend operations cannot touch
this page.

This is similar to when running OPTEE, where OPTEE will reserve page 0.

Track this situation using a new state variable no\_page0, reflecting if
page 0 is reserved elsewhere, either by other management cores in SoC or
by OPTEE.

Replace the optee\_en check in suspend/resume with the new check.

optee\_en cannot go away as it's needed elsewhere to gate OPTEE specific
situations.

Fixes the following splat at suspend:

    Internal error: synchronous external abort: 0000000096000010 \[\#1\] SMP
    Hardware name: Freescale i.MX8QXP ACU6C (DT)
    pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    pc : readl+0x0/0x18
    lr : rd\_reg32+0x18/0x3c
    sp : ffffffc08192ba20
    x29: ffffffc08192ba20 x28: ffffff8025190000 x27: 0000000000000000
    x26: ffffffc0808ae808 x25: ffffffc080922338 x24: ffffff8020e89090
    x23: 0000000000000000 x22: ffffffc080922000 x21: ffffff8020e89010
    x20: ffffffc080387ef8 x19: ffffff8020e89010 x18: 000000005d8000d5
    x17: 0000000030f35963 x16: 000000008f785f3f x15: 000000003b8ef57c
    x14: 00000000c418aef8 x13: 00000000f5fea526 x12: 0000000000000001
    x11: 0000000000000002 x10: 0000000000000001 x9 : 0000000000000000
    x8 : ffffff8025190870 x7 : ffffff8021726880 x6 : 0000000000000002
    x5 : ffffff80217268f0 x4 : ffffff8021726880 x3 : ffffffc081200000
    x2 : 0000000000000001 x1 : ffffff8020e89010 x0 : ffffffc081200004
    Call trace:
     readl+0x0/0x18
     caam\_ctrl\_suspend+0x30/0xdc
     dpm\_run\_callback.constprop.0+0x24/0x5c
     device\_suspend+0x170/0x2e8
     dpm\_suspend+0xa0/0x104
     dpm\_suspend\_start+0x48/0x50
     suspend\_devices\_and\_enter+0x7c/0x45c
     pm\_suspend+0x148/0x160
     state\_store+0xb4/0xf8
     kobj\_attr\_store+0x14/0x24
     sysfs\_kf\_write+0x38/0x48
     kernfs\_fop\_write\_iter+0xb4/0x178
     vfs\_write+0x118/0x178
     ksys\_write+0x6c/0xd0
     \_\_arm64\_sys\_write+0x14/0x1c
     invoke\_syscall.constprop.0+0x64/0xb0
     do\_el0\_svc+0x90/0xb0
     el0\_svc+0x18/0x44
     el0t\_64\_sync\_handler+0x88/0x124
     el0t\_64\_sync+0x150/0x154
    Code: 88dffc21 88dffc21 5ac00800 d65f03c0 (b9400000)

## Affected and fixed versions

- Linux: \>= d2835701d93cae6d597672ef9dc3fa889867031a, \< f9534674ce53f133c91c272f091f0242932574ae; \>= d2835701d93cae6d597672ef9dc3fa889867031a, \< 488ed465e579a20485f38080e4ef8b90b69ef7c0; \>= d2835701d93cae6d597672ef9dc3fa889867031a, \< 5ffc47feddcf8eb4d8ac7b42111a02c8e8146512 (cvelist)
- Linux: 6.10 (cvelist)

## Mitigation

- Upgrade Linux to 5ffc47feddcf8eb4d8ac7b42111a02c8e8146512 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-39722. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39722.md
Affected: Linux >= d2835701d93cae6d597672ef9dc3fa889867031a, < f9534674ce53f133c91c272f091f0242932574ae; >= d2835701d93cae6d597672ef9dc3fa889867031a, < 488ed465e579a20485f38080e4ef8b90b69ef7c0; >= d2835701d93cae6d597672ef9dc3fa889867031a, < 5ffc47feddcf8eb4d8ac7b42111a02c8e8146512; Linux 6.10
Fixed in: Linux 488ed465e579a20485f38080e4ef8b90b69ef7c0, Linux 5ffc47feddcf8eb4d8ac7b42111a02c8e8146512

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-39722 being exploited?

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

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

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

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

Linux \>= d2835701d93cae6d597672ef9dc3fa889867031a, \< f9534674ce53f133c91c272f091f0242932574ae; \>= d2835701d93cae6d597672ef9dc3fa889867031a, \< 488ed465e579a20485f38080e4ef8b90b69ef7c0; \>= d2835701d93cae6d597672ef9dc3fa889867031a, \< 5ffc47feddcf8eb4d8ac7b42111a02c8e8146512; Linux 6.10.

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

Yes. Fixed in Linux 488ed465e579a20485f38080e4ef8b90b69ef7c0, Linux 5ffc47feddcf8eb4d8ac7b42111a02c8e8146512. Upgrade Linux to 5ffc47feddcf8eb4d8ac7b42111a02c8e8146512 or later.

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

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/f9534674ce53f133c91c272f091f0242932574ae>
- patch: <https://git.kernel.org/stable/c/488ed465e579a20485f38080e4ef8b90b69ef7c0>
- patch: <https://git.kernel.org/stable/c/5ffc47feddcf8eb4d8ac7b42111a02c8e8146512>

## 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-39722>

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