In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: Fix memory leak in rxdesc and txdesc
Currently when ath12kdpccdescinit() is called we allocate memory to rxdescs and txdescs. In ath12kdpcccleanup(), during descriptor cleanup rxdescs and tx_descs memory is not freed.
This is cause of memory leak. These allocated memory should be freed in ath12kdpcc_cleanup.
In ath12kdpccdescinit(), we can save base address of rxdescs and txdescs. In ath12kdpcccleanup(), we can free rxdescs and tx_descs memory using their base address.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54016.json"
}