CVE-2025-40095: Linux kernel · usb: gadget: f_rndis: Refactor bind path to use __free() After an bind/unbind
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 2026-10-25.
What to do
AI-suggested
A fix has been implemented in the Linux kernel that refactors the bind path to use the __free() automatic cleanup mechanism, preventing stale pointer dereferences. Users should apply the official kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for the current remediation guidance.
Description
A high-severity vulnerability in the Linux kernel's USB gadget function f_rndis has been resolved. The issue involves stale memory references after a bind/unbind cycle, which can lead to a NULL pointer dereference during error handling. This occurs when the system attempts to free a stale request, causing potential kernel crashes or denial of service. The fix refactors the bind path to use an automatic cleanup mechanism to prevent this stale reference.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40095 (opens in a new tab)
- git.kernel.org/stable/c/08228941436047bdcd35a612c1aec0912a29d8cd (opens in a new tab)
- git.kernel.org/stable/c/380353c3a92be7d928e6f973bd065c5b79755ac3 (opens in a new tab)
- git.kernel.org/stable/c/5f65c8ad8c7292ed7e3716343fcd590a51818cc3 (opens in a new tab)
- git.kernel.org/stable/c/a8366263b7e5b663d7fb489d3a9ba1e2600049a6 (opens in a new tab)
- git.kernel.org/stable/c/ef81226bb1f8b6e761cd0b53d2696e9c1bc955d1 (opens in a new tab)