# CVE-2023-54016: wifi: ath12k: Fix memory leak in rx_desc and tx_desc

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-12-24T10:55:47.691Z
- Modified: 2026-06-17T06:46:32.657Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: Fix memory leak in rx_desc and tx_desc

Currently when ath12k_dp_cc_desc_init() is called we allocate
memory to rx_descs and tx_descs. In ath12k_dp_cc_cleanup(), during
descriptor cleanup rx_descs and tx_descs memory is not freed.

This is cause of memory leak. These allocated memory should be
freed in ath12k_dp_cc_cleanup.

In ath12k_dp_cc_desc_init(), we can save base address of rx_descs
and tx_descs. In ath12k_dp_cc_cleanup(), we can free rx_descs and
tx_descs memory using their base address.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

(As written by CVE List.)

## Affected

- Linux Linux: from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before e16be2d34883eecfe7fd888fcdb76c7a5db5d187; from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before afb522b36e76acaa9f8fc06d0a9742d841c47c16; 6.3 (not affected: before 6.3; from 6.5.5 up to 6.5.*; from 6.6 up to *)

## References

- <https://git.kernel.org/stable/c/e16be2d34883eecfe7fd888fcdb76c7a5db5d187>
- <https://git.kernel.org/stable/c/afb522b36e76acaa9f8fc06d0a9742d841c47c16>

## Sources

- CVE List: [CVE-2023-54016](https://www.cve.org/CVERecord?id=CVE-2023-54016), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54016](https://nvd.nist.gov/vuln/detail/CVE-2023-54016), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54016 · Whole record: https://cve.day/CVE-2023-54016.json · Rebuilt by cve.day 2026-11-25T22:58:35.143Z
