{"id":"CVE-2025-71099","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"drm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl()","description":"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->id 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(&oa->metrics_lock) ordering change from\n  xe_oa_remove_config_ioctl()\n\n(cherry picked from commit 28aeaed130e8e587fd1b73b6d66ca41ccc5a1a31)","ai_summary":null,"severity":"high","cvss":{"score":7.8,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CNA"},"scores":[{"score":7.8,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"cna"},{"score":7.8,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd"}],"cwe":["CWE-416"],"remote":false,"remote_unauth":false,"epss":{"score":0.00138,"percentile":0.03435,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"Linux","product":"Linux","versions":">= cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0, < c6d30b65b7a44dac52ad49513268adbf19eab4a2; >= cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0, < 7cdb9a9da935c687563cc682155461fef5f9b48d; >= cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0, < dcb171931954c51a1a7250d558f02b8f36570783","source":"cvelist"},{"vendor":"Linux","product":"Linux","versions":"6.11","source":"cvelist"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://git.kernel.org/stable/c/c6d30b65b7a44dac52ad49513268adbf19eab4a2","kind":"patch"},{"url":"https://git.kernel.org/stable/c/7cdb9a9da935c687563cc682155461fef5f9b48d","kind":"patch"},{"url":"https://git.kernel.org/stable/c/dcb171931954c51a1a7250d558f02b8f36570783","kind":"patch"}],"workarounds":null,"vendors":["linux"],"products":["linux","linux_kernel"],"cpes":["cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:6.11:-:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:6.19:rc6:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:6.19:rc7:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:6.19:rc8:*:*:*:*:*:*"],"published_at":"2026-01-13T15:34:58.359Z","modified_at":"2026-10-19T19:17:11.953Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71099"}],"links":{"html":"https://flawdb.com/CVE-2025-71099","markdown":"https://flawdb.com/CVE-2025-71099.md","json":"https://flawdb.com/api/v1/entries/CVE-2025-71099"}}