CVE-2026-97482 Affecting linux-6.12 package, versions <6.12.111-1~deb12u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-LINUX612-20506449
  • published5 Oct 2026
  • disclosed24 Sept 2026

Introduced: 24 Sep 2026

NewCVE-2026-97482  (opens in a new tab)

How to fix?

Upgrade Debian:12 linux-6.12 to version 6.12.111-1~deb12u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linux-6.12 package and not the linux-6.12 package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: goku_udc: avoid NULL deref of dev->driver in INT_USBRESET log

goku_irq() handles a number of bus events under a single ep0 path. It already guards the gadget driver suspend/resume callbacks against a NULL ->driver:

if (dev-&gt;gadget.speed != USB_SPEED_UNKNOWN
        &amp;&amp; dev-&gt;driver
        &amp;&amp; dev-&gt;driver-&gt;resume) {
    spin_unlock(&amp;dev-&gt;lock);
    dev-&gt;driver-&gt;resume(&amp;dev-&gt;gadget);
    ...
}

but the very next branch unconditionally dereferences dev->driver when an INT_USBRESET arrives:

if (stat &amp; INT_USBRESET) {
    ACK(INT_USBRESET);
    INFO(dev, &#34;USB reset done, gadget %s\n&#34;,
        dev-&gt;driver-&gt;driver.name);
}

If the controller raises INT_USBRESET before any gadget driver has been bound (or after one has been unbound), dev->driver is NULL and the printk dereferences NULL.

smatch flags the inconsistency:

drivers/usb/gadget/udc/goku_udc.c:1618 goku_irq() error: we previously assumed 'dev->driver' could be null (see line 1607)

Fall back to a placeholder when the gadget driver is not bound.

No functional change while a gadget driver is bound.

CVSS Base Scores

version 3.1