{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b3c466ce512923298ae8c0121d3e9f397a3f1210"
            },
            {
              "fixed": "7e1b42e973d50f22211ceb3fea29a57709f9ce55"
            },
            {
              "fixed": "891f0110c4673802cf5b2923dfe252f53e60adeb"
            },
            {
              "fixed": "abdcc0419e9d1f8d448095f685c82e49b6712fe6"
            },
            {
              "fixed": "50e5ee542ce5af4887d9a02ea5a2725b2f56985a"
            },
            {
              "fixed": "04b4bf0d8fe3431ac64629e35f6bfe294bb37160"
            },
            {
              "fixed": "afc4b63805254c0c1ae515e69383567c8b57d6ac"
            },
            {
              "fixed": "1e482527aeb0cb45c923248961b82513801b64d4"
            },
            {
              "fixed": "a156148976eac47bee7210097afbb609cafe88b6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.31"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138892.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: gadgetfs: do not WARN about excessively large memory allocations\n\nGadgetFS passes an excessively large user input len to kmalloc and kmalloc\ngives a WARN (see below for details).  Suppress it by passing __GFP_NOWARN\nto kmalloc used by both ep_write_iter() and ep_read_iter().  Follow the\nsame method as commit 4f2629ea67e72 (\"USB: usbfs: Don't WARN about\nexcessively large memory allocations\").\n\nkmalloc is used to allocate physically contiguous memory for kernel\nallocations.  For requests larger than KMALLOC_MAX_CACHE_SIZE, kmalloc\nuses the page allocator and can only support up to KMALLOC_MAX_SIZE.  For\nrequest sizes bigger than KMALLOC_MAX_SIZE, the page allocator can emit a\nWARN because kmalloc allocates an order greater than MAX_PAGE_ORDER.",
  "id": "CVE-2026-138892",
  "modified": "2026-12-01T20:45:29.069363011Z",
  "published": "2026-11-30T13:25:57.605Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/04b4bf0d8fe3431ac64629e35f6bfe294bb37160"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1e482527aeb0cb45c923248961b82513801b64d4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/50e5ee542ce5af4887d9a02ea5a2725b2f56985a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7e1b42e973d50f22211ceb3fea29a57709f9ce55"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/891f0110c4673802cf5b2923dfe252f53e60adeb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a156148976eac47bee7210097afbb609cafe88b6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/abdcc0419e9d1f8d448095f685c82e49b6712fe6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/afc4b63805254c0c1ae515e69383567c8b57d6ac"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138892.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138892"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "USB: gadgetfs: do not WARN about excessively large memory allocations"
}