CVE-2026-90019 (GCVE-0-2026-90019)
Vulnerability from cvelistv5
Published
2026-09-16 10:33
Modified
2026-10-19 08:56
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: fix null pointer dereference in usb_put_function_instance() usb_put_function_instance() attempts to dereference fd inside fi struct to get mod in uvc_alloc_inst() error path. However, fd is not allocated until later in try_get_usb_function_instance() after allocating fi in uvc_alloc_inst() and thus guranteed to be null in error path. Fix this by adding a null check for fi->fd that returns if fd is null.
Impacted products
Vendor Product Version
Linux Linux Version: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2
Version: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2
Version: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2
Version: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2
Version: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2
Version: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2
Version: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2
Version: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/functions.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0fc54a00954f9f4c3e3d4ffa64a530685d99a39b",
              "status": "affected",
              "version": "0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2",
              "versionType": "git"
            },
            {
              "lessThan": "6e6736c049683380f5e20becde498986e9293ca4",
              "status": "affected",
              "version": "0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2",
              "versionType": "git"
            },
            {
              "lessThan": "3a9691fff79bcce95338435599df6d3ae433cfdc",
              "status": "affected",
              "version": "0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2",
              "versionType": "git"
            },
            {
              "lessThan": "7a4f4ca7ff32ae24807c83e2a06d62b13378d53c",
              "status": "affected",
              "version": "0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2",
              "versionType": "git"
            },
            {
              "lessThan": "6ea3a073ca97716d4a73df49a3bec1c3ccf8e2a0",
              "status": "affected",
              "version": "0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2",
              "versionType": "git"
            },
            {
              "lessThan": "d3a7fa61997db3bf6dadef4c1bd87a4fa782a817",
              "status": "affected",
              "version": "0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2",
              "versionType": "git"
            },
            {
              "lessThan": "5117f236e9e30744338b425395d55913c4500897",
              "status": "affected",
              "version": "0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2",
              "versionType": "git"
            },
            {
              "lessThan": "6e74ac5c596fd246e37eadfc354567179ccbe9aa",
              "status": "affected",
              "version": "0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/functions.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.9"
            },
            {
              "lessThan": "3.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: fix null pointer dereference in usb_put_function_instance()\n\nusb_put_function_instance() attempts to dereference fd inside fi struct\nto get mod in uvc_alloc_inst() error path. However, fd is not allocated\nuntil later in try_get_usb_function_instance() after allocating fi in\nuvc_alloc_inst() and thus guranteed to be null in error path. Fix this\nby adding a null check for fi-\u003efd that returns if fd is null."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:56:32.862Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0fc54a00954f9f4c3e3d4ffa64a530685d99a39b"
        },
        {
          "url": "https://git.kernel.org/stable/c/6e6736c049683380f5e20becde498986e9293ca4"
        },
        {
          "url": "https://git.kernel.org/stable/c/3a9691fff79bcce95338435599df6d3ae433cfdc"
        },
        {
          "url": "https://git.kernel.org/stable/c/7a4f4ca7ff32ae24807c83e2a06d62b13378d53c"
        },
        {
          "url": "https://git.kernel.org/stable/c/6ea3a073ca97716d4a73df49a3bec1c3ccf8e2a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/d3a7fa61997db3bf6dadef4c1bd87a4fa782a817"
        },
        {
          "url": "https://git.kernel.org/stable/c/5117f236e9e30744338b425395d55913c4500897"
        },
        {
          "url": "https://git.kernel.org/stable/c/6e74ac5c596fd246e37eadfc354567179ccbe9aa"
        }
      ],
      "title": "usb: gadget: fix null pointer dereference in usb_put_function_instance()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90019",
    "datePublished": "2026-09-16T10:33:24.173Z",
    "dateReserved": "2026-09-11T19:38:34.781Z",
    "dateUpdated": "2026-10-19T08:56:32.862Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…