CVE-2025-40131: wifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu()

Published Nov 12, 2025
·
Updated

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

wifi: ath12k: Fix peer lookup in ath12kdpmonrxdelivermsdu()

In ath12kdpmonrxdelivermsdu(), peer lookup fails because rxcb->peerid is not updated with a valid value. This is expected in monitor mode, where RX frames bypass the regular RX descriptor path that typically sets rxcb->peerid. As a result, the peer is NULL, and linkid and linkvalid fields in the RX status are not populated. This leads to a WARNON in mac80211 when it receives data frame from an associated station with invalid linkid.

Fix this potential issue by using ppduinfo->peerid, which holds the correct peer id for the received frame. This ensures that the peer is correctly found and the associated link metadata is updated accordingly.

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

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 12, 2025
CVE Published
via MITRE·10:23 AM
Data Sourced
via MITRE·10:23 AM
Description
Data Sourced
via NVD·11:15 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-40131?

CVE-2025-40131 is classified as a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2025-40131?

To fix CVE-2025-40131, update to the latest version of the Linux kernel where the vulnerability has been patched.

3

What impact does CVE-2025-40131 have on affected systems?

CVE-2025-40131 can lead to improper peer lookup functionality in monitor mode, potentially allowing for denial of service conditions.

4

Which versions of the Linux kernel are affected by CVE-2025-40131?

CVE-2025-40131 affects various versions of the Linux kernel that implement the ath12k Wi-Fi driver.

5

Is there a workaround for CVE-2025-40131 until a fix is applied?

No official workaround is recommended for CVE-2025-40131; applying the kernel update is the most effective mitigation.

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