wifi: ath12k: fix invalid access to memory
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's ath12k Wi-Fi driver accesses data from an skb after freeing it, which may cause a use-after-free error. The input does not specify how an attacker could trigger the issue or whether network access, authentication, or user interaction is required.
Teams running Linux kernels with the ath12k Wi-Fi driver should check their versions; affected versions are not specified.