CVE-2022-48775 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
설명
In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj kobject_init_and_add() takes reference even when it fails. According to the doc of kobject_init_and_add(): If this function returns an error, kobject_put() must be called to properly clean up the memory associated with the object. Fix memory leak by calling kobject_put().
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.15
해결 버전
- 4.15 미만
- 4.19.231 이상
- 5.4.181 이상
- 5.10.102 이상
- 5.15.25 이상
- 5.16.11 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/417947891bd5ae327f15efed1a0da2b12ef24962 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8bc69f86328e87a0ffa79438430cc82f3aa6a194 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/91d8866ca55232d21995a3d54fac96de33c9e20c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/92e25b637cd4e010f776c86e4810300e773eac5c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/fe595759c2a4a5bb41c438474f15947d8ae32f5c (새 창)