CVE-2025-71099 (GCVE-0-2025-71099)
Vulnerability from cvelistv5
Published
2026-01-13 15:34
Modified
2026-10-19 18:15
Summary
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)
Impacted products
Vendor Product Version
Linux Linux Version: cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0
Version: cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0
Version: cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-71099",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T15:05:43.168624Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-19T18:15:13.054Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/xe/xe_oa.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c6d30b65b7a44dac52ad49513268adbf19eab4a2",
              "status": "affected",
              "version": "cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0",
              "versionType": "git"
            },
            {
              "lessThan": "7cdb9a9da935c687563cc682155461fef5f9b48d",
              "status": "affected",
              "version": "cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0",
              "versionType": "git"
            },
            {
              "lessThan": "dcb171931954c51a1a7250d558f02b8f36570783",
              "status": "affected",
              "version": "cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/xe/xe_oa.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.11"
            },
            {
              "lessThan": "6.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.64",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.4",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl()\n\nIn xe_oa_add_config_ioctl(), we accessed oa_config-\u003eid after dropping\nmetrics_lock. Since this lock protects the lifetime of oa_config, an\nattacker could guess the id and call xe_oa_remove_config_ioctl() with\nperfect timing, freeing oa_config before we dereference it, leading to\na potential use-after-free.\n\nFix this by caching the id in a local variable while holding the lock.\n\nv2: (Matt A)\n- Dropped mutex_unlock(\u0026oa-\u003emetrics_lock) ordering change from\n  xe_oa_remove_config_ioctl()\n\n(cherry picked from commit 28aeaed130e8e587fd1b73b6d66ca41ccc5a1a31)"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is reached through DRM_XE_OBSERVATION add/remove ioctls on a local Xe DRM device node; no network or physical path exists.\nAC:L - The attacker controls concurrent add and remove operations, and IDs are predictable because the IDR starts at 1 and selects the lowest available value. The race can be attempted repeatedly without relying on victim-controlled state.\nPR:L - The supported observation_paranoid=0 configuration permits ordinary render-node clients without capabilities. Although the default requires initial-namespace CAP_PERFMON or CAP_SYS_ADMIN, the higher-severity reasonable deployment requires only an unprivileged local account with device access.\nUI:N - The attacker triggers both sides of the race directly through concurrent ioctls, without any victim action.\nS:U - Exploitation affects the host kernel within its existing security authority and does not inherently cross a VM, IOMMU, or separate authorization boundary.\nC:H - The stale oa_config can be dereferenced after RCU reclamation and attacker-directed slab reuse, potentially exposing kernel memory through the reclaimed ID or debug UUID accesses.\nI:H - The use-after-free permits attacker-influenced heap reuse and must be treated as potentially yielding memory-corruption primitives, arbitrary writes, or kernel code execution.\nA:H - Dereferencing reclaimed or poisoned slab memory can cause a kernel oops or panic, and the attacker can repeatedly trigger the race."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:12:04.137Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c6d30b65b7a44dac52ad49513268adbf19eab4a2"
        },
        {
          "url": "https://git.kernel.org/stable/c/7cdb9a9da935c687563cc682155461fef5f9b48d"
        },
        {
          "url": "https://git.kernel.org/stable/c/dcb171931954c51a1a7250d558f02b8f36570783"
        }
      ],
      "title": "drm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-71099",
    "datePublished": "2026-01-13T15:34:58.359Z",
    "dateReserved": "2026-01-13T15:30:19.650Z",
    "dateUpdated": "2026-10-19T18:15:13.054Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-71099\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T15:05:43.168624Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T15:05:44.121Z\"}}], \"cna\": {\"title\": \"drm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl()\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The vulnerability is reached through DRM_XE_OBSERVATION add/remove ioctls on a local Xe DRM device node; no network or physical path exists.\\nAC:L - The attacker controls concurrent add and remove operations, and IDs are predictable because the IDR starts at 1 and selects the lowest available value. The race can be attempted repeatedly without relying on victim-controlled state.\\nPR:L - The supported observation_paranoid=0 configuration permits ordinary render-node clients without capabilities. Although the default requires initial-namespace CAP_PERFMON or CAP_SYS_ADMIN, the higher-severity reasonable deployment requires only an unprivileged local account with device access.\\nUI:N - The attacker triggers both sides of the race directly through concurrent ioctls, without any victim action.\\nS:U - Exploitation affects the host kernel within its existing security authority and does not inherently cross a VM, IOMMU, or separate authorization boundary.\\nC:H - The stale oa_config can be dereferenced after RCU reclamation and attacker-directed slab reuse, potentially exposing kernel memory through the reclaimed ID or debug UUID accesses.\\nI:H - The use-after-free permits attacker-influenced heap reuse and must be treated as potentially yielding memory-corruption primitives, arbitrary writes, or kernel code execution.\\nA:H - Dereferencing reclaimed or poisoned slab memory can cause a kernel oops or panic, and the attacker can repeatedly trigger the race.\"}]}], \"affected\": [{\"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\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/c6d30b65b7a44dac52ad49513268adbf19eab4a2\"}, {\"url\": \"https://git.kernel.org/stable/c/7cdb9a9da935c687563cc682155461fef5f9b48d\"}, {\"url\": \"https://git.kernel.org/stable/c/dcb171931954c51a1a7250d558f02b8f36570783\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\ndrm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl()\\n\\nIn xe_oa_add_config_ioctl(), we accessed oa_config-\u003eid after dropping\\nmetrics_lock. Since this lock protects the lifetime of oa_config, an\\nattacker could guess the id and call xe_oa_remove_config_ioctl() with\\nperfect timing, freeing oa_config before we dereference it, leading to\\na potential use-after-free.\\n\\nFix this by caching the id in a local variable while holding the lock.\\n\\nv2: (Matt A)\\n- Dropped mutex_unlock(\u0026oa-\u003emetrics_lock) ordering change from\\n  xe_oa_remove_config_ioctl()\\n\\n(cherry picked from commit 28aeaed130e8e587fd1b73b6d66ca41ccc5a1a31)\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.64\", \"versionStartIncluding\": \"6.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.4\", \"versionStartIncluding\": \"6.11\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.19\", \"versionStartIncluding\": \"6.11\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T12:12:04.137Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-71099\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-19T18:15:13.054Z\", \"dateReserved\": \"2026-01-13T15:30:19.650Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-01-13T15:34:58.359Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…