CVE-2026-99332 (GCVE-0-2026-99332)

Vulnerability from cvelistv5 – Published: 2026-11-19 14:21 – Updated: 2026-11-19 14:33
VLAI
Title
HID: core: Fix out-of-bounds left shift by 32 in s32ton()
Summary
In the Linux kernel, the following vulnerability has been resolved: HID: core: Fix out-of-bounds left shift by 32 in s32ton() Syzbot reported an out-of-bounds shift (32-bit integer shifted left by 32) in the s32ton() routine in the HID core. This routine converts a signed 32-bit integer to a signed n-bit integer, and it caps the value of n at 32. But when n == 32 there's no need to do anything; it can simply return the input value. This will avoid calculating (1 << n) when n is 32, which was the cause of the invalid shift.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 58386f00af710922cafb0fb69211497beddfaa95 , < 8bc6279634b03222d79788481810562a7d3564fe (git)
Affected: 8a8333237f1f5caab8d4c3d2c2e7578c4263a97f , < 076bea989f998f4d5a62d74de2f04f6f5b94b3f3 (git)
Affected: 69c02ffde6ed4d535fa4e693a9e572729cad3d0d , < 20518a118bf185e72f769eb07aeed5848c095d31 (git)
Affected: 69c02ffde6ed4d535fa4e693a9e572729cad3d0d , < 5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d (git)
Affected: 76ad02854a30c394e0c076e6e6bed0a388573a94 (git)
Affected: eb415ddaf25e09ddb8fe5736a70c9de2e6462534 (git)
Affected: 0ab048dbdb1daacf17d52e9252297eb6e1298e49 (git)
Affected: 932ae5309e53561197aa7d1606c7cf63af10e24f (git)
Affected: ea363a34086ddb4231adc581a7f36c39ec154bfc (git)
Affected: 97014719bb8fccb1ffcbbc299e84b1f11b114195 (git)
Affected: 6.12.83 , < 6.12.117 (semver)
Affected: 6.18.24 , < 6.18.61 (semver)
Affected: 5.10.258 , < 5.11 (semver)
Affected: 5.15.209 , < 5.16 (semver)
Affected: 6.1.175 , < 6.2 (semver)
Affected: 6.6.136 , < 6.7 (semver)
Affected: 6.19.14 , < 6.20 (semver)
Affected: 7.0.1 , < 7.1 (semver)
Create a notification for this product.
Linux Linux Affected: 7.1
Unaffected: 0 , < 7.1 (semver)
Unaffected: 6.12.117 , ≤ 6.12.* (semver)
Unaffected: 6.18.61 , ≤ 6.18.* (semver)
Unaffected: 7.3.2 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8bc6279634b03222d79788481810562a7d3564fe",
              "status": "affected",
              "version": "58386f00af710922cafb0fb69211497beddfaa95",
              "versionType": "git"
            },
            {
              "lessThan": "076bea989f998f4d5a62d74de2f04f6f5b94b3f3",
              "status": "affected",
              "version": "8a8333237f1f5caab8d4c3d2c2e7578c4263a97f",
              "versionType": "git"
            },
            {
              "lessThan": "20518a118bf185e72f769eb07aeed5848c095d31",
              "status": "affected",
              "version": "69c02ffde6ed4d535fa4e693a9e572729cad3d0d",
              "versionType": "git"
            },
            {
              "lessThan": "5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d",
              "status": "affected",
              "version": "69c02ffde6ed4d535fa4e693a9e572729cad3d0d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "76ad02854a30c394e0c076e6e6bed0a388573a94",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "eb415ddaf25e09ddb8fe5736a70c9de2e6462534",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "0ab048dbdb1daacf17d52e9252297eb6e1298e49",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "932ae5309e53561197aa7d1606c7cf63af10e24f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ea363a34086ddb4231adc581a7f36c39ec154bfc",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "97014719bb8fccb1ffcbbc299e84b1f11b114195",
              "versionType": "git"
            },
            {
              "lessThan": "6.12.117",
              "status": "affected",
              "version": "6.12.83",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.61",
              "status": "affected",
              "version": "6.18.24",
              "versionType": "semver"
            },
            {
              "lessThan": "5.11",
              "status": "affected",
              "version": "5.10.258",
              "versionType": "semver"
            },
            {
              "lessThan": "5.16",
              "status": "affected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThan": "6.2",
              "status": "affected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThan": "6.7",
              "status": "affected",
              "version": "6.6.136",
              "versionType": "semver"
            },
            {
              "lessThan": "6.20",
              "status": "affected",
              "version": "6.19.14",
              "versionType": "semver"
            },
            {
              "lessThan": "7.1",
              "status": "affected",
              "version": "7.0.1",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hid/hid-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.1"
            },
            {
              "lessThan": "7.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.117",
                  "versionStartIncluding": "6.12.83",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.61",
                  "versionStartIncluding": "6.18.24",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.2",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.10.258",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.15.209",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.1.175",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.6.136",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.19.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "7.0.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: core: Fix out-of-bounds left shift by 32 in s32ton()\n\nSyzbot reported an out-of-bounds shift (32-bit integer shifted left by\n32) in the s32ton() routine in the HID core.  This routine converts a\nsigned 32-bit integer to a signed n-bit integer, and it caps the value\nof n at 32.  But when n == 32 there\u0027s no need to do anything; it can\nsimply return the input value.  This will avoid calculating (1 \u003c\u003c n)\nwhen n is 32, which was the cause of the invalid shift."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-19T14:33:59.073Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8bc6279634b03222d79788481810562a7d3564fe"
        },
        {
          "url": "https://git.kernel.org/stable/c/076bea989f998f4d5a62d74de2f04f6f5b94b3f3"
        },
        {
          "url": "https://git.kernel.org/stable/c/20518a118bf185e72f769eb07aeed5848c095d31"
        },
        {
          "url": "https://git.kernel.org/stable/c/5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d"
        }
      ],
      "title": "HID: core: Fix out-of-bounds left shift by 32 in s32ton()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99332",
    "datePublished": "2026-11-19T14:21:38.850Z",
    "dateReserved": "2026-09-25T10:25:14.408Z",
    "dateUpdated": "2026-11-19T14:33:59.073Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99332",
      "date": "2026-11-22",
      "epss": "0.00221",
      "percentile": "0.12705"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/hid/hid-core.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "8bc6279634b03222d79788481810562a7d3564fe",
                    "status": "affected",
                    "version": "58386f00af710922cafb0fb69211497beddfaa95",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "076bea989f998f4d5a62d74de2f04f6f5b94b3f3",
                    "status": "affected",
                    "version": "8a8333237f1f5caab8d4c3d2c2e7578c4263a97f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "20518a118bf185e72f769eb07aeed5848c095d31",
                    "status": "affected",
                    "version": "69c02ffde6ed4d535fa4e693a9e572729cad3d0d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d",
                    "status": "affected",
                    "version": "69c02ffde6ed4d535fa4e693a9e572729cad3d0d",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "76ad02854a30c394e0c076e6e6bed0a388573a94",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "eb415ddaf25e09ddb8fe5736a70c9de2e6462534",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "0ab048dbdb1daacf17d52e9252297eb6e1298e49",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "932ae5309e53561197aa7d1606c7cf63af10e24f",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "ea363a34086ddb4231adc581a7f36c39ec154bfc",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "97014719bb8fccb1ffcbbc299e84b1f11b114195",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.12.117",
                    "status": "affected",
                    "version": "6.12.83",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.18.61",
                    "status": "affected",
                    "version": "6.18.24",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.11",
                    "status": "affected",
                    "version": "5.10.258",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.16",
                    "status": "affected",
                    "version": "5.15.209",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.2",
                    "status": "affected",
                    "version": "6.1.175",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.7",
                    "status": "affected",
                    "version": "6.6.136",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.20",
                    "status": "affected",
                    "version": "6.19.14",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.1",
                    "status": "affected",
                    "version": "7.0.1",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/hid/hid-core.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.1"
                  },
                  {
                    "lessThan": "7.1",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.117",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.61",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.2",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nHID: core: Fix out-of-bounds left shift by 32 in s32ton()\n\nSyzbot reported an out-of-bounds shift (32-bit integer shifted left by\n32) in the s32ton() routine in the HID core.  This routine converts a\nsigned 32-bit integer to a signed n-bit integer, and it caps the value\nof n at 32.  But when n == 32 there\u0027s no need to do anything; it can\nsimply return the input value.  This will avoid calculating (1 \u003c\u003c n)\nwhen n is 32, which was the cause of the invalid shift."
          }
        ],
        "id": "CVE-2026-99332",
        "lastModified": "2026-11-19T15:17:44.110",
        "metrics": {},
        "published": "2026-11-19T15:17:44.110",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/076bea989f998f4d5a62d74de2f04f6f5b94b3f3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/20518a118bf185e72f769eb07aeed5848c095d31"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8bc6279634b03222d79788481810562a7d3564fe"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-19T16:45:39+00:00",
      "cve": "CVE-2026-99332",
      "id": "CVE-2026-99332",
      "initial_release_date": "2026-11-19T14:21:38.850000+00:00",
      "product_status:known_affected": "15",
      "product_status:known_not_affected": "189",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via invalid bit shift in s32ton()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99332.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…

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…