{"id":"CVE-2025-71303","revision":"ddaa23f707b04102bcb08da2526a9425","records":[{"revision":"ddaa23f707b04102bcb08da2526a9425","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-71303","aliases":[],"title":"accel/amdxdna: Fix race condition when checking rpm_on","description":"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.","state":0,"publishedAt":"2026-05-27T12:14:51.799+00:00","modifiedAt":"2026-10-15T10:06:52.979+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/accel/amdxdna/aie2_message.c\",\n                        \"drivers/accel/amdxdna/aie2_pci.c\",\n                        \"drivers/accel/amdxdna/aie2_pci.h\",\n                        \"drivers/accel/amdxdna/aie2_pm.c\",\n                        \"drivers/accel/amdxdna/aie2_smu.c\",\n                        \"drivers/accel/amdxdna/amdxdna_pci_drv.h\",\n                        \"drivers/accel/amdxdna/amdxdna_pm.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"3bdd26582d026bdd86aa76f03989a1137b2490a0\",\n                            \"lessThan\": \"a82142af837f67a3f0a257a6dc355448ace58926\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"063db451832b8849faf1b0b8404b3a6a39995b29\",\n                            \"lessThan\": \"e7cb75b6a5127d78298e39750b4f3185eca0dafc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"063db451832b8849faf1b0b8404b3a6a39995b29\",\n                            \"lessThan\": \"00ffe45ece80160aef446d74ded906352f21dd72\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/accel/amdxdna/aie2_message.c\",\n                        \"drivers/accel/amdxdna/aie2_pci.c\",\n                        \"drivers/accel/amdxdna/aie2_pci.h\",\n                        \"drivers/accel/amdxdna/aie2_pm.c\",\n                        \"drivers/accel/amdxdna/aie2_smu.c\",\n                        \"drivers/accel/amdxdna/amdxdna_pci_drv.h\",\n                        \"drivers/accel/amdxdna/amdxdna_pm.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.19\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.19\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.19.4\",\n                            \"lessThanOrEqual\": \"6.19.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.0\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/a82142af837f67a3f0a257a6dc355448ace58926","https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc","https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-71303","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-71303","identifiers":["CVE-2025-71303"]},"retained":false,"historicalAffected":[]}],"coverage":[]}