PT-2025-25869 · Linux+2 · Linux Kernel+2

Published

2022-08-30

·

Updated

2026-05-26

·

CVE-2022-49943

CVSS v3.1

5.5

Medium

VectorAV: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.

Exploit

Fix

DoS

Improper Locking

NULL Pointer Dereference

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-02033
CVE-2022-49943
RHSA-2023:2458
RHSA-2023_2458
SUSE-SU-2025:02264-1
SUSE-SU-2025:02321-1
SUSE-SU-2025:2264-1
SUSE-SU-2025_02264-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

Affected Products

Linux Kernel
Red Hat
Suse