CVE-2026-31615
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: renesas_usb3: validate endpoint index in standard request handlers The GET_STATUS and SET/CLEAR_FEATURE handlers extract the endpoint number from the host-supplied wIndex without any sort of validation. Fix this up by validating the number of endpoints actually match up with the number the device has before attempting to dereference a pointer based on this math. This is just like what was done in commit ee0d382feb44 ("usb: gadget: aspeed_udc: validate endpoint index for ast udc") for the aspeed driver.
취약점 유형
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: renesas_usb3: validate endpoint index in standard request handlers The GET_STATUS and SET/CLEAR_FEATURE handlers extract the endpoint number from the host-supplied wIndex without any sort of validation. Fix this up by validating the number of endpoints actually match up with the number the device has before attempting to dereference a pointer based on this math. This is just like what was done in commit ee0d382feb44 ("usb: gadget: aspeed_udc: validate endpoint index for ast udc") for the aspeed driver.
영향받는 제품
- linux linux_kernel
참고 자료
- https://git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f905424c91de2a
- https://git.kernel.org/stable/c/360aa6e71870a175a6d86af905be2ca171639eb3
- https://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51
- https://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0
- https://git.kernel.org/stable/c/7caaf76207f50c77abfd788380e19b2c23a94415
- https://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d
공격자보다 먼저 취약점을 찾으세요.
GitHub로 로그인하고 1분 안에 첫 감사를 실행하세요. 무료 플랜은 신용카드가 필요 없습니다.