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

CVE-2026-80783 (GCVE-0-2026-80783)

Vulnerability from cvelistv5 – Published: 2026-09-04 15:12 – Updated: 2026-09-04 15:12
VLAI
Title
HID: magicmouse: prevent unbounded recursion in magicmouse_raw_event()
Summary
In the Linux kernel, the following vulnerability has been resolved: HID: magicmouse: prevent unbounded recursion in magicmouse_raw_event() magicmouse_raw_event() handles DOUBLE_REPORT_ID (0xf7) packets, which pack two touch reports into one, by splitting the packet and calling itself on each half. The only guard against runaway recursion is a "size < 1" check, which stops zero-sized calls but does not bound the recursion depth. A malicious HID device that matches this driver can send a report starting with DOUBLE_REPORT_ID and filled with the sequence [0xf7, 0x00]. Each level consumes two bytes and recurses on the remainder, so an incoming report of up to HID_MAX_BUFFER_SIZE (16 KiB) drives roughly 8000 nested calls. That easily exhausts the 16 KiB kernel stack, leading to a stack overflow: a panic with CONFIG_VMAP_STACK, or memory corruption without it. A double report only ever wraps two normal reports; it is never legitimately nested. Refuse to re-enter the DOUBLE_REPORT_ID case from a recursive call so the recursion depth is bounded to two, while all valid packets keep being parsed exactly as before.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a462230e16acc8664145216da3c928d03556691a , < 26c45abed62536aabf4033fb6d64cf72e93374e9 (git)
Affected: a462230e16acc8664145216da3c928d03556691a , < 8a10a624996f16628234306b46f0cf36707d78bd (git)
Affected: a462230e16acc8664145216da3c928d03556691a , < d16df755b4493b6d37803c628b2c621d096796a8 (git)
Affected: a462230e16acc8664145216da3c928d03556691a , < bec338b07beb883726b32192c8f01c601bc76fda (git)
Affected: a462230e16acc8664145216da3c928d03556691a , < 70589b0c005db003f6d8ae4db3c4d54fed7b83e4 (git)
Affected: a462230e16acc8664145216da3c928d03556691a , < a33a596d3ad8dfe6c96a368097a028abeee16c17 (git)
Affected: a462230e16acc8664145216da3c928d03556691a , < d095de37f78c5f32a4252ef0f99b84ba76550b86 (git)
Affected: a462230e16acc8664145216da3c928d03556691a , < db8d634128d2ba88d79c0b601e983ebe14bb0519 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.37
Unaffected: 0 , < 2.6.37 (semver)
Unaffected: 5.15.220 , ≤ 5.15.* (semver)
Unaffected: 6.1.187 , ≤ 6.1.* (semver)
Unaffected: 6.6.156 , ≤ 6.6.* (semver)
Unaffected: 6.12.108 , ≤ 6.12.* (semver)
Unaffected: 6.18.49 , ≤ 6.18.* (semver)
Unaffected: 7.1.11 , ≤ 7.1.* (semver)
Unaffected: 7.2.1 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (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": "26c45abed62536aabf4033fb6d64cf72e93374e9",
              "status": "affected",
              "version": "a462230e16acc8664145216da3c928d03556691a",
              "versionType": "git"
            },
            {
              "lessThan": "8a10a624996f16628234306b46f0cf36707d78bd",
              "status": "affected",
              "version": "a462230e16acc8664145216da3c928d03556691a",
              "versionType": "git"
            },
            {
              "lessThan": "d16df755b4493b6d37803c628b2c621d096796a8",
              "status": "affected",
              "version": "a462230e16acc8664145216da3c928d03556691a",
              "versionType": "git"
            },
            {
              "lessThan": "bec338b07beb883726b32192c8f01c601bc76fda",
              "status": "affected",
              "version": "a462230e16acc8664145216da3c928d03556691a",
              "versionType": "git"
            },
            {
              "lessThan": "70589b0c005db003f6d8ae4db3c4d54fed7b83e4",
              "status": "affected",
              "version": "a462230e16acc8664145216da3c928d03556691a",
              "versionType": "git"
            },
            {
              "lessThan": "a33a596d3ad8dfe6c96a368097a028abeee16c17",
              "status": "affected",
              "version": "a462230e16acc8664145216da3c928d03556691a",
              "versionType": "git"
            },
            {
              "lessThan": "d095de37f78c5f32a4252ef0f99b84ba76550b86",
              "status": "affected",
              "version": "a462230e16acc8664145216da3c928d03556691a",
              "versionType": "git"
            },
            {
              "lessThan": "db8d634128d2ba88d79c0b601e983ebe14bb0519",
              "status": "affected",
              "version": "a462230e16acc8664145216da3c928d03556691a",
              "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.15.*",
              "status": "unaffected",
              "version": "5.15.220",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.187",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.156",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.108",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.49",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.220",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.187",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.156",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.108",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.49",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.11",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.1",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "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: prevent unbounded recursion in magicmouse_raw_event()\n\nmagicmouse_raw_event() handles DOUBLE_REPORT_ID (0xf7) packets, which pack\ntwo touch reports into one, by splitting the packet and calling itself on\neach half. The only guard against runaway recursion is a \"size \u003c 1\" check,\nwhich stops zero-sized calls but does not bound the recursion depth.\n\nA malicious HID device that matches this driver can send a report starting\nwith DOUBLE_REPORT_ID and filled with the sequence [0xf7, 0x00]. Each level\nconsumes two bytes and recurses on the remainder, so an incoming report of\nup to HID_MAX_BUFFER_SIZE (16 KiB) drives roughly 8000 nested calls. That\neasily exhausts the 16 KiB kernel stack, leading to a stack overflow: a\npanic with CONFIG_VMAP_STACK, or memory corruption without it.\n\nA double report only ever wraps two normal reports; it is never\nlegitimately nested. Refuse to re-enter the DOUBLE_REPORT_ID case from a\nrecursive call so the recursion depth is bounded to two, while all valid\npackets keep being parsed exactly as before."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-04T15:12:54.859Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/26c45abed62536aabf4033fb6d64cf72e93374e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a10a624996f16628234306b46f0cf36707d78bd"
        },
        {
          "url": "https://git.kernel.org/stable/c/d16df755b4493b6d37803c628b2c621d096796a8"
        },
        {
          "url": "https://git.kernel.org/stable/c/bec338b07beb883726b32192c8f01c601bc76fda"
        },
        {
          "url": "https://git.kernel.org/stable/c/70589b0c005db003f6d8ae4db3c4d54fed7b83e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/a33a596d3ad8dfe6c96a368097a028abeee16c17"
        },
        {
          "url": "https://git.kernel.org/stable/c/d095de37f78c5f32a4252ef0f99b84ba76550b86"
        },
        {
          "url": "https://git.kernel.org/stable/c/db8d634128d2ba88d79c0b601e983ebe14bb0519"
        }
      ],
      "title": "HID: magicmouse: prevent unbounded recursion in magicmouse_raw_event()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80783",
    "datePublished": "2026-09-04T15:12:54.859Z",
    "dateReserved": "2026-08-26T14:34:25.792Z",
    "dateUpdated": "2026-09-04T15:12:54.859Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-80783",
      "date": "2026-09-15",
      "epss": "0.00195",
      "percentile": "0.09402"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-07T01:46:02.000Z",
      "cve": "CVE-2026-80783",
      "id": "msrc_CVE-2026-80783",
      "initial_release_date": "2026-09-06T04:48:09.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "HID: magicmouse: prevent unbounded recursion in magicmouse_raw_event()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-80783.json",
      "version": "2"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-80783\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-04T16:18:04.183\",\"lastModified\":\"2026-09-04T16:18:04.183\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nHID: magicmouse: prevent unbounded recursion in magicmouse_raw_event()\\n\\nmagicmouse_raw_event() handles DOUBLE_REPORT_ID (0xf7) packets, which pack\\ntwo touch reports into one, by splitting the packet and calling itself on\\neach half. The only guard against runaway recursion is a \\\"size \u003c 1\\\" check,\\nwhich stops zero-sized calls but does not bound the recursion depth.\\n\\nA malicious HID device that matches this driver can send a report starting\\nwith DOUBLE_REPORT_ID and filled with the sequence [0xf7, 0x00]. Each level\\nconsumes two bytes and recurses on the remainder, so an incoming report of\\nup to HID_MAX_BUFFER_SIZE (16 KiB) drives roughly 8000 nested calls. That\\neasily exhausts the 16 KiB kernel stack, leading to a stack overflow: a\\npanic with CONFIG_VMAP_STACK, or memory corruption without it.\\n\\nA double report only ever wraps two normal reports; it is never\\nlegitimately nested. Refuse to re-enter the DOUBLE_REPORT_ID case from a\\nrecursive call so the recursion depth is bounded to two, while all valid\\npackets keep being parsed exactly as before.\"}],\"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\":\"a462230e16acc8664145216da3c928d03556691a\",\"lessThan\":\"26c45abed62536aabf4033fb6d64cf72e93374e9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a462230e16acc8664145216da3c928d03556691a\",\"lessThan\":\"8a10a624996f16628234306b46f0cf36707d78bd\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a462230e16acc8664145216da3c928d03556691a\",\"lessThan\":\"d16df755b4493b6d37803c628b2c621d096796a8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a462230e16acc8664145216da3c928d03556691a\",\"lessThan\":\"bec338b07beb883726b32192c8f01c601bc76fda\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a462230e16acc8664145216da3c928d03556691a\",\"lessThan\":\"70589b0c005db003f6d8ae4db3c4d54fed7b83e4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a462230e16acc8664145216da3c928d03556691a\",\"lessThan\":\"a33a596d3ad8dfe6c96a368097a028abeee16c17\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a462230e16acc8664145216da3c928d03556691a\",\"lessThan\":\"d095de37f78c5f32a4252ef0f99b84ba76550b86\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a462230e16acc8664145216da3c928d03556691a\",\"lessThan\":\"db8d634128d2ba88d79c0b601e983ebe14bb0519\",\"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.15.220\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.187\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.156\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.108\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.49\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.11\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.1\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/26c45abed62536aabf4033fb6d64cf72e93374e9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/70589b0c005db003f6d8ae4db3c4d54fed7b83e4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8a10a624996f16628234306b46f0cf36707d78bd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a33a596d3ad8dfe6c96a368097a028abeee16c17\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bec338b07beb883726b32192c8f01c601bc76fda\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d095de37f78c5f32a4252ef0f99b84ba76550b86\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d16df755b4493b6d37803c628b2c621d096796a8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/db8d634128d2ba88d79c0b601e983ebe14bb0519\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-08T17:17:43Z",
      "cve": "CVE-2026-80783",
      "id": "CVE-2026-80783",
      "initial_release_date": "2026-09-05T00:27:33Z",
      "product_status:known_affected": "269",
      "product_status:known_not_affected": "84",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-80783",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-80783.json",
      "version": "3"
    }
  }
}



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…

Loading…