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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-11-19T14:21:38.850Z
- Modified: 2026-11-23T08:17:38.237Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 76ad02854a30c394e0c076e6e6bed0a388573a94 before 982413b709dd105cdf34bdfa9c4a8063ce574dea; from eb415ddaf25e09ddb8fe5736a70c9de2e6462534 before 4a9540176af7f784ba3660a8da45bf66defc9960; from 0ab048dbdb1daacf17d52e9252297eb6e1298e49 before a34e4bd9c4ef339cb99dd533bf24a077b84dd099; from 932ae5309e53561197aa7d1606c7cf63af10e24f before e0581a828c8cab80f13f70a4371bf5fc101f68c8; from 58386f00af710922cafb0fb69211497beddfaa95 before 8bc6279634b03222d79788481810562a7d3564fe; from 8a8333237f1f5caab8d4c3d2c2e7578c4263a97f before 076bea989f998f4d5a62d74de2f04f6f5b94b3f3; from 69c02ffde6ed4d535fa4e693a9e572729cad3d0d before 20518a118bf185e72f769eb07aeed5848c095d31; from 69c02ffde6ed4d535fa4e693a9e572729cad3d0d before 5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d; ea363a34086ddb4231adc581a7f36c39ec154bfc; 97014719bb8fccb1ffcbbc299e84b1f11b114195; from 5.10.258 before 5.10.275; from 5.15.209 before 5.15.226; and 7 more (not affected: before 7.1; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/982413b709dd105cdf34bdfa9c4a8063ce574dea>
- <https://git.kernel.org/stable/c/4a9540176af7f784ba3660a8da45bf66defc9960>
- <https://git.kernel.org/stable/c/a34e4bd9c4ef339cb99dd533bf24a077b84dd099>
- <https://git.kernel.org/stable/c/e0581a828c8cab80f13f70a4371bf5fc101f68c8>
- <https://git.kernel.org/stable/c/8bc6279634b03222d79788481810562a7d3564fe>
- <https://git.kernel.org/stable/c/076bea989f998f4d5a62d74de2f04f6f5b94b3f3>
- <https://git.kernel.org/stable/c/20518a118bf185e72f769eb07aeed5848c095d31>
- <https://git.kernel.org/stable/c/5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d>

## Sources

- CVE List: [CVE-2026-99332](https://www.cve.org/CVERecord?id=CVE-2026-99332), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99332](https://nvd.nist.gov/vuln/detail/CVE-2026-99332), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99332 · Whole record: https://cve.day/CVE-2026-99332.json · Rebuilt by cve.day 2026-11-25T22:59:52.030Z
