{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138892",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.901Z",
        "datePublished": "2026-11-30T13:25:57.605Z",
        "dateUpdated": "2026-11-30T13:25:57.605Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:25:57.605Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/gadget/legacy/inode.c"
                    ],
                    "versions": [
                        {
                            "version": "b3c466ce512923298ae8c0121d3e9f397a3f1210",
                            "lessThan": "7e1b42e973d50f22211ceb3fea29a57709f9ce55",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b3c466ce512923298ae8c0121d3e9f397a3f1210",
                            "lessThan": "891f0110c4673802cf5b2923dfe252f53e60adeb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b3c466ce512923298ae8c0121d3e9f397a3f1210",
                            "lessThan": "abdcc0419e9d1f8d448095f685c82e49b6712fe6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b3c466ce512923298ae8c0121d3e9f397a3f1210",
                            "lessThan": "50e5ee542ce5af4887d9a02ea5a2725b2f56985a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b3c466ce512923298ae8c0121d3e9f397a3f1210",
                            "lessThan": "04b4bf0d8fe3431ac64629e35f6bfe294bb37160",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b3c466ce512923298ae8c0121d3e9f397a3f1210",
                            "lessThan": "afc4b63805254c0c1ae515e69383567c8b57d6ac",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b3c466ce512923298ae8c0121d3e9f397a3f1210",
                            "lessThan": "1e482527aeb0cb45c923248961b82513801b64d4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b3c466ce512923298ae8c0121d3e9f397a3f1210",
                            "lessThan": "a156148976eac47bee7210097afbb609cafe88b6",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/gadget/legacy/inode.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.31",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.31",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.31",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/7e1b42e973d50f22211ceb3fea29a57709f9ce55"
                },
                {
                    "url": "https://git.kernel.org/stable/c/891f0110c4673802cf5b2923dfe252f53e60adeb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/abdcc0419e9d1f8d448095f685c82e49b6712fe6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/50e5ee542ce5af4887d9a02ea5a2725b2f56985a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/04b4bf0d8fe3431ac64629e35f6bfe294bb37160"
                },
                {
                    "url": "https://git.kernel.org/stable/c/afc4b63805254c0c1ae515e69383567c8b57d6ac"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1e482527aeb0cb45c923248961b82513801b64d4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a156148976eac47bee7210097afbb609cafe88b6"
                }
            ],
            "title": "USB: gadgetfs: do not WARN about excessively large memory allocations",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}