Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 920c2db46ca4476c25ec52758441e2e7ab498b0f; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 371b340affa52f280f6eadfd25fbd43f09f0d5c0; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 5f09d16cd57764c95c8548fe5b70672c9ac01127; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 9f17747fbda6fca934854463873c4abf8061491d |
| Linux / Linux | affected 6.3; unaffected 0 before 6.3; unaffected 6.6.160 through 6.6.*; unaffected 6.12.34 through 6.12.*; unaffected 6.15.3 through 6.15.*; unaffected 6.16 through * |
CWE
No CWE identifiers supplied.