CVE-2024-57997 wifi: wcn36xx: fix channel survey memory allocation size
설명
In the Linux kernel, the following vulnerability has been resolved: wifi: wcn36xx: fix channel survey memory allocation size KASAN reported a memory allocation issue in wcn->chan_survey due to incorrect size calculation. This commit uses kcalloc to allocate memory for wcn->chan_survey, ensuring proper initialization and preventing the use of uninitialized values when there are no frames on the channel.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.18
해결 버전
- 5.18 미만
- 6.1.129 이상
- 6.6.76 이상
- 6.12.13 이상
- 6.13.2 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/34cd2817708aec51ef1a6c007e0d6d5342a025d7 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6200d947f050efdba4090dfefd8a01981363d954 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/64c4dcaeac1dc1030e47883b04a617ca9a4f164e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ae68efdff7a7a42ab251cac79d8713de6f0dbaa0 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e95f9c408ff8311f75eeabc8acf34a66670d8815 (새 창)