CVE-2026-68248: drm/i915: Return NULL on error in active_instance

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081020-CVE-2026-68248-b311@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

drm/i915: Return NULL on error in active_instance

Avoid returning &node->base when node is NULL due to OOM
during GFP_ATOMIC allocation.

Discovered using AI-assisted static analysis confirmed by
Intel Product Security.

(cherry picked from commit 6029bc064f0b1bac184203a50fbaaf070fa18832)

The Linux kernel CVE team has assigned CVE-2026-68248 to this issue.


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

	Issue introduced in 5.13 with commit bfaae47db3c0989c0ca82a1d59ca3088860b1845 and fixed in 6.6.148 with commit 32c1a2afa90dd07df931f0b12578de1dbb751f0c
	Issue introduced in 5.13 with commit bfaae47db3c0989c0ca82a1d59ca3088860b1845 and fixed in 6.12.101 with commit b238d86e7f43afde8e830ef5b8d89ffedbbc7613
	Issue introduced in 5.13 with commit bfaae47db3c0989c0ca82a1d59ca3088860b1845 and fixed in 6.18.42 with commit cbec6a57959ab503e3ad4ad6edd51efb585dce92
	Issue introduced in 5.13 with commit bfaae47db3c0989c0ca82a1d59ca3088860b1845 and fixed in 7.1.6 with commit 58b7e63ca0cd964190957ddd169c899256acaee9
	Issue introduced in 5.13 with commit bfaae47db3c0989c0ca82a1d59ca3088860b1845 and fixed in 7.2-rc2 with commit 1e33f0de5fdcd09e51fdec1e5822448970b6420f

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-2026-68248
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/i915/i915_active.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/32c1a2afa90dd07df931f0b12578de1dbb751f0c
	https://git.kernel.org/stable/c/b238d86e7f43afde8e830ef5b8d89ffedbbc7613
	https://git.kernel.org/stable/c/cbec6a57959ab503e3ad4ad6edd51efb585dce92
	https://git.kernel.org/stable/c/58b7e63ca0cd964190957ddd169c899256acaee9
	https://git.kernel.org/stable/c/1e33f0de5fdcd09e51fdec1e5822448970b6420f
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.