CVE-2025-71303 (GCVE-0-2025-71303)

Vulnerability from cvelistv5 – Published: 2026-05-27 12:14 – Updated: 2026-10-15 10:06
VLAI
Title
accel/amdxdna: Fix race condition when checking rpm_on
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Affected: 3bdd26582d026bdd86aa76f03989a1137b2490a0 , < a82142af837f67a3f0a257a6dc355448ace58926 (git)
Affected: 063db451832b8849faf1b0b8404b3a6a39995b29 , < e7cb75b6a5127d78298e39750b4f3185eca0dafc (git)
Affected: 063db451832b8849faf1b0b8404b3a6a39995b29 , < 00ffe45ece80160aef446d74ded906352f21dd72 (git)
Create a notification for this product.
Linux Linux Affected: 6.19
Unaffected: 0 , < 6.19 (semver)
Unaffected: 6.19.4 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "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",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a82142af837f67a3f0a257a6dc355448ace58926",
              "status": "affected",
              "version": "3bdd26582d026bdd86aa76f03989a1137b2490a0",
              "versionType": "git"
            },
            {
              "lessThan": "e7cb75b6a5127d78298e39750b4f3185eca0dafc",
              "status": "affected",
              "version": "063db451832b8849faf1b0b8404b3a6a39995b29",
              "versionType": "git"
            },
            {
              "lessThan": "00ffe45ece80160aef446d74ded906352f21dd72",
              "status": "affected",
              "version": "063db451832b8849faf1b0b8404b3a6a39995b29",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "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",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.19"
            },
            {
              "lessThan": "6.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.4",
                  "versionStartIncluding": "6.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-15T10:06:52.979Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a82142af837f67a3f0a257a6dc355448ace58926"
        },
        {
          "url": "https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc"
        },
        {
          "url": "https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72"
        }
      ],
      "title": "accel/amdxdna: Fix race condition when checking rpm_on",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-71303",
    "datePublished": "2026-05-27T12:14:51.799Z",
    "dateReserved": "2026-05-08T13:14:33.087Z",
    "dateUpdated": "2026-10-15T10:06:52.979Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-71303",
      "date": "2026-11-16",
      "epss": "0.00112",
      "percentile": "0.01407"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "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",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "a82142af837f67a3f0a257a6dc355448ace58926",
                    "status": "affected",
                    "version": "3bdd26582d026bdd86aa76f03989a1137b2490a0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e7cb75b6a5127d78298e39750b4f3185eca0dafc",
                    "status": "affected",
                    "version": "063db451832b8849faf1b0b8404b3a6a39995b29",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "00ffe45ece80160aef446d74ded906352f21dd72",
                    "status": "affected",
                    "version": "063db451832b8849faf1b0b8404b3a6a39995b29",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "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",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.19"
                  },
                  {
                    "lessThan": "6.19",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.19.*",
                    "status": "unaffected",
                    "version": "6.19.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.0",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "672A3E79-EC03-479D-8503-361DFBDC8092",
                    "versionEndExcluding": "6.19.4",
                    "versionStartIncluding": "6.19",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "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\u00f3n de carrera al verificar rpm_on\n\nCuando se activa la suspensi\u00f3n autom\u00e1tica, la bandera rpm_on del controlador se establece para indicar que una suspensi\u00f3n/reanudaci\u00f3n ya est\u00e1 en curso. Sin embargo, cuando una aplicaci\u00f3n de espacio de usuario env\u00eda un comando durante esta ventana estrecha, amdxdna_pm_resume_get() puede omitir incorrectamente la operaci\u00f3n de reanudaci\u00f3n porque la bandera rpm_on todav\u00eda est\u00e1 establecida. Esto resulta en que se env\u00edan comandos mientras el dispositivo no se ha reanudado realmente, causando un comportamiento inesperado.\n\nset_dpm() es llamado por suspensi\u00f3n/reanudaci\u00f3n, se basaba en la bandera rpm_on para evitar llamar recursivamente a la suspensi\u00f3n/reanudaci\u00f3n de rpm. As\u00ed 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\u00edcitamente el dispositivo antes de invocar set_dpm(). Con este cambio, set_dpm() es llamado directamente dentro de la ruta de ejecuci\u00f3n de suspensi\u00f3n o reanudaci\u00f3n. De lo contrario, se llama a aie2_pm_set_dpm()."
          }
        ],
        "id": "CVE-2025-71303",
        "lastModified": "2026-10-15T11:17:17.080",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 4.7,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.0,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2026-05-27T14:16:42.733",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/00ffe45ece80160aef446d74ded906352f21dd72"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a82142af837f67a3f0a257a6dc355448ace58926"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/e7cb75b6a5127d78298e39750b4f3185eca0dafc"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-362"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-11-07T04:54:28+00:00",
      "cve": "CVE-2025-71303",
      "id": "CVE-2025-71303",
      "initial_release_date": "2025-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "200",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: accel/amdxdna: Fix race condition when checking rpm_on",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71303.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-29T01:10:50Z",
      "cve": "CVE-2025-71303",
      "id": "CVE-2025-71303",
      "initial_release_date": "2026-05-28T04:01:29Z",
      "product_status:known_not_affected": "385",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-71303",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2025-71303.json",
      "version": "6"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…