CVE-2026-99332 HID: core: Fix out-of-bounds left shift by 32 in s32ton()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.10.258 이상 5.10.275 미만
- 5.15.209 이상 5.15.226 미만
- 6.1.175 이상 6.1.193 미만
- 6.6.136 이상 6.6.163 미만
- 6.12.83 이상 6.12.117 미만
- 6.18.24 이상 6.18.61 미만
- 6.19.14 이상 6.20 미만
- 7.0.1 이상 7.1 미만
외 1개 구간 펼치기
- 7.1
해결 버전
- 5.10.275 이상
- 5.15.226 이상
- 6.1.193 이상
- 6.6.163 이상
- 6.12.117 이상
- 6.18.61 이상
- 6.20 이상
- 7.1 이상
외 2개 구간 펼치기
- 7.1 미만
- 7.3.2 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/076bea989f998f4d5a62d74de2f04f6f5b94b3f3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/20518a118bf185e72f769eb07aeed5848c095d31 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4a9540176af7f784ba3660a8da45bf66defc9960 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/5fe63b415c636c7f4f6848a8e53bdd4bbf0c300d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8bc6279634b03222d79788481810562a7d3564fe (새 창)
- git.kernel.org https://git.kernel.org/stable/c/982413b709dd105cdf34bdfa9c4a8063ce574dea (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a34e4bd9c4ef339cb99dd533bf24a077b84dd099 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e0581a828c8cab80f13f70a4371bf5fc101f68c8 (새 창)