# CVE-2025-71303: accel/amdxdna: Fix race condition when checking rpm_on

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-27T12:14:51.799Z
- Modified: 2026-10-15T11:17:17.080Z
- Weaknesses: CWE-362
- Assigned by: Linux

## Description

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

accel/amdxdna: Fix race condition when checking rpm_on

When autosuspend is triggered, driver rpm_on flag is set to indicate that
a suspend/resume is already in progress. However, when a userspace
application submits a command during this narrow window,
amdxdna_pm_resume_get() may incorrectly skip the resume operation because
the rpm_on flag is still set. This results in commands being submitted
while the device has not actually resumed, causing unexpected behavior.

The set_dpm() is called by suspend/resume, it relied on rpm_on flag to
avoid calling into rpm suspend/resume recursivly. So to fix this, remove
the use of the rpm_on flag entirely. Instead, introduce aie2_pm_set_dpm()
which explicitly resumes the device before invoking set_dpm(). With this
change, set_dpm() is called directly inside the suspend or resume execution
path. Otherwise, aie2_pm_set_dpm() is called.

(As written by CVE List.)

## Affected

- Linux Linux: from 3bdd26582d026bdd86aa76f03989a1137b2490a0 before a82142af837f67a3f0a257a6dc355448ace58926; from 063db451832b8849faf1b0b8404b3a6a39995b29 before e7cb75b6a5127d78298e39750b4f3185eca0dafc; from 063db451832b8849faf1b0b8404b3a6a39995b29 before 00ffe45ece80160aef446d74ded906352f21dd72; 6.19 (not affected: before 6.19; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.19 before 6.19.4

## References

- <https://git.kernel.org/stable/c/a82142af837f67a3f0a257a6dc355448ace58926>
- <https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc> (patch)
- <https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72> (patch)

## Sources

- CVE List: [CVE-2025-71303](https://www.cve.org/CVERecord?id=CVE-2025-71303), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-71303](https://nvd.nist.gov/vuln/detail/CVE-2025-71303), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-71303 · Whole record: https://cve.day/CVE-2025-71303.json · Rebuilt by cve.day 2026-11-25T22:59:12.226Z
