lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2026011345-CVE-2025-71099-b6f8@gregkh>
Date: Tue, 13 Jan 2026 16:35:58 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-71099: drm/xe/oa: Fix potential UAF in xe_oa_add_config_ioctl()

From: Greg Kroah-Hartman <gregkh@...nel.org>

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)

The Linux kernel CVE team has assigned CVE-2025-71099 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.11 with commit cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0 and fixed in 6.12.64 with commit c6d30b65b7a44dac52ad49513268adbf19eab4a2
	Issue introduced in 6.11 with commit cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0 and fixed in 6.18.4 with commit 7cdb9a9da935c687563cc682155461fef5f9b48d
	Issue introduced in 6.11 with commit cdf02fe1a94a768cbcd20f5c4e1a1d805f4a06c0 and fixed in 6.19-rc1 with commit dcb171931954c51a1a7250d558f02b8f36570783

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-71099
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/gpu/drm/xe/xe_oa.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/c6d30b65b7a44dac52ad49513268adbf19eab4a2
	https://git.kernel.org/stable/c/7cdb9a9da935c687563cc682155461fef5f9b48d
	https://git.kernel.org/stable/c/dcb171931954c51a1a7250d558f02b8f36570783

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ