4.7
MEDIUM CVSS 3.1
CVE-2025-71303
accel/amdxdna: Fix race condition when checking rpm_on
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.

INFO

Published Date :

May 27, 2026, 2:16 p.m.

Last Modified :

Oct. 15, 2026, 11:17 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-71303 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Resolve race condition by resuming device before calling set_dpm.
  • Remove the use of the rpm_on flag.
  • Introduce aie2_pm_set_dpm() to resume device.
  • Call set_dpm() in suspend or resume path.
  • Call aie2_pm_set_dpm() otherwise.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-71303.

URL Resource
https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72 Patch
https://git.kernel.org/stable/c/a82142af837f67a3f0a257a6dc355448ace58926
https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc Patch
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-71303 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-71303 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-71303 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-71303 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 15, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/71xxx/CVE-2025-71303.json">CVE-2025-71303</a>
    Added Reference https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72
    Added Reference https://git.kernel.org/stable/c/a82142af837f67a3f0a257a6dc355448ace58926
    Added Reference https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc
    Removed Reference https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72
    Removed Reference https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc
    Removed Reference Type https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc Types: Patch
  • CVE Translated by [email protected]

    Oct. 14, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: accel/amdxdna: Soluciona la condición de carrera al verificar rpm_on Cuando se activa la suspensión automática, la bandera rpm_on del controlador se establece para indicar que una suspensión/reanudación ya está en curso. Sin embargo, cuando una aplicación de espacio de usuario envía un comando durante esta ventana estrecha, amdxdna_pm_resume_get() puede omitir incorrectamente la operación de reanudación porque la bandera rpm_on todavía está establecida. Esto resulta en que se envían comandos mientras el dispositivo no se ha reanudado realmente, causando un comportamiento inesperado. set_dpm() es llamado por suspensión/reanudación, se basaba en la bandera rpm_on para evitar llamar recursivamente a la suspensión/reanudación de rpm. Así que para solucionar esto, se elimina por completo el uso de la bandera rpm_on. En su lugar, se introduce aie2_pm_set_dpm() que reanuda explícitamente el dispositivo antes de invocar set_dpm(). Con este cambio, set_dpm() es llamado directamente dentro de la ruta de ejecución de suspensión o reanudación. De lo contrario, se llama a aie2_pm_set_dpm().
  • Initial Analysis by [email protected]

    Jun. 25, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-362
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.4
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '063db451832b8849faf1b0b8404b3a6a39995b29', 'lessThan': 'e7cb75b6a5127d78298e39750b4f3185eca0dafc', 'versionType': 'git'}, {'status': 'affected', 'version': '063db451832b8849faf1b0b8404b3a6a39995b29', 'lessThan': '00ffe45ece80160aef446d74ded906352f21dd72', 'versionType': 'git'}], 'programFiles': ['drivers/accel/amdxdna/aie2_message.c', 'drivers/accel/amdxdna/aie2_pci.c', 'drivers/accel/amdxdna/aie2_pci.h', 'drivers/accel/amdxdna/aie2_pm.c', 'drivers/accel/amdxdna/aie2_smu.c', 'drivers/accel/amdxdna/amdxdna_pci_drv.h', 'drivers/accel/amdxdna/amdxdna_pm.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.19', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.19.4', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/accel/amdxdna/aie2_message.c', 'drivers/accel/amdxdna/aie2_pci.c', 'drivers/accel/amdxdna/aie2_pci.h', 'drivers/accel/amdxdna/aie2_pm.c', 'drivers/accel/amdxdna/aie2_smu.c', 'drivers/accel/amdxdna/amdxdna_pci_drv.h', 'drivers/accel/amdxdna/amdxdna_pm.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 27, 2026

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72
    Added Reference https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.