{"dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": {"cveId": "CVE-2026-43423", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-05-01T14:12:56.008Z", "datePublished": "2026-05-08T14:21:57.683Z", "dateUpdated": "2026-05-11T22:24:18.117Z"}, "containers": {"cna": {"providerMetadata": {"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T22:24:18.117Z"}, "descriptions": [{"lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_ncm: Fix atomic context locking issue\n\nThe ncm_set_alt function was holding a mutex to protect against races\nwith configfs, which invokes the might-sleep function inside an atomic\ncontext.\n\nRemove the struct net_device pointer from the f_ncm_opts structure to\neliminate the contention. The connection state is now managed by a new\nboolean flag to preserve the use-after-free fix from\ncommit 6334b8e4553c (\"usb: gadget: f_ncm: Fix UAF ncm object at re-bind\nafter usb ep transport error\").\n\nBUG: sleeping function called from invalid context\nCall Trace:\n dump_stack_lvl+0x83/0xc0\n dump_stack+0x14/0x16\n __might_resched+0x389/0x4c0\n __might_sleep+0x8e/0x100\n ...\n __mutex_lock+0x6f/0x1740\n ...\n ncm_set_alt+0x209/0xa40\n set_config+0x6b6/0xb40\n composite_setup+0x734/0x2b40\n ..."}], "affected": [{"product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": ["drivers/usb/gadget/function/f_ncm.c", "drivers/usb/gadget/function/u_ether_configfs.h", "drivers/usb/gadget/function/u_ncm.h"], "versions": [{"version": "b62076e780a2121903ecf9ffdfb89c64647cb7da", "lessThan": "e533a44fb1b337d14f772585b67328bee2e0b5e3", "status": "affected", "versionType": "git"}, {"version": "188338c1827842f898761a939669cf345bdf07e2", "lessThan": "e95120b4b95ef1c16d8e94e201ae89f5e59e2612", "status": "affected", "versionType": "git"}, {"version": "56a512a9b4107079f68701e7d55da8507eb963d9", "lessThan": "0d6c8144ca4d93253de952a5ea0028c19ed7ab68", "status": "affected", "versionType": "git"}]}, {"product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": ["drivers/usb/gadget/function/f_ncm.c", "drivers/usb/gadget/function/u_ether_configfs.h", "drivers/usb/gadget/function/u_ncm.h"], "versions": [{"version": "6.18.17", "lessThan": "6.18.19", "status": "affected", "versionType": "semver"}, {"version": "6.19.7", "lessThan": "6.19.9", "status": "affected", "versionType": "semver"}]}], "cpeApplicability": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.18.17", "versionEndExcluding": "6.18.19"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.19.7", "versionEndExcluding": "6.19.9"}]}]}], "references": [{"url": "https://git.kernel.org/stable/c/e533a44fb1b337d14f772585b67328bee2e0b5e3"}, {"url": "https://git.kernel.org/stable/c/e95120b4b95ef1c16d8e94e201ae89f5e59e2612"}, {"url": "https://git.kernel.org/stable/c/0d6c8144ca4d93253de952a5ea0028c19ed7ab68"}], "title": "usb: gadget: f_ncm: Fix atomic context locking issue", "x_generator": {"engine": "bippy-1.2.0"}}}}