wifi: ath12k: fix overreads in ath12k_wmi_process_csa_switch_count_event() (Linux Linux)

CVE-2026-90408
HIGH 7.7

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.7CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1HIGH 7.7CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ d889913205cf7ebda905b1e62c5867ed4e39f6c2 < d4aec20f3a84634171c139ab2e02bb2e5a5c756b
affected : ≥ d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 24f7cdabea9f7ab95dbd6d8bc9ac6ec48d96a7e5
affected : ≥ d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 23bed4ef132c55c9016f0c6122c8b8ba2efa2353
affected : ≥ d889913205cf7ebda905b1e62c5867ed4e39f6c2 < bf97c9d5123859a07848462539153176db029f3a
affected : ≥ d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 878654eb78c6aa0ff585baf1376567c775ca28ec
Other versions : unaffected
Linux · Linux
affected : 6.3
unaffected : ≥ 0 < 6.3
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.18.57 ≤ 6.18.*
unaffected : ≥ 7.2.6 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD