Skip to contentSkip to conversation

CVE-2026-23188: net: usb: r8152: fix resume reset deadlock

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Feb 14

lore
Share & tools
lore
#0 lore raw

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

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

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

net: usb: r8152: fix resume reset deadlock

rtl8152 can trigger device reset during reset which potentially can result in a deadlock:

**** DPM device timeout after 10 seconds; 15 seconds until panic ****

 Call Trace:
 <TASK>
 schedule+0x483/0x1370
 schedule_preempt_disabled+0x15/0x30
 __mutex_lock_common+0x1fd/0x470
 __rtl8152_set_mac_address+0x80/0x1f0
 dev_set_mac_address+0x7f/0x150
 rtl8152_post_reset+0x72/0x150
 usb_reset_device+0x1d0/0x220
 rtl8152_resume+0x99/0xc0
 usb_resume_interface+0x3e/0xc0
 usb_resume_both+0x104/0x150
 usb_resume+0x22/0x110

The problem is that rtl8152 resume calls reset under tp->control mutex while reset basically re-enters rtl8152 and attempts to acquire the same tp->control lock once again.

Reset INACCESSIBLE device outside of tp->control mutex scope to avoid recursive mutex_lock() deadlock.

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

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

	Issue introduced in 6.11 with commit 4933b066fefbee4f1d2d708de53c4ab7f09026ad and fixed in 6.12.70 with commit 61c8091b7937f91f9bc0b7f6b578de270fe35dc7
	Issue introduced in 6.11 with commit 4933b066fefbee4f1d2d708de53c4ab7f09026ad and fixed in 6.18.10 with commit 1b2efc593dca99d8e8e6f6d6c7ccd9a972679702
	Issue introduced in 6.11 with commit 4933b066fefbee4f1d2d708de53c4ab7f09026ad and fixed in 6.19 with commit 6d06bc83a5ae8777a5f7a81c32dd75b8d9b2fe04

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

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/net/usb/r8152.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/61c8091b7937f91f9bc0b7f6b578de270fe35dc7
	https://git.kernel.org/stable/c/1b2efc593dca99d8e8e6f6d6c7ccd9a972679702
	https://git.kernel.org/stable/c/6d06bc83a5ae8777a5f7a81c32dd75b8d9b2fe04