{"id":"CVE-2026-43424","aliases":["CVE-2026-43424"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: f_tcm: Fix NULL pointer dereferences in nexus handling","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_tcm: Fix NULL pointer dereferences in nexus handling\n\nThe `tpg->tpg_nexus` pointer in the USB Target driver is dynamically\nmanaged and tied to userspace configuration via ConfigFS. It can be\nNULL if the USB host sends requests before the nexus is fully\nestablished or immediately after it is dropped.\n\nCurrently, functions like `bot_submit_command()` and the data\ntransfer paths retrieve `tv_nexus = tpg->tpg_nexus` and immediately\ndereference `tv_nexus->tvn_se_sess` without any validation. If a\nmalicious or misconfigured USB host sends a BOT (Bulk-Only Transport)\ncommand during this race window, it triggers a NULL pointer\ndereference, leading to a kernel panic (local DoS).\n\nThis exposes an inconsistent API usage within the module, as peer\nfunctions like `usbg_submit_command()` and `bot_send_bad_response()`\ncorrectly implement a NULL check for `tv_nexus` before proceeding.\n\nFix this by bringing consistency to the nexus handling. Add the\nmissing `if (!tv_nexus)` checks to the vulnerable BOT command and\nrequest processing paths, aborting the command gracefully with an\nerror instead of crashing the system.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_tcm: Fix NULL pointer dereferences in nexus handling\n\nThe `tpg->tpg_nexus` pointer in the USB Target driver is dynamically\nmanaged and tied to userspace configuration via ConfigFS. It can be\nNULL if the USB host sends requests before the nexus is fully\nestablished or immediately after it is dropped.\n\nCurrently, functions like `bot_submit_command()` and the data\ntransfer paths retrieve `tv_nexus = tpg->tpg_nexus` and immediately\ndereference `tv_nexus->tvn_se_sess` without any validation. If a\nmalicious or misconfigured USB host sends a BOT (Bulk-Only Transport)\ncommand during this race window, it triggers a NULL pointer\ndereference, leading to a kernel panic (local DoS).\n\nThis exposes an inconsistent API usage within the module, as peer\nfunctions like `usbg_submit_command()` and `bot_send_bad_response()`\ncorrectly implement a NULL check for `tv_nexus` before proceeding.\n\nFix this by bringing consistency to the nexus handling. Add the\nmissing `if (!tv_nexus)` checks to the vulnerable BOT command and\nrequest processing paths, aborting the command gracefully with an\nerror instead of crashing the system.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nusb: gadget: f_tcm: Corrección de desreferencias de puntero NULL en el manejo de nexos\n\nEl puntero “tpg  ->  tpg_nexus” en el controlador USB Target se gestiona dinámicamente y está vinculado a la configuración del espacio de usuario a través de ConfigFS. Puede ser NULL si el host USB envía solicitudes antes de que el nexo esté completamente establecido o inmediatamente después de que se elimine.\n\nActualmente, funciones como “bot_submit_command()” y las rutas de transferencia de datos recuperan “tv_nexus = tpg  ->  tpg_nexus” y desreferencian inmediatamente “tv_nexus  ->  tvn_se_sess” sin ninguna validación. Si un host USB malicioso o mal configurado envía un comando BOT (Bulk-Only Transport) durante esta ventana de carrera, desencadena una desreferencia de puntero NULL, lo que lleva a un pánico del kernel (DoS local).\n\nEsto expone un uso inconsistente de la API dentro del módulo, ya que funciones pares como “usbg_submit_command()” y “bot_send_bad_response()” implementan correctamente una verificación de NULL para “tv_nexus” antes de continuar.\n\nSolucione esto aportando consistencia al manejo del nexo. Agregue las verificaciones “if (!tv_nexus)” faltantes a las rutas vulnerables de procesamiento de comandos BOT y solicitudes, abortando el comando de forma elegante con un error en lugar de bloquear el sistema.","source":"nvd"}],"published":"2026-05-08T14:21:58.365Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"b9b26d7f3aa288cfa54a7bc68612bab1f153f156","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"2a2ef846a54a06c33b5c2d4b0d918583e1e7c0b7","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"d146f27758049fa55ae4c53785a852d3cf7a18d6","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"f962ca3b020e13d6714f27e8c36fe742441c58d1","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"679d9535aeb15c10bce89c44102004b96624d706","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"3d309b37633c4a847fc149939a2c9576f1aa1065","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"b9fde507355342a2d64225d582dc8b98ff5ecb19","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.19","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.9","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.5","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.19"},{"status":"affected","introduced":"6.19","fixed":"6.19.9"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b9b26d7f3aa288cfa54a7bc68612bab1f153f156","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a2ef846a54a06c33b5c2d4b0d918583e1e7c0b7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d146f27758049fa55ae4c53785a852d3cf7a18d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f962ca3b020e13d6714f27e8c36fe742441c58d1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/679d9535aeb15c10bce89c44102004b96624d706","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3d309b37633c4a847fc149939a2c9576f1aa1065","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9fde507355342a2d64225d582dc8b98ff5ecb19","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43424","url":"https://www.cve.org/CVERecord?id=CVE-2026-43424","licence":"CVE Terms of Use","modified":"2026-05-11T22:24:19.268Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43424","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43424","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.062Z","epss":{"score":0.00123,"percentile":0.02213,"date":"2026-12-01T12:00:22.000Z"}}