Skip to contentSkip to conversation

CVE-2026-98973: drm/bridge: Fix unlocked list_del in drm_bridge_add()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

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/bridge: Fix unlocked list_del in drm_bridge_add()

When re-adding a bridge that was previously removed, drm_bridge_add() drops it from bridge_lingering_list without holding bridge_lock.

Both bridge_list and bridge_lingering_list are protected by bridge_lock, as they are concurrently modified by drm_bridge_remove() and __drm_bridge_free(), and walked by the debugfs 'bridges' file. Running the list_empty() test and the list_del_init() outside of the lock may therefore corrupt either list.

Perform both under bridge_lock.

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

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

	Issue introduced in 6.19 with commit 17805a15d1751f5d6bb06f924f9bed216feb8db7 and fixed in 7.2.11 with commit f469d850854101eae60dd4080244f114a9bcf2b5
	Issue introduced in 6.19 with commit 17805a15d1751f5d6bb06f924f9bed216feb8db7 and fixed in 7.3 with commit b62e3db8cdc1680e1c3390591e872f485148541a

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

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/drm_bridge.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/f469d850854101eae60dd4080244f114a9bcf2b5
	https://git.kernel.org/stable/c/b62e3db8cdc1680e1c3390591e872f485148541a