7.8

CVE-2025-40095: usb: gadget: f_rndis: Refactor bind path to use __free()

Deferred
AliasesUBUNTU-CVE-2025-40095DEBIAN-CVE-2025-40095
Published 30-10-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-40095 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 21 · Related 17

Timeline

  1. 30-10-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_rndis: Refactor bind path to use __free() After an bind/unbind cycle, the rndis->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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.15% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu154 products
  • linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.158-1 | < 6.12.57-1 | < 6.17.6-1
Linux1 product
  • linux≥ 45fe3b8e5342cd1ce307099459c74011d8e01986, < ef81226bb1f8b6e761cd0b53d2696e9c1bc955d1 | ≥ 45fe3b8e5342cd1ce307099459c74011d8e01986, < 5f65c8ad8c7292ed7e3716343fcd590a51818cc3 | ≥ 45fe3b8e5342cd1ce307099459c74011d8e01986, < 380353c3a92be7d928e6f973bd065c5b79755ac3 | ≥ 45fe3b8e5342cd1ce307099459c74011d8e01986, < a8366263b7e5b663d7fb489d3a9ba1e2600049a6 | ≥ 45fe3b8e5342cd1ce307099459c74011d8e01986, < 08228941436047bdcd35a612c1aec0912a29d8cd | 2.6.27

3 vendors · 156 products

References

24 links
Show all 24 references