Linux
wifi: ath12k: fix invalid access to memory
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix invalid access to memory In ath12k_dp_rx_msdu_coalesce(), rxcb is fetched from skb and boolean is_continuation is part of rxcb. Currently, after freeing the skb, the rxcb->is_continuation accessed again which is wrong since the memory is already freed. This might lead use-after-free error. Hence, fix by locally defining bool is_continuation from rxcb, so that after freeing skb, is_continuation can be used. Compile tested only.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 920c2db46ca4476c25ec52758441e2e7ab498b0f
- >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 371b340affa52f280f6eadfd25fbd43f09f0d5c0
- >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 5f09d16cd57764c95c8548fe5b70672c9ac01127
- >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 9f17747fbda6fca934854463873c4abf8061491d
Fixed in 920c2db46ca4476c25ec52758441e2e7ab498b0f, 371b340affa52f280f6eadfd25fbd43f09f0d5c0, 5f09d16cd57764c95c8548fe5b70672c9ac01127, 9f17747fbda6fca934854463873c4abf8061491d
- 6.3
Fixed in 0, 6.6.160, 6.12.34, 6.15.3, 6.16
Mitigation
Upgrade Linux to 920c2db46ca4476c25ec52758441e2e7ab498b0f or 371b340affa52f280f6eadfd25fbd43f09f0d5c0 or 5f09d16cd57764c95c8548fe5b70672c9ac01127 or 9f17747fbda6fca934854463873c4abf8061491d or later.
Upgrade Linux to 0 or 6.6.160 or 6.12.34 or 6.15.3 or 6.16 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.