{"id":"CVE-2025-71303","aliases":["CVE-2025-71303"],"related":[],"kind":"vulnerability","state":"published","title":"accel/amdxdna: Fix race condition when checking rpm_on","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Fix race condition when checking rpm_on\n\nWhen autosuspend is triggered, driver rpm_on flag is set to indicate that\na suspend/resume is already in progress. However, when a userspace\napplication submits a command during this narrow window,\namdxdna_pm_resume_get() may incorrectly skip the resume operation because\nthe rpm_on flag is still set. This results in commands being submitted\nwhile the device has not actually resumed, causing unexpected behavior.\n\nThe set_dpm() is called by suspend/resume, it relied on rpm_on flag to\navoid calling into rpm suspend/resume recursivly. So to fix this, remove\nthe use of the rpm_on flag entirely. Instead, introduce aie2_pm_set_dpm()\nwhich explicitly resumes the device before invoking set_dpm(). With this\nchange, set_dpm() is called directly inside the suspend or resume execution\npath. Otherwise, aie2_pm_set_dpm() is called.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Fix race condition when checking rpm_on\n\nWhen autosuspend is triggered, driver rpm_on flag is set to indicate that\na suspend/resume is already in progress. However, when a userspace\napplication submits a command during this narrow window,\namdxdna_pm_resume_get() may incorrectly skip the resume operation because\nthe rpm_on flag is still set. This results in commands being submitted\nwhile the device has not actually resumed, causing unexpected behavior.\n\nThe set_dpm() is called by suspend/resume, it relied on rpm_on flag to\navoid calling into rpm suspend/resume recursivly. So to fix this, remove\nthe use of the rpm_on flag entirely. Instead, introduce aie2_pm_set_dpm()\nwhich explicitly resumes the device before invoking set_dpm(). With this\nchange, set_dpm() is called directly inside the suspend or resume execution\npath. Otherwise, aie2_pm_set_dpm() is called.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\naccel/amdxdna: Soluciona la condición de carrera al verificar rpm_on\n\nCuando 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.\n\nset_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().","source":"nvd"}],"published":"2026-05-27T12:14:51.799Z","modified":"2026-10-15T11:17:17.080Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"3bdd26582d026bdd86aa76f03989a1137b2490a0","fixed":"a82142af837f67a3f0a257a6dc355448ace58926","status":"affected"},{"type":"git","introduced":"063db451832b8849faf1b0b8404b3a6a39995b29","fixed":"e7cb75b6a5127d78298e39750b4f3185eca0dafc","status":"affected"},{"type":"git","introduced":"063db451832b8849faf1b0b8404b3a6a39995b29","fixed":"00ffe45ece80160aef446d74ded906352f21dd72","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a82142af837f67a3f0a257a6dc355448ace58926","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71303","url":"https://www.cve.org/CVERecord?id=CVE-2025-71303","licence":"CVE Terms of Use","modified":"2026-10-15T10:06:52.979Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71303","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71303","licence":"Public domain","modified":"2026-10-15T11:17:17.080Z"}],"updatedAt":"2026-11-25T22:59:12.226Z","epss":{"score":0.00112,"percentile":0.01508,"date":"2026-12-01T12:00:22.000Z"}}