Skip to main content
VulnerabilityPublished

CVE-2026-138892: Linux kernel · USB: gadgetfs: do not WARN about excessively large memory allocations

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-138892· Low

Not known to be exploited · fixed in afc4b63805254c0c1ae515e69383567c8b57d6ac : update Linux kernel when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Low

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in afc4b63805254c0c1ae515e69383567c8b57d6ac, abdcc0419e9d1f8d448095f685c82e49b6712fe6, a156148976eac47bee7210097afbb609cafe88b6 +5

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  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 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ b3c466ce512923298ae8c0121d3e9f397a3f1210, < afc4b63805254c0c1ae515e69383567c8b57d6ac
Fixed in
  • afc4b63805254c0c1ae515e69383567c8b57d6ac
LinuxLinuxAffected
  • ≥ b3c466ce512923298ae8c0121d3e9f397a3f1210, < abdcc0419e9d1f8d448095f685c82e49b6712fe6
Fixed in
  • abdcc0419e9d1f8d448095f685c82e49b6712fe6
LinuxLinuxAffected
  • ≥ b3c466ce512923298ae8c0121d3e9f397a3f1210, < a156148976eac47bee7210097afbb609cafe88b6
Fixed in
  • a156148976eac47bee7210097afbb609cafe88b6
LinuxLinuxAffected
  • ≥ b3c466ce512923298ae8c0121d3e9f397a3f1210, < 891f0110c4673802cf5b2923dfe252f53e60adeb
Fixed in
  • 891f0110c4673802cf5b2923dfe252f53e60adeb
LinuxLinuxAffected
  • ≥ b3c466ce512923298ae8c0121d3e9f397a3f1210, < 50e5ee542ce5af4887d9a02ea5a2725b2f56985a
Fixed in
  • 50e5ee542ce5af4887d9a02ea5a2725b2f56985a
LinuxLinuxAffected
  • ≥ b3c466ce512923298ae8c0121d3e9f397a3f1210, < 7e1b42e973d50f22211ceb3fea29a57709f9ce55
Fixed in
  • 7e1b42e973d50f22211ceb3fea29a57709f9ce55

Description

In the Linux kernel, the following vulnerability has been resolved: USB: gadgetfs: do not WARN about excessively large memory allocations GadgetFS passes an excessively large user input len to kmalloc and kmalloc gives a WARN (see below for details). Suppress it by passing __GFP_NOWARN to kmalloc used by both ep_write_iter() and ep_read_iter(). Follow the same method as commit 4f2629ea67e72 ("USB: usbfs: Don't WARN about excessively large memory allocations"). kmalloc is used to allocate physically contiguous memory for kernel allocations. For requests larger than KMALLOC_MAX_CACHE_SIZE, kmalloc uses the page allocator and can only support up to KMALLOC_MAX_SIZE. For request sizes bigger than KMALLOC_MAX_SIZE, the page allocator can emit a WARN because kmalloc allocates an order greater than MAX_PAGE_ORDER.

References

Community reviews

Loading reviews…