wifi: ath12k: fix overreads in ath12k_wmi_process_csa_switch_count_event()
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix overreads in ath12k_wmi_process_csa_switch_count_event() There is no policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT, so the parse infrastructure does not enforce a minimum length for the event struct. Additionally, the num_vdevs field is taken directly from firmware and used as a loop bound over the vdev_ids array without checking that it fits within the TLV payload. Either condition can cause an out-of-bounds read. Add a TLV policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT so the parse infrastructure enforces a minimum length for the fixed-size event struct. Add a helper ath12k_wmi_tlv_data_len() to recover the payload length of a parsed TLV from the header preceding its data pointer. Use it in ath12k_wmi_process_csa_switch_count_event() to bound num_vdevs before the loop. Compile tested only.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.114, 6.18.57, 6.6.160, 7.2.6
- CVEs
- CVE-2026-90408
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 17:17 UTC · Revision 1
Source evidence
wifi: ath12k: fix overreads in ath12k_wmi_process_csa_switch_count_event()
core-osv · Original sourcePublished 17 Sept 2026, 16:09 UTC
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix overreads in ath12k_wmi_process_csa_switch_count_event() There is no policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT, so the parse infrastructure does not enforce a minimum length for the event struct. Additionally, the num_vdevs field is taken directly from firmware and used as a loop bound over the vdev_ids array without checking that it fits within the TLV payload. Either condition can cause an out-of-bounds read. Add a TLV policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT so the parse infrastructure enforces a minimum length for the fixed-size event struct. Add a helper ath12k_wmi_tlv_data_len() to recover the payload length of a parsed TLV from the header preceding its data pointer. Use it in ath12k_wmi_process_csa_switch_count_event() to bound num_vdevs before the loop. Compile tested only.
osv:CVE-2026-90408
Kernel
Fixed versions: 6.6.160, 6.12.114, 6.18.57, 7.2.6
Complete source record
{
"id": "cb37602d4095efe67acc7dc27599a35e9d24488b93ef2e520d408e68a5182259",
"url": "https://osv.dev/vulnerability/CVE-2026-90408",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "wifi: ath12k: fix overreads in ath12k_wmi_process_csa_switch_count_event()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix overreads in ath12k_wmi_process_csa_switch_count_event() There is no policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT, so the parse infrastructure does not enforce a minimum length for the event struct. Additionally, the num_vdevs field is taken directly from firmware and used as a loop bound over the vdev_ids array without checking that it fits within the TLV payload. Either condition can cause an out-of-bounds read. Add a TLV policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT so the parse infrastructure enforces a minimum length for the fixed-size event struct. Add a helper ath12k_wmi_tlv_data_len() to recover the payload length of a parsed TLV from the header preceding its data pointer. Use it in ath12k_wmi_process_csa_switch_count_event() to bound num_vdevs before the loop. Compile tested only.",
"evidence": "osv:CVE-2026-90408",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.160",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.114",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.57",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-90408",
"aliases": [
"CVE-2026-90408"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "d889913205cf7ebda905b1e62c5867ed4e39f6c2"
},
{
"fixed": "d4aec20f3a84634171c139ab2e02bb2e5a5c756b"
},
{
"fixed": "24f7cdabea9f7ab95dbd6d8bc9ac6ec48d96a7e5"
},
{
"fixed": "23bed4ef132c55c9016f0c6122c8b8ba2efa2353"
},
{
"fixed": "bf97c9d5123859a07848462539153176db029f3a"
},
{
"fixed": "878654eb78c6aa0ff585baf1376567c775ca28ec"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90408.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.3.0"
},
{
"fixed": "6.6.160"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.114"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.57"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90408.json"
}
}
],
"modified": "2026-10-28T02:30:30.602922032Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/23bed4ef132c55c9016f0c6122c8b8ba2efa2353",
"https://git.kernel.org/stable/c/24f7cdabea9f7ab95dbd6d8bc9ac6ec48d96a7e5",
"https://git.kernel.org/stable/c/878654eb78c6aa0ff585baf1376567c775ca28ec",
"https://git.kernel.org/stable/c/bf97c9d5123859a07848462539153176db029f3a",
"https://git.kernel.org/stable/c/d4aec20f3a84634171c139ab2e02bb2e5a5c756b",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90408.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-90408",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90408.json"
}
},
"related_cves": [
{
"value": "CVE-2026-90408",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 497752,
"published_at": "2026-09-17T16:09:36.089+00:00"
}