GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-90019 (GCVE-0-2026-90019)

Vulnerability from cvelistv5 – Published: 2026-09-16 10:33 – Updated: 2026-09-16 10:33
VLAI
Title
usb: gadget: fix null pointer dereference in usb_put_function_instance()
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 , < 0fc54a00954f9f4c3e3d4ffa64a530685d99a39b (git)
Affected: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 , < 6e6736c049683380f5e20becde498986e9293ca4 (git)
Affected: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 , < 3a9691fff79bcce95338435599df6d3ae433cfdc (git)
Affected: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 , < 7a4f4ca7ff32ae24807c83e2a06d62b13378d53c (git)
Affected: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 , < 6ea3a073ca97716d4a73df49a3bec1c3ccf8e2a0 (git)
Affected: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 , < d3a7fa61997db3bf6dadef4c1bd87a4fa782a817 (git)
Affected: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 , < 5117f236e9e30744338b425395d55913c4500897 (git)
Affected: 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 , < 6e74ac5c596fd246e37eadfc354567179ccbe9aa (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.9
Unaffected: 0 , < 3.9 (semver)
Unaffected: 5.10.270 , ≤ 5.10.* (semver)
Unaffected: 5.15.221 , ≤ 5.15.* (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.51 , ≤ 6.18.* (semver)
Unaffected: 7.2.5 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc2 , ≤ * (original_commit_for_fix)
guessed 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-rc2",
              "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-rc2",
                  "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-09-16T10:33:24.173Z",
        "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-09-16T10:33:24.173Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-90019\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-16T11:17:14.780\",\"lastModified\":\"2026-09-16T11:17:14.780\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/usb/gadget/functions.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2\",\"lessThan\":\"0fc54a00954f9f4c3e3d4ffa64a530685d99a39b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2\",\"lessThan\":\"6e6736c049683380f5e20becde498986e9293ca4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2\",\"lessThan\":\"3a9691fff79bcce95338435599df6d3ae433cfdc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2\",\"lessThan\":\"7a4f4ca7ff32ae24807c83e2a06d62b13378d53c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2\",\"lessThan\":\"6ea3a073ca97716d4a73df49a3bec1c3ccf8e2a0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2\",\"lessThan\":\"d3a7fa61997db3bf6dadef4c1bd87a4fa782a817\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2\",\"lessThan\":\"5117f236e9e30744338b425395d55913c4500897\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2\",\"lessThan\":\"6e74ac5c596fd246e37eadfc354567179ccbe9aa\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/usb/gadget/functions.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.9\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.9\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.270\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.221\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.188\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.157\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.110\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.51\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.5\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0fc54a00954f9f4c3e3d4ffa64a530685d99a39b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3a9691fff79bcce95338435599df6d3ae433cfdc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5117f236e9e30744338b425395d55913c4500897\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6e6736c049683380f5e20becde498986e9293ca4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6e74ac5c596fd246e37eadfc354567179ccbe9aa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6ea3a073ca97716d4a73df49a3bec1c3ccf8e2a0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7a4f4ca7ff32ae24807c83e2a06d62b13378d53c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d3a7fa61997db3bf6dadef4c1bd87a4fa782a817\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…