NetSight
high8.8

CVE-2024-57997

In the Linux kernel, the following vulnerability has been resolved: wifi: wcn36xx: fix channel survey memory allocation size KASAN reported a memory allocation…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.18 before 6.1.129
from 6.2 before 6.6.76
from 6.7 before 6.12.13
from 6.13 before 6.13.2

Weakness classification

References