Review reviewHigh

CVE-2025-40092

Linux

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: Refactor bind path to use __free() After an bind/unbind cycle, the ncm->notify_req is left stale. If a subsequent bind fails, the unified error label attempts to free this stale request, leading to a NULL pointer dereference when accessing ep->ops->free_request. Refactor the error handling in the bind path to use the __free() automatic cleanup mechanism. Unable to handle kernel NULL pointer dereference at virtual address 0000000000000020 Call trace: usb_ep_free_request+0x2c/0xec ncm_bind+0x39c/0x3dc usb_...

CVSS
7.8
EPSS
0.14%
4.16% percentile
CISA KEV
Not listed
Published
2025.10.30
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.14%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: Refactor bind path to use __free() After an bind/unbind cycle, the ncm->notify_req is left stale. If a subsequent bind fails, the unified error label attempts to free this stale request, leading to a NULL pointer dereference when accessing ep->ops->free_request. Refactor the error handling in the bind path to use the __free() automatic cleanup mechanism. Unable to handle kernel NULL pointer dereference at virtual address 0000000000000020 Call trace: usb_ep_free_request+0x2c/0xec ncm_bind+0x39c/0x3dc usb_...

Affected product and versions

Product
Linux
Affected versions
>= 9f6ce4240a2bf456402c15c06768059e5973f28c < 185193a4714aa9c78437a7a1858fbe5771f0f45c, >= 9f6ce4240a2bf456402c15c06768059e5973f28c < f37de8dec6a4c379b4b8486003a1de00ff8cff3b, >= 9f6ce4240a2bf456402c15c06768059e5973f28c < 1cde4516295a030cb8ab4c93114ca3b6c3c6a1e2, >= 9f6ce4240a2bf456402c15c06768059e5973f28c < d3fe7143928d8dfa2ec7bac9f906b48bc75b98ee, >= 9f6ce4240a2bf456402c15c06768059e5973f28c < ed78f4d6079d872432b1ed54f155ef61965d3137, >= 9f6ce4240a2bf456402c15c06768059e5973f28c < 75a5b8d4ddd4eb6b16cb0b475d14ff4ae64295ef, >= 2.6.38
Fixed versions
No verified fixed-version field is available yet

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
Not available