CVE-2025-38605

Source
https://cve.org/CVERecord?id=CVE-2025-38605
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38605.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38605
Downstream
Related
Published
2025-08-19T17:03:49.295Z
Modified
2026-03-12T02:16:26.669518Z
Summary
wifi: ath12k: Pass ab pointer directly to ath12k_dp_tx_get_encap_type()
Details

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

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

In ath12kdptxgetencaptype(), 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 ath12kdp_tx() already has a valid ab pointer, pass it directly to avoid panic and unnecessary dereferencing.

PC points to "ath12kdptx+0x228/0x988 [ath12k]" LR points to "ath12kdptx+0xc8/0x988 [ath12k]". The Backtrace obtained is as follows: ath12kdptx+0x228/0x988 [ath12k] ath12kmactxcheckmaxlimit+0x608/0x920 [ath12k] ieee80211processmeasurementreq+0x320/0x348 [mac80211] ieee80211txdequeue+0x9ac/0x1518 [mac80211] ieee80211txdequeue+0xb14/0x1518 [mac80211] ieee80211txprepareskb+0x224/0x254 [mac80211] ieee80211xmit+0xec/0x100 [mac80211] _ieee80211subifstartxmit+0xc50/0xf40 [mac80211] ieee80211subifstartxmit+0x2e8/0x308 [mac80211] netdevstartxmit+0x150/0x18c devhardstartxmit+0x74/0xc0

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38605.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e93bbd65547ea8073b707c9034c3f051f8018614
Fixed
b508f370f88f277c95e2bd3bc47217a96d668cee
Fixed
ee4f8e7fa578f9f28cef5f409677db25f4f83d7e
Fixed
05062834350f0bf7ad1abcebc2807220e90220eb

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38605.json"