Skip to content
Heist/ feed
Back to feed
UnratedFix available

usb: idmouse: fix an uninit-value in idmouse_open

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.296, 4.19.262, 4.9.331, 5.10.150, 5.15.75, 5.19.17, 5.4.220, 6.0.3
CVEs
CVE-2022-50733
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 23:48 UTC · Revision 1

Source evidence

usb: idmouse: fix an uninit-value in idmouse_open

core-osv · Original source

Published 24 Dec 2025, 12:22 UTC

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.

osv:CVE-2022-50733

Kernel

Fixed versions: 4.9.331, 4.14.296, 4.19.262, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3

Complete source record
{
  "id": "4bcb480c5f3b0d47227e067a3238b6ba8d11f8c206a0768f3bbd4ce80ce6c1fb",
  "url": "https://osv.dev/vulnerability/CVE-2022-50733",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2022-50733",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.331",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.14.296",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.262",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.220",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.150",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.75",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.19.17",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-50733",
      "aliases": [
        "CVE-2022-50733"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4244f72436ab77c3c29a6447af81734ab3925d85"
                },
                {
                  "fixed": "b3304a6df957cc89a0590cb505388d659bf3db4c"
                },
                {
                  "fixed": "7dad42032f68718259590b0cc7654e9a95ff9762"
                },
                {
                  "fixed": "f589b667567fde4f81d6e6c40f42b9f2224690ea"
                },
                {
                  "fixed": "1eae30c0113dde7522088231584d62415011a035"
                },
                {
                  "fixed": "b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54"
                },
                {
                  "fixed": "20b8c456df584ebb2387dc23d40ebe4ff334417c"
                },
                {
                  "fixed": "6163a5ae097bc78fa26c243fb384537e25610fd7"
                },
                {
                  "fixed": "adad163d1cff248a5df9f7cec50158e6ca89f33b"
                },
                {
                  "fixed": "bce2b0539933e485d22d6f6f076c0fcd6f185c4c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50733.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.13"
                },
                {
                  "fixed": "4.9.331"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.10.0"
                },
                {
                  "fixed": "4.14.296"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.262"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.220"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.150"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.75"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.19.17"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.20.0"
                },
                {
                  "fixed": "6.0.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50733.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.266959157Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1eae30c0113dde7522088231584d62415011a035",
        "https://git.kernel.org/stable/c/20b8c456df584ebb2387dc23d40ebe4ff334417c",
        "https://git.kernel.org/stable/c/6163a5ae097bc78fa26c243fb384537e25610fd7",
        "https://git.kernel.org/stable/c/7dad42032f68718259590b0cc7654e9a95ff9762",
        "https://git.kernel.org/stable/c/adad163d1cff248a5df9f7cec50158e6ca89f33b",
        "https://git.kernel.org/stable/c/b3304a6df957cc89a0590cb505388d659bf3db4c",
        "https://git.kernel.org/stable/c/b8bbae3236ab7dccc66c42bc3f7cdbcfc0786e54",
        "https://git.kernel.org/stable/c/bce2b0539933e485d22d6f6f076c0fcd6f185c4c",
        "https://git.kernel.org/stable/c/f589b667567fde4f81d6e6c40f42b9f2224690ea",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50733.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50733",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50733.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50733",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 499287,
  "published_at": "2025-12-24T12:22:52.651+00:00"
}