Skip to contentSkip to conversation

CVE-2026-53279: drm/gma500/oaktrail_lvds: fix hang on init failure

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 26

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

drm/gma500/oaktrail_lvds: fix hang on init failure

The LVDS init code looks up an I2C adapter using i2c_get_adapter() and tries to read the EDID before falling back to allocating and registering its own adapter.

The error handling does not separate these cases so on a late init failure it will try to deregister and free also an adapter that had previously been registered. Since i2c_get_adapter() takes another reference to the adapter, deregistration hangs indefinitely while waiting for the reference to be released.

Fix this by only destroying adapters allocated during LVDS init on errors.

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

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

	Issue introduced in 6.0 with commit a57ebfc0b4da16a3f36bfebb158198aab3e340f8 and fixed in 6.1.175 with commit 5fe9f505d8578852c30668567bc3ce52e776e8c7
	Issue introduced in 6.0 with commit a57ebfc0b4da16a3f36bfebb158198aab3e340f8 and fixed in 6.6.141 with commit 4e04b564c005c9900643c56656d751ad677889be
	Issue introduced in 6.0 with commit a57ebfc0b4da16a3f36bfebb158198aab3e340f8 and fixed in 6.12.91 with commit 7877f7e231a8bd5c817af1491276550a5e195cd7
	Issue introduced in 6.0 with commit a57ebfc0b4da16a3f36bfebb158198aab3e340f8 and fixed in 6.18.33 with commit ab9256936b58eb178caddcf5b5b1638f079909d2
	Issue introduced in 6.0 with commit a57ebfc0b4da16a3f36bfebb158198aab3e340f8 and fixed in 7.0.10 with commit f6fc44af3bbd5ab0fb6bdec6f47decca11b38425
	Issue introduced in 6.0 with commit a57ebfc0b4da16a3f36bfebb158198aab3e340f8 and fixed in 7.1 with commit 657a091ab6d01d0091b77660c75cfed573c9a53e

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-53279

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/gma500/oaktrail_lvds.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/5fe9f505d8578852c30668567bc3ce52e776e8c7
	https://git.kernel.org/stable/c/4e04b564c005c9900643c56656d751ad677889be
	https://git.kernel.org/stable/c/7877f7e231a8bd5c817af1491276550a5e195cd7
	https://git.kernel.org/stable/c/ab9256936b58eb178caddcf5b5b1638f079909d2
	https://git.kernel.org/stable/c/f6fc44af3bbd5ab0fb6bdec6f47decca11b38425
	https://git.kernel.org/stable/c/657a091ab6d01d0091b77660c75cfed573c9a53e