CVE-2025-39890: wifi: ath12k: fix memory leak in ath12k_service_ready_ext_event

Published Sep 24, 2025
·
Updated

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

wifi: ath12k: fix memory leak in ath12kservicereadyextevent

Currently, in ath12kservicereadyextevent(), svcrdyext.macphycaps is not freed in the failure case, causing a memory leak. The following trace is observed in kmemleak:

unreferenced object 0xffff8b3eb5789c00 (size 1024): comm "softirq", pid 0, jiffies 4294942577 hex dump (first 32 bytes): 00 00 00 00 01 00 00 00 00 00 00 00 7b 00 00 10 ............{... 01 00 00 00 00 00 00 00 01 00 00 00 1f 38 00 00 .............8.. backtrace (crc 44e1c357): kmallocnoprof+0x30b/0x410 ath12kwmimacphycapsparse+0x84/0x100 [ath12k] ath12kwmitlviter+0x5e/0x140 [ath12k] ath12kwmisvcrdyextparse+0x308/0x4c0 [ath12k] ath12kwmitlviter+0x5e/0x140 [ath12k] ath12kservicereadyextevent.isra.0+0x44/0xd0 [ath12k] ath12kwmioprx+0x2eb/0xd70 [ath12k] ath12khtcrxcompletionhandler+0x1f4/0x330 [ath12k] ath12kcerecvprocesscb+0x218/0x300 [ath12k] ath12kpciceworkqueue+0x1b/0x30 [ath12k] processonework+0x219/0x680 bhworker+0x198/0x1f0 taskletaction+0x13/0x30 handlesoftirqs+0xca/0x460 irqexitrcu+0xbe/0x110 irqexitrcu+0x9/0x30

Free svcrdyext.macphycaps in the error case to fix this memory leak.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPLSILICONZ-1

Affected Software

4 affected components
Linux Kernel
Linux Linux kernel>=6.3<6.6.94
Linux Linux kernel>=6.7<6.12.34
Linux Linux kernel>=6.13<6.15.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In ath12k_service_ready_ext_event(), free svc_rdy_ext.mac_phy_caps in the error/failure case to prevent the memory leak.

Event History

Sep 24, 2025
CVE Published
via MITRE·11:02 AM
Data Sourced
via MITRE·11:02 AM
Description
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-39890?

CVE-2025-39890 is classified with moderate severity due to its potential to cause a memory leak in the Linux kernel.

2

How do I fix CVE-2025-39890?

To fix CVE-2025-39890, ensure that you update your Linux kernel to the latest version where the vulnerability is patched.

3

What systems are affected by CVE-2025-39890?

CVE-2025-39890 affects the Linux kernel, specifically versions that utilize the ath12k driver.

4

What impact does CVE-2025-39890 have on my system?

CVE-2025-39890 may lead to increased memory usage on systems running the affected driver, resulting in potential performance degradation.

5

Is CVE-2025-39890 publicly known?

Yes, CVE-2025-39890 has been publicly disclosed and is tracked under the Common Vulnerabilities and Exposures database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203