CVEBrief

Home / Linux / Linux / CVE-2022-49943

CVE-2022-49943: is it exploited, and which versions of Linux are affected and fixed?

CVE-2022-49943 is an improper locking vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: Linux from 5.19.7 before 5.19.8 (CVE record by Linux). Fixed in 5.19.8 (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 28, 2026, 19:25 UTC and NVD November 19, 2026, 07:19 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 17:09 UTC
Affected
Linux from 5.19.7 before 5.19.8
CVE record by Linux
Fixed in
5.19.8
CVE record by Linux
Severity
Medium 5.5
CVSS 3.1 from NVD
Exploit odds (EPSS)
0.17% in 30 days
higher than 7% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2022-49943?

In the Linux kernel, the following vulnerability has been resolved: USB: gadget: Fix obscure lockdep violation for udc_mutex A recent commit expanding the scope of the udc_lock mutex in the gadget core managed to cause an obscure and slightly bizarre lockdep violation. In abbreviated form: ====================================================== WARNING: possible circular locking dependency detected 5.19.0-rc7+ #12510 Not tainted ------------------------------------------------------ udevadm/312 is trying to acquire lock: ffff80000aae1058 (udc_lock){+.+.}-{3:3}, at: usb_udc_uevent+0x54/0xe0 but task is already holding lock: ffff000002277548 (kn->active#4){++++}-{0:0}, at: kernfs_seq_start+0x34/0xe0 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #3 (kn->active#4){++++}-{0:0}:        lock_acquire+0x68/0x84        __kernfs_remove+0x268/0x380        kernfs_remove_by_name_ns+0x58/0xac        sysfs_remove_file_ns+0x18/0x24        device_del+0x15c/0x440 -> #2 (device_links_lock){+.+.}-{3:3}:        lock_acquire+0x68/0x84        __mutex_lock+0x9c/0x430        mutex_lock_nested+0x38/0x64        device_link_remove+0x3c/0xa0        _regulator_put.part.0+0x168/0x190        regulator_put+0x3c/0x54        devm_regulator_release+0x14/0x20 -> #1 (regulator_list_mutex){+.+.}-{3:3}:        lock_acquire+0x68/0x84        __mutex_lock+0x9c/0x430        mutex_lock_nested+0x38/0x64        regulator_lock_dependent+0x54/0x284        regulator_enable+0x34/0x80        phy_power_on+0x24/0x130        __dwc2_lowlevel_hw_enable+0x100/0x130        dwc2_lowlevel_hw_enable+0x18/0x40        dwc2_hsotg_udc_start+0x6c/0x2f0        gadget_bind_driver+0x124/0x1f4 -> #0 (udc_lock){+.+.}-{3:3}:        __lock_acquire+0x1298/0x20cc        lock_acquire.part.0+0xe0/0x230        lock_acquire+0x68/0x84        __mutex_lock+0x9c/0x430        mutex_lock_nested+0x38/0x64        usb_udc_uevent+0x54/0xe0 Evidently this was caused by the scope of udc_mutex being too large. The mutex is only meant to protect udc->driver along with a few other things. As far as I can tell, there's no reason for the mutex to be held while the gadget core calls a gadget driver's ->bind or ->unbind routine, or while a UDC is being started or stopped. (This accounts for link #1 in the chain above, where the mutex is held while the dwc2_hsotg_udc is started as part of driver probing.) Gadget drivers' ->disconnect callbacks are problematic. Even though usb_gadget_disconnect() will now acquire the udc_mutex, there's a window in usb_gadget_bind_driver() between the times when the mutex is released and the ->bind callback is invoked. If a disconnect occurred during that window, we could call the driver's ->disconnect routine before its ->bind routine. To prevent this from happening, it will be necessary to prevent a UDC from connecting while it has no gadget driver. This should be done already but it doesn't seem to be; currently usb_gadget_connect() has no check for this. Such a check will have to be added later. Some degree of mutual exclusion is required in soft_connect_store(), which can dereference udc->driver at arbitrary times since it is a sysfs callback. The solution here is to acquire the gadget's device lock rather than the udc_mutex. Since the driver core guarantees that the device lock is always held during driver binding and unbinding, this will make the accesses in soft_connect_store() mutually exclusive with any changes to udc->driver. Lastly, it turns out there is one place which should hold the udc_mutex but currently does not: The function_show() routine needs protection while it dereferences udc->driver. The missing lock and unlock calls are added.

From the CVE record by Linux, last updated May 11, 2026, 19:09 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 5.19.7 before 5.19.85.19.8

As the CVE record by Linux states it, last updated May 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxlinux kernel5.19.7operating system
linuxlinux kernel6.0operating system

NVD analysis (status Analyzed), last modified June 17, 2026, 05:19 UTC.

How severe is CVE-2022-49943?

ScoreVersionVectorSource
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-49943 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.17% probability of exploitation activity in the next 30 days, percentile 6.6 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 18, 2025
Published
June 18, 2025, 10:59 UTC
CVE record updated
May 11, 2026, 19:09 UTC by Linux
NVD
Analyzed, last modified June 17, 2026, 05:19 UTC
Last checked
CVE list November 28, 2026, 19:25 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2022-49943

Is CVE-2022-49943 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2022-49943?

Linux from 5.19.7 before 5.19.8, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2022-49943?

5.19.8, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-49943?

Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2022-49943?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.