CVE-2026-68366 (GCVE-0-2026-68366)

Vulnerability from cvelistv5 – Published: 2026-08-10 12:03 – Updated: 2026-08-19 16:34
VLAI
Title
usb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer uvc_send_response() builds the UVC control response from a user-supplied struct uvc_request_data: req->length = min_t(unsigned int, uvc->event_length, data->length); ... memcpy(req->buf, data->data, req->length); req->length is clamped to uvc->event_length, which is taken from the host control request wLength (up to UVC_MAX_REQUEST_SIZE, 64), and to data->length, which comes from the UVCIOC_SEND_RESPONSE ioctl and is only checked for being negative. The source buffer data->data is only 60 bytes, so a response with uvc->event_length and data->length both greater than 60 makes memcpy() read past the end of data->data. Clamp req->length to sizeof(data->data) as well.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1 , < eaf783c005299a702f2cc96b08cd21ede081f098 (git)
Affected: a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1 , < 568e68d8f80395a64848aa2946af8ade72da0ffb (git)
Affected: a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1 , < 82ec2c1e456b17451f0736c3983402642f961733 (git)
Affected: a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1 , < 4e116372b7a4f87df0dc0ed4b0ab5b0bb0cc5796 (git)
Affected: a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1 , < 662f6c6c6ff8a6c508e1646c09cae74e28f3cca6 (git)
Affected: a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1 , < 1f03658f3e9b2f8fd1d1003ba389a0390b49a350 (git)
Affected: a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1 , < c8510fbbea09ef0170b56b14dc2b5890dc75be07 (git)
Affected: a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1 , < b70dc75e85ba968b7b76eebfe5d63000080b875b (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.10
Unaffected: 0 , < 3.10 (semver)
Unaffected: 5.10.265 , ≤ 5.10.* (semver)
Unaffected: 5.15.216 , ≤ 5.15.* (semver)
Unaffected: 6.1.183 , ≤ 6.1.* (semver)
Unaffected: 6.6.148 , ≤ 6.6.* (semver)
Unaffected: 6.12.101 , ≤ 6.12.* (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (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/function/uvc_v4l2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "eaf783c005299a702f2cc96b08cd21ede081f098",
              "status": "affected",
              "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
              "versionType": "git"
            },
            {
              "lessThan": "568e68d8f80395a64848aa2946af8ade72da0ffb",
              "status": "affected",
              "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
              "versionType": "git"
            },
            {
              "lessThan": "82ec2c1e456b17451f0736c3983402642f961733",
              "status": "affected",
              "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
              "versionType": "git"
            },
            {
              "lessThan": "4e116372b7a4f87df0dc0ed4b0ab5b0bb0cc5796",
              "status": "affected",
              "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
              "versionType": "git"
            },
            {
              "lessThan": "662f6c6c6ff8a6c508e1646c09cae74e28f3cca6",
              "status": "affected",
              "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
              "versionType": "git"
            },
            {
              "lessThan": "1f03658f3e9b2f8fd1d1003ba389a0390b49a350",
              "status": "affected",
              "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
              "versionType": "git"
            },
            {
              "lessThan": "c8510fbbea09ef0170b56b14dc2b5890dc75be07",
              "status": "affected",
              "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
              "versionType": "git"
            },
            {
              "lessThan": "b70dc75e85ba968b7b76eebfe5d63000080b875b",
              "status": "affected",
              "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/gadget/function/uvc_v4l2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.10"
            },
            {
              "lessThan": "3.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.265",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.216",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.183",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.148",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.101",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.265",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.216",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.183",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.148",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.101",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "3.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer\n\nuvc_send_response() builds the UVC control response from a user-supplied\nstruct uvc_request_data:\n\n\treq-\u003elength = min_t(unsigned int, uvc-\u003eevent_length, data-\u003elength);\n\t...\n\tmemcpy(req-\u003ebuf, data-\u003edata, req-\u003elength);\n\nreq-\u003elength is clamped to uvc-\u003eevent_length, which is taken from the\nhost control request wLength (up to UVC_MAX_REQUEST_SIZE, 64), and to\ndata-\u003elength, which comes from the UVCIOC_SEND_RESPONSE ioctl and is\nonly checked for being negative.  The source buffer data-\u003edata is only\n60 bytes, so a response with uvc-\u003eevent_length and data-\u003elength both\ngreater than 60 makes memcpy() read past the end of data-\u003edata.\n\nClamp req-\u003elength to sizeof(data-\u003edata) as well."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-19T16:34:23.776Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/eaf783c005299a702f2cc96b08cd21ede081f098"
        },
        {
          "url": "https://git.kernel.org/stable/c/568e68d8f80395a64848aa2946af8ade72da0ffb"
        },
        {
          "url": "https://git.kernel.org/stable/c/82ec2c1e456b17451f0736c3983402642f961733"
        },
        {
          "url": "https://git.kernel.org/stable/c/4e116372b7a4f87df0dc0ed4b0ab5b0bb0cc5796"
        },
        {
          "url": "https://git.kernel.org/stable/c/662f6c6c6ff8a6c508e1646c09cae74e28f3cca6"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f03658f3e9b2f8fd1d1003ba389a0390b49a350"
        },
        {
          "url": "https://git.kernel.org/stable/c/c8510fbbea09ef0170b56b14dc2b5890dc75be07"
        },
        {
          "url": "https://git.kernel.org/stable/c/b70dc75e85ba968b7b76eebfe5d63000080b875b"
        }
      ],
      "title": "usb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68366",
    "datePublished": "2026-08-10T12:03:43.304Z",
    "dateReserved": "2026-07-30T09:28:09.385Z",
    "dateUpdated": "2026-08-19T16:34:23.776Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68366",
      "date": "2026-09-22",
      "epss": "0.00184",
      "percentile": "0.0826"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/usb/gadget/function/uvc_v4l2.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "eaf783c005299a702f2cc96b08cd21ede081f098",
                    "status": "affected",
                    "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "568e68d8f80395a64848aa2946af8ade72da0ffb",
                    "status": "affected",
                    "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "82ec2c1e456b17451f0736c3983402642f961733",
                    "status": "affected",
                    "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4e116372b7a4f87df0dc0ed4b0ab5b0bb0cc5796",
                    "status": "affected",
                    "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "662f6c6c6ff8a6c508e1646c09cae74e28f3cca6",
                    "status": "affected",
                    "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1f03658f3e9b2f8fd1d1003ba389a0390b49a350",
                    "status": "affected",
                    "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c8510fbbea09ef0170b56b14dc2b5890dc75be07",
                    "status": "affected",
                    "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b70dc75e85ba968b7b76eebfe5d63000080b875b",
                    "status": "affected",
                    "version": "a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/usb/gadget/function/uvc_v4l2.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.10"
                  },
                  {
                    "lessThan": "3.10",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.265",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.216",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.183",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.148",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.101",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.42",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.1.*",
                    "status": "unaffected",
                    "version": "7.1.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer\n\nuvc_send_response() builds the UVC control response from a user-supplied\nstruct uvc_request_data:\n\n\treq-\u003elength = min_t(unsigned int, uvc-\u003eevent_length, data-\u003elength);\n\t...\n\tmemcpy(req-\u003ebuf, data-\u003edata, req-\u003elength);\n\nreq-\u003elength is clamped to uvc-\u003eevent_length, which is taken from the\nhost control request wLength (up to UVC_MAX_REQUEST_SIZE, 64), and to\ndata-\u003elength, which comes from the UVCIOC_SEND_RESPONSE ioctl and is\nonly checked for being negative.  The source buffer data-\u003edata is only\n60 bytes, so a response with uvc-\u003eevent_length and data-\u003elength both\ngreater than 60 makes memcpy() read past the end of data-\u003edata.\n\nClamp req-\u003elength to sizeof(data-\u003edata) as well."
          }
        ],
        "id": "CVE-2026-68366",
        "lastModified": "2026-08-19T17:20:46.203",
        "metrics": {},
        "published": "2026-08-10T13:20:29.230",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1f03658f3e9b2f8fd1d1003ba389a0390b49a350"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4e116372b7a4f87df0dc0ed4b0ab5b0bb0cc5796"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/568e68d8f80395a64848aa2946af8ade72da0ffb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/662f6c6c6ff8a6c508e1646c09cae74e28f3cca6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/82ec2c1e456b17451f0736c3983402642f961733"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b70dc75e85ba968b7b76eebfe5d63000080b875b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c8510fbbea09ef0170b56b14dc2b5890dc75be07"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/eaf783c005299a702f2cc96b08cd21ede081f098"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-31T11:23:40+00:00",
      "cve": "CVE-2026-68366",
      "id": "CVE-2026-68366",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "1",
      "product_status:known_not_affected": "276",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: usb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68366.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-18T00:31:18Z",
      "cve": "CVE-2026-68366",
      "id": "CVE-2026-68366",
      "initial_release_date": "2026-08-14T17:13:53Z",
      "product_status:known_affected": "671",
      "product_status:known_not_affected": "60",
      "product_status:recommended": "107",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68366",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68366.json",
      "version": "9"
    }
  }
}



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…

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…