# CVE-2025-38605: wifi: ath12k: Pass ab pointer directly to ath12k_dp_tx_get_encap_type()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-08-19T17:03:49.295Z
- Modified: 2026-11-05T22:17:20.207Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

wifi: ath12k: Pass ab pointer directly to ath12k_dp_tx_get_encap_type()

In ath12k_dp_tx_get_encap_type(), the arvif parameter is only used to
retrieve the ab pointer. In vdev delete sequence the arvif->ar could
become NULL and that would trigger kernel panic.
Since the caller ath12k_dp_tx() already has a valid ab pointer, pass it
directly to avoid panic and unnecessary dereferencing.

PC points to "ath12k_dp_tx+0x228/0x988 [ath12k]"
LR points to "ath12k_dp_tx+0xc8/0x988 [ath12k]".
The Backtrace obtained is as follows:
ath12k_dp_tx+0x228/0x988 [ath12k]
ath12k_mac_tx_check_max_limit+0x608/0x920 [ath12k]
ieee80211_process_measurement_req+0x320/0x348 [mac80211]
ieee80211_tx_dequeue+0x9ac/0x1518 [mac80211]
ieee80211_tx_dequeue+0xb14/0x1518 [mac80211]
ieee80211_tx_prepare_skb+0x224/0x254 [mac80211]
ieee80211_xmit+0xec/0x100 [mac80211]
__ieee80211_subif_start_xmit+0xc50/0xf40 [mac80211]
ieee80211_subif_start_xmit+0x2e8/0x308 [mac80211]
netdev_start_xmit+0x150/0x18c
dev_hard_start_xmit+0x74/0xc0

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1

(As written by CVE List.)

## Affected

- Linux Linux: from e93bbd65547ea8073b707c9034c3f051f8018614 before be27a11a42b2190f817b198bf5e753e5e4ac849e; from e93bbd65547ea8073b707c9034c3f051f8018614 before d9d2a0466e981d1be95fc8bdc05806ea21def758; from e93bbd65547ea8073b707c9034c3f051f8018614 before b508f370f88f277c95e2bd3bc47217a96d668cee; from e93bbd65547ea8073b707c9034c3f051f8018614 before ee4f8e7fa578f9f28cef5f409677db25f4f83d7e; from e93bbd65547ea8073b707c9034c3f051f8018614 before 05062834350f0bf7ad1abcebc2807220e90220eb; 6.4 (not affected: before 6.4; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.15.10 up to 6.15.*; from 6.16.1 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.4 before 6.15.10; from 6.16 before 6.16.1

## References

- <https://git.kernel.org/stable/c/be27a11a42b2190f817b198bf5e753e5e4ac849e>
- <https://git.kernel.org/stable/c/d9d2a0466e981d1be95fc8bdc05806ea21def758>
- <https://git.kernel.org/stable/c/b508f370f88f277c95e2bd3bc47217a96d668cee> (patch)
- <https://git.kernel.org/stable/c/ee4f8e7fa578f9f28cef5f409677db25f4f83d7e> (patch)
- <https://git.kernel.org/stable/c/05062834350f0bf7ad1abcebc2807220e90220eb> (patch)

## Sources

- CVE List: [CVE-2025-38605](https://www.cve.org/CVERecord?id=CVE-2025-38605), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38605](https://nvd.nist.gov/vuln/detail/CVE-2025-38605), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38605 · Whole record: https://cve.day/CVE-2025-38605.json · Rebuilt by cve.day 2026-11-25T22:59:02.764Z
