CVE-2025-38160 clk: bcm: rpi: Add NULL check in raspberrypi_clk_register()
설명
In the Linux kernel, the following vulnerability has been resolved: clk: bcm: rpi: Add NULL check in raspberrypi_clk_register() devm_kasprintf() returns NULL when memory allocation fails. Currently, raspberrypi_clk_register() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.9
해결 버전
- 5.9 미만
- 5.10.239 이상
- 5.15.186 이상
- 6.1.142 이상
- 6.6.94 이상
- 6.12.34 이상
- 6.15.3 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/0a2712cd24ecfeb520af60f6f859b442c7ab01ff (새 창)
- git.kernel.org https://git.kernel.org/stable/c/1b69a5299f28ce8e6afa37c3690dbc14c3a1f53f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/3c1adc2f8c732ea09e8c4bce5941fec019c6205d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/52562161df3567cdaedada46834a7a8d8c4ab737 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/54ce9bcdaee59d4ef0703f390d55708557818f9e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/73c46d9a93d071ca69858dea3f569111b03e549e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/938f625bd3364cfdc93916739add3b637ff90368 (새 창)