{"api_version":"1","generated_at":"2026-05-13T07:41:52+00:00","cve":"CVE-2026-43423","urls":{"html":"https://cve.report/CVE-2026-43423","api":"https://cve.report/api/cve/CVE-2026-43423.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-43423","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-43423"},"summary":{"title":"usb: gadget: f_ncm: Fix atomic context locking issue","description":"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 ...","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-08 15:16:54","updated_at":"2026-05-12 14:10:27"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0d6c8144ca4d93253de952a5ea0028c19ed7ab68","name":"https://git.kernel.org/stable/c/0d6c8144ca4d93253de952a5ea0028c19ed7ab68","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e95120b4b95ef1c16d8e94e201ae89f5e59e2612","name":"https://git.kernel.org/stable/c/e95120b4b95ef1c16d8e94e201ae89f5e59e2612","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e533a44fb1b337d14f772585b67328bee2e0b5e3","name":"https://git.kernel.org/stable/c/e533a44fb1b337d14f772585b67328bee2e0b5e3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-43423","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43423","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b62076e780a2121903ecf9ffdfb89c64647cb7da e533a44fb1b337d14f772585b67328bee2e0b5e3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 188338c1827842f898761a939669cf345bdf07e2 e95120b4b95ef1c16d8e94e201ae89f5e59e2612 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 56a512a9b4107079f68701e7d55da8507eb963d9 0d6c8144ca4d93253de952a5ea0028c19ed7ab68 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.17 6.18.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.19.7 6.19.9 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"43423","cve":"CVE-2026-43423","epss":"0.000170000","percentile":"0.041320000","score_date":"2026-05-12","updated_at":"2026-05-13 00:11:53"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/usb/gadget/function/f_ncm.c","drivers/usb/gadget/function/u_ether_configfs.h","drivers/usb/gadget/function/u_ncm.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e533a44fb1b337d14f772585b67328bee2e0b5e3","status":"affected","version":"b62076e780a2121903ecf9ffdfb89c64647cb7da","versionType":"git"},{"lessThan":"e95120b4b95ef1c16d8e94e201ae89f5e59e2612","status":"affected","version":"188338c1827842f898761a939669cf345bdf07e2","versionType":"git"},{"lessThan":"0d6c8144ca4d93253de952a5ea0028c19ed7ab68","status":"affected","version":"56a512a9b4107079f68701e7d55da8507eb963d9","versionType":"git"}]},{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/usb/gadget/function/f_ncm.c","drivers/usb/gadget/function/u_ether_configfs.h","drivers/usb/gadget/function/u_ncm.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6.18.19","status":"affected","version":"6.18.17","versionType":"semver"},{"lessThan":"6.19.9","status":"affected","version":"6.19.7","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.19","versionStartIncluding":"6.18.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.9","versionStartIncluding":"6.19.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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 ..."}],"providerMetadata":{"dateUpdated":"2026-05-11T22:24:18.117Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-43423","datePublished":"2026-05-08T14:21:57.683Z","dateReserved":"2026-05-01T14:12:56.008Z","dateUpdated":"2026-05-11T22:24:18.117Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-08 15:16:54","lastModifiedDate":"2026-05-12 14:10:27","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"43423","Ordinal":"1","Title":"usb: gadget: f_ncm: Fix atomic context locking issue","CVE":"CVE-2026-43423","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"43423","Ordinal":"1","NoteData":"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 ...","Type":"Description","Title":"usb: gadget: f_ncm: Fix atomic context locking issue"}]}}}