CVE-2026-43423
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
08/05/2026
Last modified:
08/05/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
usb: gadget: f_ncm: Fix atomic context locking issue<br />
<br />
The ncm_set_alt function was holding a mutex to protect against races<br />
with configfs, which invokes the might-sleep function inside an atomic<br />
context.<br />
<br />
Remove the struct net_device pointer from the f_ncm_opts structure to<br />
eliminate the contention. The connection state is now managed by a new<br />
boolean flag to preserve the use-after-free fix from<br />
commit 6334b8e4553c ("usb: gadget: f_ncm: Fix UAF ncm object at re-bind<br />
after usb ep transport error").<br />
<br />
BUG: sleeping function called from invalid context<br />
Call Trace:<br />
dump_stack_lvl+0x83/0xc0<br />
dump_stack+0x14/0x16<br />
__might_resched+0x389/0x4c0<br />
__might_sleep+0x8e/0x100<br />
...<br />
__mutex_lock+0x6f/0x1740<br />
...<br />
ncm_set_alt+0x209/0xa40<br />
set_config+0x6b6/0xb40<br />
composite_setup+0x734/0x2b40<br />
...



