Skip to content
Heist/ feed
High

drm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: drm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl() In xe_oa_add_config_ioctl(), we accessed oa_config->id after dropping metrics_lock. Since this lock protects the lifetime of oa_config, an attacker could guess the id and call xe_oa_remove_config_ioctl() with perfect timing, freeing oa_config before we dereference it, leading to a potential use-after-free. Fix this by caching the id in a local variable while holding the lock. v2: (Matt A) - Dropped mutex_unlock(&oa->metrics_lock) ordering change from xe_oa_remove_config_ioctl() (cherry picked from commit 28aeaed130e8e587fd1b73b6d66ca41ccc5a1a31)

Announced Source revision 1
Original source ↗

CVE-2025-71099

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-71099

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0",
        "lessThan": "c6d30b65b7a44dac52ad49513268adbf19eab4a2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0",
        "lessThan": "7cdb9a9da935c687563cc682155461fef5f9b48d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0",
        "lessThan": "dcb171931954c51a1a7250d558f02b8f36570783",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/xe/xe_oa.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.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.64",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.4",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/xe/xe_oa.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-71099

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#39152 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement