CVE-2025-38483 comedi: das16m1: Fix bit shift out of bounds
설명
In the Linux kernel, the following vulnerability has been resolved: comedi: das16m1: Fix bit shift out of bounds When checking for a supported IRQ number, the following test is used: /* only irqs 2, 3, 4, 5, 6, 7, 10, 11, 12, 14, and 15 are valid */ if ((1 << it->options[1]) & 0xdcfc) { However, `it->options[i]` is an unchecked `int` value from userspace, so the shift amount could be negative or out of bounds. Fix the test by requiring `it->options[1]` to be within bounds before proceeding with the original test.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 3.14
해결 버전
- 3.14 미만
- 5.4.297 이상
- 5.10.241 이상
- 5.15.190 이상
- 6.1.147 이상
- 6.6.100 이상
- 6.12.40 이상
- 6.15.8 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/076b13ee60eb01ed0d140ef261f95534562a3077 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/539bdff832adac9ea653859fa0b6bc62e743329c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/65c03e6fc524eb2868abedffd8a4613d78abc288 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/adb7df8a8f9d788423e161b779764527dd3ec2d0 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b3c95fa508e5dc3da60520eea92a5241095ceef1 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d1291c69f46d6572b2cf75960dd8975d7ab2176b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ed93c6f68a3be06e4e0c331c6e751f462dee3932 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f211572818ed5bec2b3f5d4e0719ef8699b3c269 (새 창)