PT-2025-25869

CVE-2022-49943

·

Published

2022-08-30

·

Updated

2026-11-20

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 5.19.0-rc7+
Description A lockdep violation has been resolved in the Linux kernel. The issue was caused by the scope of udc mutex being too large, which led to a possible circular locking dependency. The problem occurred when the gadget core managed to cause an obscure lockdep violation. Technical details about exploitation include the udc lock mutex and the usb udc uevent function. The kernfs seq start function and kn->active#4 lock are also involved in the dependency chain.
Recommendations For Linux kernel versions prior to 5.19.0-rc7+, update to a version that includes the fix for the lockdep violation. As a temporary workaround, consider adding a check to prevent a UDC from connecting while it has no gadget driver. Restrict access to the soft connect store function to minimize the risk of exploitation until the issue is resolved. Acquire the gadget's device lock instead of the udc mutex in the soft connect store function to ensure mutual exclusion. Add missing lock and unlock calls to the function show routine to protect it while dereferencing udc->driver.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
RHSA-2023:2458
RHSA-2023_2458
SUSE-SU-2025:02264-1
SUSE-SU-2025_02264-1
SUSE-SU-2025:02321-1
SUSE-SU-2025:2264-1
SUSE-SU-2026:0473-1
SUSE-SU-2026:0474-1
SUSE-SU-2026:0475-1
SUSE-SU-2026:0495-1
SUSE-SU-2026:0496-1
SUSE-SU-2026:0617-1
SUSE-SU-2026:1131-1
Found an issue in the description? Have something to add? Feel free to write us 👾