CVE-2023-53551 usb: gadget: u_serial: Add null pointer check in gserial_resume
설명
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Add null pointer check in gserial_resume Consider a case where gserial_disconnect has already cleared gser->ioport. And if a wakeup interrupt triggers afterwards, gserial_resume gets called, which will lead to accessing of gser->ioport and thus causing null pointer dereference.Add a null pointer check to prevent this. Added a static spinlock to prevent gser->ioport from becoming null after the newly added check.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.8
해결 버전
- 5.8 미만
- 5.10.171 이상
- 5.15.97 이상
- 6.1.15 이상
- 6.2.2 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/3b24c980dc07be4550a9d1450ed7057f882530e5 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/44e004f757a7ae13dfebaadbcfdb1a6f98c10377 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/5ec63fdbca604568890c577753c6f66c5b3ef0b5 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c5360eec648bd506afa304ae4a71f82e13d41897 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ec357cd3e8af614855d286dd378725cdc7264df6 (새 창)