{"id":"CVE-2025-71303","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-05-27T14:16:42.733","lastModified":"2026-10-15T11:17:17.080","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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()."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","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"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3bdd26582d026bdd86aa76f03989a1137b2490a0","lessThan":"a82142af837f67a3f0a257a6dc355448ace58926","versionType":"git","status":"affected"},{"version":"063db451832b8849faf1b0b8404b3a6a39995b29","lessThan":"e7cb75b6a5127d78298e39750b4f3185eca0dafc","versionType":"git","status":"affected"},{"version":"063db451832b8849faf1b0b8404b3a6a39995b29","lessThan":"00ffe45ece80160aef446d74ded906352f21dd72","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.19","status":"affected"},{"version":"0","lessThan":"6.19","versionType":"semver","status":"unaffected"},{"version":"6.19.4","lessThanOrEqual":"6.19.*","versionType":"semver","status":"unaffected"},{"version":"7.0","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":3.6}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-362"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"6.19.4","matchCriteriaId":"672A3E79-EC03-479D-8503-361DFBDC8092"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a82142af837f67a3f0a257a6dc355448ace58926","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}