CVE-2026-46232 (GCVE-0-2026-46232)
Vulnerability from cvelistv5
Published
2026-05-28 09:40
Modified
2026-08-05 12:30
Summary
In the Linux kernel, the following vulnerability has been resolved: HID: playstation: Clamp num_touch_reports A device would never lie about the number of touch reports would it? If it does the loop in dualshock4_parse_report will read off the end of the touch_reports array, up to about 2 KiB for the maximum number of 256 loop iteraions. The data that is read is emitted via evdev if the DS4_TOUCH_POINT_INACTIVE bit happens to be set. Protect against this by clamping the num_touch_reports value provided by the device to the maximum size of the touch_reports array.
Impacted products
Vendor Product Version
Linux Linux Version: 752038248808a7ff176bbdb668f19ae7d2a9816b
Version: 752038248808a7ff176bbdb668f19ae7d2a9816b
Version: 752038248808a7ff176bbdb668f19ae7d2a9816b
Version: 752038248808a7ff176bbdb668f19ae7d2a9816b
Version: 752038248808a7ff176bbdb668f19ae7d2a9816b
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-playstation.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0bc4cf1a6ba00fb8c074531b179bc7b97502fbc4",
              "status": "affected",
              "version": "752038248808a7ff176bbdb668f19ae7d2a9816b",
              "versionType": "git"
            },
            {
              "lessThan": "9c031b24aed6733b6dcc5d98527875b8654a04e9",
              "status": "affected",
              "version": "752038248808a7ff176bbdb668f19ae7d2a9816b",
              "versionType": "git"
            },
            {
              "lessThan": "7812694752a5f295eaa05a093b90a2c332666051",
              "status": "affected",
              "version": "752038248808a7ff176bbdb668f19ae7d2a9816b",
              "versionType": "git"
            },
            {
              "lessThan": "208f6d5b1dfd6399bc6af9e11f27f1f496243ed0",
              "status": "affected",
              "version": "752038248808a7ff176bbdb668f19ae7d2a9816b",
              "versionType": "git"
            },
            {
              "lessThan": "cac61b58a3b6340c52afa06bb15eac033158db2f",
              "status": "affected",
              "version": "752038248808a7ff176bbdb668f19ae7d2a9816b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-playstation.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.140",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.90",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.32",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.140",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.90",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.32",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.9",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: playstation: Clamp num_touch_reports\n\nA device would never lie about the number of touch reports would it?\n\nIf it does the loop in dualshock4_parse_report will read off the end of\nthe touch_reports array, up to about 2 KiB for the maximum number of 256\nloop iteraions. The data that is read is emitted via evdev if the\nDS4_TOUCH_POINT_INACTIVE bit happens to be set. Protect against this by\nclamping the num_touch_reports value provided by the device to the\nmaximum size of the touch_reports array."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - The DualShock4 binds over both Bluetooth (HID_BLUETOOTH_DEVICE) and USB; a malicious/compromised controller within Bluetooth radio range delivers the crafted report, making Adjacent the most severe reasonable transport (higher than the USB/Physical path).\nAC:L - The device fully controls num_touch_reports and can deterministically set it to 255; the BT CRC32 uses a fixed, known seed the attacker computes. No race or attacker-uncontrolled condition is involved.\nPR:N - No privileges on the target are needed \u2014 the malicious HID device itself is the attacker, supplying crafted input reports that the kernel parses automatically.\nUI:N - A bonded controller (or a device emulating one) auto-reconnects and autonomously streams the malicious reports; no victim action triggers the out-of-bounds read.\nS:U - The impact is confined to the kernel\u0027s own memory and the input subsystem; no security boundary (VM, IOMMU, sandbox) is crossed.\nC:H - Up to ~2 KiB of adjacent kernel heap is read out of bounds, and the X/Y coordinates derived from that memory are emitted to userspace through the touchpad evdev device \u2014 a substantial kernel-memory disclosure, not bounded to a few bytes.\nI:N - The flaw is purely an out-of-bounds read; no kernel memory is written, modified, or corrupted.\nA:H - Reading up to ~2 KiB past the heap allocation can reach an unmapped page and trigger a kernel oops/panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:30:38.317Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0bc4cf1a6ba00fb8c074531b179bc7b97502fbc4"
        },
        {
          "url": "https://git.kernel.org/stable/c/9c031b24aed6733b6dcc5d98527875b8654a04e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/7812694752a5f295eaa05a093b90a2c332666051"
        },
        {
          "url": "https://git.kernel.org/stable/c/208f6d5b1dfd6399bc6af9e11f27f1f496243ed0"
        },
        {
          "url": "https://git.kernel.org/stable/c/cac61b58a3b6340c52afa06bb15eac033158db2f"
        }
      ],
      "title": "HID: playstation: Clamp num_touch_reports",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-46232",
    "datePublished": "2026-05-28T09:40:54.248Z",
    "dateReserved": "2026-05-13T15:03:33.106Z",
    "dateUpdated": "2026-08-05T12:30:38.317Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…