Skip to content
Medium 5.5

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

CVE-2026-99332 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 5.10.258, < 5.10.275→ 5.10.275
≥ 5.15.209, < 5.15.226→ 5.15.226
≥ 6.1.175, < 6.1.193→ 6.1.193
≥ 6.6.136, < 6.6.163→ 6.6.163
≥ 6.12.83, < 6.12.117→ 6.12.117
≥ 6.18.24, < 6.18.61→ 6.18.61
≥ 6.19.14, < 6.20→ 6.20
≥ 7.0.1, < 7.1→ 7.1
≥ 7.1.0, < 7.3.2→ 7.3.2

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details