cvelo
P4 · InfoEPSS 0.2%

HID: core: Fix out-of-bounds left shift by 32 in s32ton()

  • CVE-2026-99332
  • GHSA-g7rm-782r-2jfg
  • EUVD-2026-130230

Description

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.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run a version from 6.19.14 to before 6.20update to 6.20 or laterMinor version change: check the release notes
    • If you run 6.18.xupdate to 6.18.61 or laterPatch update: breaking changes are unlikely
    • If you run 6.12.xupdate to 6.12.117 or laterPatch update: breaking changes are unlikely
    • If you run 6.6.xupdate to 6.6.163 or laterPatch update: breaking changes are unlikely
    • If you run 6.1.xupdate to 6.1.193 or laterPatch update: breaking changes are unlikely
    • If you run 5.15.xupdate to 5.15.226 or laterPatch update: breaking changes are unlikely
    • If you run 5.10.xupdate to 5.10.275 or laterPatch update: breaking changes are unlikely

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 6.19.14 to before 6.206.20
    from 6.18.24 to before 6.18.616.18.61
    from 6.12.83 to before 6.12.1176.12.117
    from 6.6.136 to before 6.6.1636.6.163
    from 6.1.175 to before 6.1.1936.1.193
    from 5.15.209 to before 5.15.2265.15.226
    from 5.10.258 to before 5.10.2755.10.275
    from 7.0.1 to before 7.1none stated

    and 10 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.