CVE-2026-43423

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*

History

22 May 2026, 17:44

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0d6c8144ca4d93253de952a5ea0028c19ed7ab68 - () https://git.kernel.org/stable/c/0d6c8144ca4d93253de952a5ea0028c19ed7ab68 - Patch
References () https://git.kernel.org/stable/c/e533a44fb1b337d14f772585b67328bee2e0b5e3 - () https://git.kernel.org/stable/c/e533a44fb1b337d14f772585b67328bee2e0b5e3 - Patch
References () https://git.kernel.org/stable/c/e95120b4b95ef1c16d8e94e201ae89f5e59e2612 - () https://git.kernel.org/stable/c/e95120b4b95ef1c16d8e94e201ae89f5e59e2612 - Patch
CPE cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-667
First Time Linux
Linux linux Kernel

08 May 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-08 15:16

Updated : 2026-05-22 17:44


NVD link : CVE-2026-43423

Mitre link : CVE-2026-43423

CVE.ORG link : CVE-2026-43423


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-667

Improper Locking