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

CVE-2026-43140 (GCVE-0-2026-43140)

Vulnerability from cvelistv5 – Published: 2026-05-06 11:27 – Updated: 2026-05-11 22:18
VLAI
Title
HID: magicmouse: Do not crash on missing msc->input
Summary
In the Linux kernel, the following vulnerability has been resolved: HID: magicmouse: Do not crash on missing msc->input Fake USB devices can send their own report descriptors for which the input_mapping() hook does not get called. In this case, msc->input stays NULL, leading to a crash at a later time. Detect this condition in the input_configured() hook and reject the device. This is not supposed to happen with actual magic mouse devices, but can be provoked by imposing as a magic mouse USB device.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 64eb105d7f92fa48798106ac0d8bf17668eb2524 , < db5ba06e7af9325519a03e52fccf4a9e7c1fd9b2 (git)
Affected: 64eb105d7f92fa48798106ac0d8bf17668eb2524 , < 165912d4321c692321c02793068d30700b4e0f1a (git)
Affected: 64eb105d7f92fa48798106ac0d8bf17668eb2524 , < f6a3860241fbb556fd72332fa31c5e787004413b (git)
Affected: 64eb105d7f92fa48798106ac0d8bf17668eb2524 , < 243e1165eb03aca97d87aafa9c3130593837a1c2 (git)
Affected: 64eb105d7f92fa48798106ac0d8bf17668eb2524 , < 922bd3e498a4b8e445def6e6ffea2ad3682ad516 (git)
Affected: 64eb105d7f92fa48798106ac0d8bf17668eb2524 , < 5bbe266272d86c0657e8253600f3d5b74fb7b2ae (git)
Affected: 64eb105d7f92fa48798106ac0d8bf17668eb2524 , < 36c83c1329dd881f290f7df2feadfb9a21775108 (git)
Affected: 64eb105d7f92fa48798106ac0d8bf17668eb2524 , < 17abd396548035fbd6179ee1a431bd75d49676a7 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.37
Unaffected: 0 , < 2.6.37 (semver)
Unaffected: 5.10.252 , ≤ 5.10.* (semver)
Unaffected: 5.15.202 , ≤ 5.15.* (semver)
Unaffected: 6.1.165 , ≤ 6.1.* (semver)
Unaffected: 6.6.128 , ≤ 6.6.* (semver)
Unaffected: 6.12.75 , ≤ 6.12.* (semver)
Unaffected: 6.18.16 , ≤ 6.18.* (semver)
Unaffected: 6.19.6 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (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/hid/hid-magicmouse.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "db5ba06e7af9325519a03e52fccf4a9e7c1fd9b2",
              "status": "affected",
              "version": "64eb105d7f92fa48798106ac0d8bf17668eb2524",
              "versionType": "git"
            },
            {
              "lessThan": "165912d4321c692321c02793068d30700b4e0f1a",
              "status": "affected",
              "version": "64eb105d7f92fa48798106ac0d8bf17668eb2524",
              "versionType": "git"
            },
            {
              "lessThan": "f6a3860241fbb556fd72332fa31c5e787004413b",
              "status": "affected",
              "version": "64eb105d7f92fa48798106ac0d8bf17668eb2524",
              "versionType": "git"
            },
            {
              "lessThan": "243e1165eb03aca97d87aafa9c3130593837a1c2",
              "status": "affected",
              "version": "64eb105d7f92fa48798106ac0d8bf17668eb2524",
              "versionType": "git"
            },
            {
              "lessThan": "922bd3e498a4b8e445def6e6ffea2ad3682ad516",
              "status": "affected",
              "version": "64eb105d7f92fa48798106ac0d8bf17668eb2524",
              "versionType": "git"
            },
            {
              "lessThan": "5bbe266272d86c0657e8253600f3d5b74fb7b2ae",
              "status": "affected",
              "version": "64eb105d7f92fa48798106ac0d8bf17668eb2524",
              "versionType": "git"
            },
            {
              "lessThan": "36c83c1329dd881f290f7df2feadfb9a21775108",
              "status": "affected",
              "version": "64eb105d7f92fa48798106ac0d8bf17668eb2524",
              "versionType": "git"
            },
            {
              "lessThan": "17abd396548035fbd6179ee1a431bd75d49676a7",
              "status": "affected",
              "version": "64eb105d7f92fa48798106ac0d8bf17668eb2524",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-magicmouse.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.37"
            },
            {
              "lessThan": "2.6.37",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.252",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.202",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.165",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.128",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.252",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.202",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.165",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.128",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.75",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.16",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.6",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: magicmouse: Do not crash on missing msc-\u003einput\n\nFake USB devices can send their own report descriptors for which the\ninput_mapping() hook does not get called.  In this case, msc-\u003einput stays NULL,\nleading to a crash at a later time.\n\nDetect this condition in the input_configured() hook and reject the device.\n\nThis is not supposed to happen with actual magic mouse devices, but can be\nprovoked by imposing as a magic mouse USB device."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T22:18:31.955Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/db5ba06e7af9325519a03e52fccf4a9e7c1fd9b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/165912d4321c692321c02793068d30700b4e0f1a"
        },
        {
          "url": "https://git.kernel.org/stable/c/f6a3860241fbb556fd72332fa31c5e787004413b"
        },
        {
          "url": "https://git.kernel.org/stable/c/243e1165eb03aca97d87aafa9c3130593837a1c2"
        },
        {
          "url": "https://git.kernel.org/stable/c/922bd3e498a4b8e445def6e6ffea2ad3682ad516"
        },
        {
          "url": "https://git.kernel.org/stable/c/5bbe266272d86c0657e8253600f3d5b74fb7b2ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/36c83c1329dd881f290f7df2feadfb9a21775108"
        },
        {
          "url": "https://git.kernel.org/stable/c/17abd396548035fbd6179ee1a431bd75d49676a7"
        }
      ],
      "title": "HID: magicmouse: Do not crash on missing msc-\u003einput",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43140",
    "datePublished": "2026-05-06T11:27:25.536Z",
    "dateReserved": "2026-05-01T14:12:55.988Z",
    "dateUpdated": "2026-05-11T22:18:31.955Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43140",
      "date": "2026-09-15",
      "epss": "0.00128",
      "percentile": "0.02772"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-43140\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-06T12:16:31.370\",\"lastModified\":\"2026-06-17T10:49:00.627\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nHID: magicmouse: Do not crash on missing msc-\u003einput\\n\\nFake USB devices can send their own report descriptors for which the\\ninput_mapping() hook does not get called.  In this case, msc-\u003einput stays NULL,\\nleading to a crash at a later time.\\n\\nDetect this condition in the input_configured() hook and reject the device.\\n\\nThis is not supposed to happen with actual magic mouse devices, but can be\\nprovoked by imposing as a magic mouse USB device.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/hid/hid-magicmouse.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"64eb105d7f92fa48798106ac0d8bf17668eb2524\",\"lessThan\":\"db5ba06e7af9325519a03e52fccf4a9e7c1fd9b2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"64eb105d7f92fa48798106ac0d8bf17668eb2524\",\"lessThan\":\"165912d4321c692321c02793068d30700b4e0f1a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"64eb105d7f92fa48798106ac0d8bf17668eb2524\",\"lessThan\":\"f6a3860241fbb556fd72332fa31c5e787004413b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"64eb105d7f92fa48798106ac0d8bf17668eb2524\",\"lessThan\":\"243e1165eb03aca97d87aafa9c3130593837a1c2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"64eb105d7f92fa48798106ac0d8bf17668eb2524\",\"lessThan\":\"922bd3e498a4b8e445def6e6ffea2ad3682ad516\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"64eb105d7f92fa48798106ac0d8bf17668eb2524\",\"lessThan\":\"5bbe266272d86c0657e8253600f3d5b74fb7b2ae\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"64eb105d7f92fa48798106ac0d8bf17668eb2524\",\"lessThan\":\"36c83c1329dd881f290f7df2feadfb9a21775108\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"64eb105d7f92fa48798106ac0d8bf17668eb2524\",\"lessThan\":\"17abd396548035fbd6179ee1a431bd75d49676a7\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/hid/hid-magicmouse.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.37\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.37\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.252\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.202\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.165\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.128\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.75\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.16\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.19.6\",\"lessThanOrEqual\":\"6.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.6.37\",\"versionEndExcluding\":\"5.10.252\",\"matchCriteriaId\":\"3501E160-8CFB-4029-9B41-70DC384AF6E0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.202\",\"matchCriteriaId\":\"4002FC2B-1456-4666-B240-0EBF590C4671\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.165\",\"matchCriteriaId\":\"797C7F46-D0BE-4FB8-A502-C5EF8E6B6654\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.128\",\"matchCriteriaId\":\"851E9353-6C09-4CC9-877E-E09DB164A3C2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.12.75\",\"matchCriteriaId\":\"BCE16369-98ED-41CF-8995-DFDC10B288D2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.13\",\"versionEndExcluding\":\"6.18.16\",\"matchCriteriaId\":\"B4B8CDA9-BADF-4CF5-8B3B-702DE8EEA40B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.19\",\"versionEndExcluding\":\"6.19.6\",\"matchCriteriaId\":\"373EEEDA-FAA1-4FB4-B6ED-DB4DD99DBE67\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/165912d4321c692321c02793068d30700b4e0f1a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/17abd396548035fbd6179ee1a431bd75d49676a7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/243e1165eb03aca97d87aafa9c3130593837a1c2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/36c83c1329dd881f290f7df2feadfb9a21775108\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5bbe266272d86c0657e8253600f3d5b74fb7b2ae\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/922bd3e498a4b8e445def6e6ffea2ad3682ad516\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/db5ba06e7af9325519a03e52fccf4a9e7c1fd9b2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f6a3860241fbb556fd72332fa31c5e787004413b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-28T11:35:43+00:00",
      "cve": "CVE-2026-43140",
      "id": "CVE-2026-43140",
      "initial_release_date": "2026-05-06T00:00:00+00:00",
      "product_status:known_affected": "260",
      "product_status:known_not_affected": "14",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: HID: magicmouse: Do not crash on missing msc-\u003einput",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43140.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T13:40:48Z",
      "cve": "CVE-2026-43140",
      "id": "CVE-2026-43140",
      "initial_release_date": "2026-05-09T02:42:06Z",
      "product_status:first_fixed": "2",
      "product_status:known_affected": "643",
      "product_status:known_not_affected": "15",
      "product_status:recommended": "287",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-43140",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-43140.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…

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…