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

CVE-2022-50733 (GCVE-0-2022-50733)

Vulnerability from cvelistv5 – Published: 2025-12-24 12:22 – Updated: 2026-05-11 19:24
VLAI
Title
usb: idmouse: fix an uninit-value in idmouse_open
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: idmouse: fix an uninit-value in idmouse_open In idmouse_create_image, if any ftip_command fails, it will go to the reset label. However, this leads to the data in bulk_in_buffer[HEADER..IMGSIZE] uninitialized. And the check for valid image incurs an uninitialized dereference. Fix this by moving the check before reset label since this check only be valid if the data after bulk_in_buffer[HEADER] has concrete data. Note that this is found by KMSAN, so only kernel compilation is tested.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 4244f72436ab77c3c29a6447af81734ab3925d85 , < b3304a6df957cc89a0590cb505388d659bf3db4c (git)
Affected: 4244f72436ab77c3c29a6447af81734ab3925d85 , < 7dad42032f68718259590b0cc7654e9a95ff9762 (git)
Affected: 4244f72436ab77c3c29a6447af81734ab3925d85 , < f589b667567fde4f81d6e6c40f42b9f2224690ea (git)
Affected: 4244f72436ab77c3c29a6447af81734ab3925d85 , < 1eae30c0113dde7522088231584d62415011a035 (git)
Affected: 4244f72436ab77c3c29a6447af81734ab3925d85 , < b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54 (git)
Affected: 4244f72436ab77c3c29a6447af81734ab3925d85 , < 20b8c456df584ebb2387dc23d40ebe4ff334417c (git)
Affected: 4244f72436ab77c3c29a6447af81734ab3925d85 , < 6163a5ae097bc78fa26c243fb384537e25610fd7 (git)
Affected: 4244f72436ab77c3c29a6447af81734ab3925d85 , < adad163d1cff248a5df9f7cec50158e6ca89f33b (git)
Affected: 4244f72436ab77c3c29a6447af81734ab3925d85 , < bce2b0539933e485d22d6f6f076c0fcd6f185c4c (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.13
Unaffected: 0 , < 2.6.13 (semver)
Unaffected: 4.9.331 , ≤ 4.9.* (semver)
Unaffected: 4.14.296 , ≤ 4.14.* (semver)
Unaffected: 4.19.262 , ≤ 4.19.* (semver)
Unaffected: 5.4.220 , ≤ 5.4.* (semver)
Unaffected: 5.10.150 , ≤ 5.10.* (semver)
Unaffected: 5.15.75 , ≤ 5.15.* (semver)
Unaffected: 5.19.17 , ≤ 5.19.* (semver)
Unaffected: 6.0.3 , ≤ 6.0.* (semver)
Unaffected: 6.1 , ≤ * (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/misc/idmouse.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b3304a6df957cc89a0590cb505388d659bf3db4c",
              "status": "affected",
              "version": "4244f72436ab77c3c29a6447af81734ab3925d85",
              "versionType": "git"
            },
            {
              "lessThan": "7dad42032f68718259590b0cc7654e9a95ff9762",
              "status": "affected",
              "version": "4244f72436ab77c3c29a6447af81734ab3925d85",
              "versionType": "git"
            },
            {
              "lessThan": "f589b667567fde4f81d6e6c40f42b9f2224690ea",
              "status": "affected",
              "version": "4244f72436ab77c3c29a6447af81734ab3925d85",
              "versionType": "git"
            },
            {
              "lessThan": "1eae30c0113dde7522088231584d62415011a035",
              "status": "affected",
              "version": "4244f72436ab77c3c29a6447af81734ab3925d85",
              "versionType": "git"
            },
            {
              "lessThan": "b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54",
              "status": "affected",
              "version": "4244f72436ab77c3c29a6447af81734ab3925d85",
              "versionType": "git"
            },
            {
              "lessThan": "20b8c456df584ebb2387dc23d40ebe4ff334417c",
              "status": "affected",
              "version": "4244f72436ab77c3c29a6447af81734ab3925d85",
              "versionType": "git"
            },
            {
              "lessThan": "6163a5ae097bc78fa26c243fb384537e25610fd7",
              "status": "affected",
              "version": "4244f72436ab77c3c29a6447af81734ab3925d85",
              "versionType": "git"
            },
            {
              "lessThan": "adad163d1cff248a5df9f7cec50158e6ca89f33b",
              "status": "affected",
              "version": "4244f72436ab77c3c29a6447af81734ab3925d85",
              "versionType": "git"
            },
            {
              "lessThan": "bce2b0539933e485d22d6f6f076c0fcd6f185c4c",
              "status": "affected",
              "version": "4244f72436ab77c3c29a6447af81734ab3925d85",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/misc/idmouse.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.13"
            },
            {
              "lessThan": "2.6.13",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.331",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.296",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.262",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.220",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.150",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.331",
                  "versionStartIncluding": "2.6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.296",
                  "versionStartIncluding": "2.6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.262",
                  "versionStartIncluding": "2.6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.220",
                  "versionStartIncluding": "2.6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.150",
                  "versionStartIncluding": "2.6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.75",
                  "versionStartIncluding": "2.6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.17",
                  "versionStartIncluding": "2.6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.3",
                  "versionStartIncluding": "2.6.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "2.6.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: idmouse: fix an uninit-value in idmouse_open\n\nIn idmouse_create_image, if any ftip_command fails, it will\ngo to the reset label. However, this leads to the data in\nbulk_in_buffer[HEADER..IMGSIZE] uninitialized. And the check\nfor valid image incurs an uninitialized dereference.\n\nFix this by moving the check before reset label since this\ncheck only be valid if the data after bulk_in_buffer[HEADER]\nhas concrete data.\n\nNote that this is found by KMSAN, so only kernel compilation\nis tested."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:24:27.914Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c"
        },
        {
          "url": "https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762"
        },
        {
          "url": "https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea"
        },
        {
          "url": "https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035"
        },
        {
          "url": "https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54"
        },
        {
          "url": "https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c"
        },
        {
          "url": "https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7"
        },
        {
          "url": "https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b"
        },
        {
          "url": "https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c"
        }
      ],
      "title": "usb: idmouse: fix an uninit-value in idmouse_open",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50733",
    "datePublished": "2025-12-24T12:22:52.651Z",
    "dateReserved": "2025-12-24T12:20:40.331Z",
    "dateUpdated": "2026-05-11T19:24:27.914Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50733",
      "date": "2026-09-16",
      "epss": "0.00278",
      "percentile": "0.20265"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50733\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:15:59.973\",\"lastModified\":\"2026-06-17T05:24:05.140\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: idmouse: fix an uninit-value in idmouse_open\\n\\nIn idmouse_create_image, if any ftip_command fails, it will\\ngo to the reset label. However, this leads to the data in\\nbulk_in_buffer[HEADER..IMGSIZE] uninitialized. And the check\\nfor valid image incurs an uninitialized dereference.\\n\\nFix this by moving the check before reset label since this\\ncheck only be valid if the data after bulk_in_buffer[HEADER]\\nhas concrete data.\\n\\nNote that this is found by KMSAN, so only kernel compilation\\nis tested.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/usb/misc/idmouse.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4244f72436ab77c3c29a6447af81734ab3925d85\",\"lessThan\":\"b3304a6df957cc89a0590cb505388d659bf3db4c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4244f72436ab77c3c29a6447af81734ab3925d85\",\"lessThan\":\"7dad42032f68718259590b0cc7654e9a95ff9762\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4244f72436ab77c3c29a6447af81734ab3925d85\",\"lessThan\":\"f589b667567fde4f81d6e6c40f42b9f2224690ea\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4244f72436ab77c3c29a6447af81734ab3925d85\",\"lessThan\":\"1eae30c0113dde7522088231584d62415011a035\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4244f72436ab77c3c29a6447af81734ab3925d85\",\"lessThan\":\"b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4244f72436ab77c3c29a6447af81734ab3925d85\",\"lessThan\":\"20b8c456df584ebb2387dc23d40ebe4ff334417c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4244f72436ab77c3c29a6447af81734ab3925d85\",\"lessThan\":\"6163a5ae097bc78fa26c243fb384537e25610fd7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4244f72436ab77c3c29a6447af81734ab3925d85\",\"lessThan\":\"adad163d1cff248a5df9f7cec50158e6ca89f33b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4244f72436ab77c3c29a6447af81734ab3925d85\",\"lessThan\":\"bce2b0539933e485d22d6f6f076c0fcd6f185c4c\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/usb/misc/idmouse.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.13\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.13\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.9.331\",\"lessThanOrEqual\":\"4.9.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.14.296\",\"lessThanOrEqual\":\"4.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.262\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.220\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.150\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.75\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.19.17\",\"lessThanOrEqual\":\"5.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0.3\",\"lessThanOrEqual\":\"6.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-07-21T19:09:29+00:00",
      "cve": "CVE-2022-50733",
      "id": "CVE-2022-50733",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "120",
      "product_status:known_affected": "166",
      "product_status:known_not_affected": "76",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: usb: idmouse: fix an uninit-value in idmouse_open",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50733.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-26T01:58:19Z",
      "cve": "CVE-2022-50733",
      "id": "CVE-2022-50733",
      "initial_release_date": "2025-12-25T01:04:40Z",
      "product_status:known_affected": "437",
      "product_status:known_not_affected": "223",
      "product_status:recommended": "272",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50733",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50733.json",
      "version": "30"
    }
  }
}



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…