# CVE-2025-40131: wifi: ath12k: Fix peer lookup in ath12k\_dp\_mon\_rx\_deliver\_msdu()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-11-12T10:23:21.879Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, \< da64eb2da76ce5626238a951fdf3e81810454427; \>= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, \< 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566; 124bd8cea02395a1a140f1dcc5e57c65cdd428af; \>= 6.15.3, \< 6.16
- Anyone running Linux 6.16

## 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

- Linux: \>= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, \< da64eb2da76ce5626238a951fdf3e81810454427; \>= bd00cc7e8a4c1048d14c9a9e9790c582119785fb, \< 7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566; 124bd8cea02395a1a140f1dcc5e57c65cdd428af; \>= 6.15.3, \< 6.16 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- Upgrade Linux to 6.16 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/da64eb2da76ce5626238a951fdf3e81810454427>
- other: <https://git.kernel.org/stable/c/7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-40131>

HTML: <https://flawdb.com/CVE-2025-40131> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-40131>
