CVE-2025-40131
wifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu()
Mitigation
- Upgrade Linux to 6.16 or later.
Who should check
- Anyone running Linux >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < da64eb2da76ce5626238a951fdf3e81810454427; >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566; 124bd8cea02395a1a140f1dcc5e57c65cdd428af; >= 6.15.3, < 6.16
- Anyone running Linux 6.16
Vulnerability facts
- Affected
- Linux >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < da64eb2da76ce5626238a951fdf3e81810454427; >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566; 124bd8cea02395a1a140f1dcc5e57c65cdd428af; >= 6.15.3, < 6.16; Linux 6.16
- Fixed in
- Linux 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566, Linux 6.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu() In ath12k_dp_mon_rx_deliver_msdu(), peer lookup fails because rxcb->peer_id 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->peer_id. As a result, the peer is NULL, and link_id and link_valid fields in the RX status are not populated. This leads to a WARN_ON in mac80211 when it receives data frame from an associated station with invalid link_id. Fix this potential issue by using ppduinfo->peer_id, 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-QCAHKSWPL_SILICONZ-1
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < da64eb2da76ce5626238a951fdf3e81810454427; >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566; 124bd8cea02395a1a140f1dcc5e57c65cdd428af; >= 6.15.3, < 6.16 | — | cvelist |
| Linux | 6.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40131. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40131.md Affected: Linux >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < da64eb2da76ce5626238a951fdf3e81810454427; >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566; 124bd8cea02395a1a140f1dcc5e57c65cdd428af; >= 6.15.3, < 6.16; Linux 6.16 Fixed in: Linux 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566, Linux 6.16 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-40131 being exploited?
There is no confirmed exploitation: CVE-2025-40131 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40131?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-40131?
Linux >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < da64eb2da76ce5626238a951fdf3e81810454427; >= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, < 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566; 124bd8cea02395a1a140f1dcc5e57c65cdd428af; >= 6.15.3, < 6.16; Linux 6.16.
Is there a fix for CVE-2025-40131?
Yes. Fixed in Linux 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566, Linux 6.16. Upgrade Linux to 6.16 or later.
How do I check if I'm affected by CVE-2025-40131?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.