{"id":"CVE-2025-40131","aliases":["CVE-2025-40131"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu()\n\nIn ath12k_dp_mon_rx_deliver_msdu(), peer lookup fails because\nrxcb->peer_id is not updated with a valid value. This is expected\nin monitor mode, where RX frames bypass the regular RX\ndescriptor path that typically sets rxcb->peer_id.\nAs a result, the peer is NULL, and link_id and link_valid fields\nin the RX status are not populated. This leads to a WARN_ON in\nmac80211 when it receives data frame from an associated station\nwith invalid link_id.\n\nFix this potential issue by using ppduinfo->peer_id, which holds\nthe correct peer id for the received frame. This ensures that the\npeer is correctly found and the associated link metadata is updated\naccordingly.\n\nTested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu()\n\nIn ath12k_dp_mon_rx_deliver_msdu(), peer lookup fails because\nrxcb->peer_id is not updated with a valid value. This is expected\nin monitor mode, where RX frames bypass the regular RX\ndescriptor path that typically sets rxcb->peer_id.\nAs a result, the peer is NULL, and link_id and link_valid fields\nin the RX status are not populated. This leads to a WARN_ON in\nmac80211 when it receives data frame from an associated station\nwith invalid link_id.\n\nFix this potential issue by using ppduinfo->peer_id, which holds\nthe correct peer id for the received frame. This ensures that the\npeer is correctly found and the associated link metadata is updated\naccordingly.\n\nTested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nwifi: ath12k: Corrección de la búsqueda de par en ath12k_dp_mon_rx_deliver_msdu()\n\nEn ath12k_dp_mon_rx_deliver_msdu(), la búsqueda de par falla porque rxcb->peer_id no se actualiza con un valor válido. Esto es esperado en modo monitor, donde los *frames* RX omiten la ruta regular del descriptor RX que típicamente establece rxcb->peer_id. Como resultado, el par es NULL, y los campos link_id y link_valid en el estado RX no se rellenan. Esto provoca un WARN_ON en mac80211 cuando recibe un *data frame* de una estación asociada con un link_id inválido.\n\nSe corrige este potencial problema utilizando ppduinfo->peer_id, que contiene el ID de par correcto para el *frame* recibido. Esto asegura que el par se encuentre correctamente y que los metadatos de enlace asociados se actualicen en consecuencia.\n\nProbado en: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1","source":"nvd"}],"published":"2025-11-12T10:23:21.879Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bd00cc7e8a4c1048d14c9a9e9790c582119785fb","fixed":"da64eb2da76ce5626238a951fdf3e81810454427","status":"affected"},{"type":"git","introduced":"bd00cc7e8a4c1048d14c9a9e9790c582119785fb","fixed":"7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566","status":"affected"},{"type":"git","version":"124bd8cea02395a1a140f1dcc5e57c65cdd428af","status":"affected"},{"type":"semver","introduced":"6.15.3","fixed":"6.16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.17.3","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/da64eb2da76ce5626238a951fdf3e81810454427","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ca61ed8b3f3fc9a7decd68039cb1d7d1238c566","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40131","url":"https://www.cve.org/CVERecord?id=CVE-2025-40131","licence":"CVE Terms of Use","modified":"2026-05-23T16:01:30.872Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40131","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40131","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.547Z","epss":{"score":0.0021,"percentile":0.11871,"date":"2026-12-01T12:00:22.000Z"}}