CVE-2023-53405 USB: gadget: gr_udc: fix memory leak with using debugfs_lookup()
설명
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: gr_udc: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.14
해결 버전
- 5.14 미만
- 5.15.100 이상
- 6.1.18 이상
- 6.2.5 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/0933eca15f5223b5c2412080c8c3de8758465c78 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/30f9ba2396a1130eef7f2d3ee7ee8037b7c25be9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/73f4451368663ad28daa67980c6dd11d83b303eb (새 창)
- git.kernel.org https://git.kernel.org/stable/c/be21a66e17ee0ab5f3513b6c86659e60cec5e981 (새 창)