Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97482 Overview
CVE-2026-97482 is a NULL pointer dereference vulnerability in the Linux kernel's goku_udc USB gadget driver. The flaw resides in goku_irq() within drivers/usb/gadget/udc/goku_udc.c. When the controller raises an INT_USBRESET interrupt before any gadget driver is bound (or after one has been unbound), the kernel unconditionally dereferences dev->driver while formatting a log message. Static analysis by smatch flagged the inconsistency because the same function already guards suspend and resume paths against a NULL ->driver. The resolution adds a placeholder when no gadget driver is bound. No functional change occurs while a gadget driver is bound.
Critical Impact
An INT_USBRESET interrupt arriving with no gadget driver bound causes a NULL pointer dereference in kernel context, leading to a kernel oops and denial of service on affected systems using the goku_udc controller.
Affected Products
- Linux kernel versions containing the vulnerable drivers/usb/gadget/udc/goku_udc.c code path
- Systems using the Toshiba TC86C001 (Goku-S) USB gadget controller
- Linux distributions shipping unpatched kernel builds
Discovery Timeline
- 2026-09-24 - CVE-2026-97482 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-97482
Vulnerability Analysis
The goku_irq() handler processes multiple bus events through a shared ep0 path. For suspend and resume callbacks, the code checks that dev->gadget.speed != USB_SPEED_UNKNOWN, dev->driver is non-NULL, and the specific callback pointer exists before invoking it. The adjacent branch handling INT_USBRESET lacks the same guard. The branch acknowledges the reset and then calls INFO(dev, "USB reset done, gadget %s\n", dev->driver->driver.name). If dev->driver is NULL at that moment, the format argument dereferences a NULL pointer inside kernel space. The fix substitutes a placeholder string when no gadget driver is bound, keeping behavior unchanged for the bound case [CWE-476].
Root Cause
The root cause is inconsistent NULL checking across branches of a single interrupt handler. One branch guards against an unbound gadget driver; the neighboring branch assumes dev->driver is always valid. Smatch flagged this directly: drivers/usb/gadget/udc/goku_udc.c:1618 goku_irq() error: we previously assumed 'dev->driver' could be null (see line 1607).
Attack Vector
The condition is reachable through hardware behavior rather than a crafted network payload. A USB reset event delivered by the controller before any gadget driver has been bound, or after a gadget driver has been unbound, triggers the dereference. Physical or local access that influences USB bus state on a system using the goku_udc controller can produce the fault and crash the kernel. See the Linux Kernel Commit Update, Linux Kernel Commit Change, and Linux Kernel Commit Modification for the upstream fixes.
Detection Methods for CVE-2026-97482
Indicators of Compromise
- Kernel oops entries in dmesg or /var/log/kern.log referencing goku_irq or goku_udc with a NULL pointer dereference backtrace.
- Repeated USB reset events logged shortly before the kernel fault on systems using the Toshiba TC86C001 controller.
- Unexpected system reboots or hangs correlated with USB device attach, detach, or driver unbind operations.
Detection Strategies
- Inventory running kernel versions and compare against the fixed commits referenced in the upstream advisories.
- Query loaded kernel modules for the presence of goku_udc using lsmod or equivalent configuration management tooling.
- Review crash telemetry for kernel panics whose faulting address resolves inside goku_irq.
Monitoring Recommendations
- Forward kernel ring buffer and crash dump data to a centralized logging platform for continuous review.
- Alert on repeated kernel oops events that reference USB gadget driver symbols on embedded or appliance systems.
- Track vendor advisories for downstream distribution kernels that backport the fix.
How to Mitigate CVE-2026-97482
Immediate Actions Required
- Apply the upstream Linux kernel patches referenced in the NVD entry for CVE-2026-97482.
- Rebuild and redeploy kernel images for distributions and embedded products shipping the goku_udc driver.
- If patching is not immediately possible, unload the goku_udc module on systems that do not require USB gadget functionality on the Toshiba TC86C001 controller.
Patch Information
The fix is distributed across three stable kernel commits: 10d7fc3008d5b7ec03af8e08927f1d090014c2af, 28d78783a871cdb7a637dcb72452ff7d303430ae, and 5bf5e3fba9bc7dfd69701521dbe9809f8ccbdb02. The patch substitutes a placeholder string in the INT_USBRESET log path when dev->driver is NULL, preventing the dereference.
Workarounds
- Blacklist the goku_udc kernel module on systems that do not require this specific USB gadget controller.
- Restrict physical access to devices exposing the affected USB controller to reduce the opportunity for bus events while no gadget driver is bound.
- Avoid unbinding gadget drivers on production systems running unpatched kernels where USB reset events can still occur.
# Prevent the vulnerable module from loading until the kernel is patched
echo "blacklist goku_udc" | sudo tee /etc/modprobe.d/blacklist-goku_udc.conf
sudo modprobe -r goku_udc
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

