CVE-2022-48768 tracing/histogram: Fix a potential memory leak for kstrdup()
설명
In the Linux kernel, the following vulnerability has been resolved: tracing/histogram: Fix a potential memory leak for kstrdup() kfree() is missing on an error path to free the memory allocated by kstrdup(): p = param = kstrdup(data->params[i], GFP_KERNEL); So it is better to free it via kfree(p).
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.4.19 이상 5.4.176 미만
- 5.5.6 이상 5.6 미만
- 5.6
해결 버전
- 5.4.176 이상
- 5.6 이상
- 5.6 미만
- 5.10.96 이상
- 5.15.19 이상
- 5.16.5 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb (새 창)