Skip to main content
VulnerabilityPublished

CVE-2025-40315: Linux kernel · usb: gadget: f_fs: Fix epfile null pointer access after ep enable.

Source GCVE Database

0
Compare

Not known to be exploited.

Data as of 25 Nov 2026, 21:39 UTC

Severity
Medium

Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

AI-suggested

A fix has been implemented by adding NULL pointer handling in the ffs_func_eps_enable() function. Users should apply the official Linux kernel update that includes this fix. No additional mitigation steps are indicated.

Description

A race condition vulnerability in the Linux kernel's USB gadget function (f_fs) could lead to a NULL pointer dereference due to concurrent access to the epfiles pointer. This issue is fixed by adding NULL pointer handling in the affected function.

References

Community reviews

Loading reviews…