CVE-2026-46109 usb: ulpi: fix memory leak on ulpi_register() error paths
설명
In the Linux kernel, the following vulnerability has been resolved: usb: ulpi: fix memory leak on ulpi_register() error paths Commit 01af542392b5 ("usb: ulpi: fix double free in ulpi_register_interface() error path") removed kfree(ulpi) from ulpi_register_interface() to fix a double-free when device_register() fails. But when ulpi_of_register() or ulpi_read_id() fail before device_register() is called, the ulpi allocation is leaked. Add kfree(ulpi) on both error paths to properly clean up the allocation.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.10.253 이상 5.10.258 미만
- 5.15.203 이상 5.15.209 미만
- 6.1.168 이상 6.1.175 미만
- 6.6.134 이상 6.6.140 미만
- 6.12.81 이상 6.12.88 미만
- 6.18.22 이상 6.18.30 미만
- 6.19.12 이상 6.20 미만
- 7.0
해결 버전
- 5.10.258 이상
- 5.15.209 이상
- 6.1.175 이상
- 6.6.140 이상
- 6.12.88 이상
- 6.18.30 이상
- 6.20 이상
- 7.0 미만
외 1개 구간 펼치기
- 7.0.7 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/0b9fcab1b8608d429e5f239afb197de928d4de7d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/0c2c0c6820fe96fa4be0a0499f8d3f3321b9af6c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/2a71e01b2cf9b4329ff67102c1bea7448c2a2d2d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7bd61ed0bf9f4f1f2673d489b3bda1555b48d054 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b0c0d44adb55c66663886cb6e30ee92cbb0f5385 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/be2c1d825f54277472c87019e82013ac534ddc4c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f1b855c00988a9cb41134cab7cf9faedba775dd9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f30ccfc2985590b33a23a3d8bed7ca16c0af551b (새 창)