wifi: ath12k: Decrement TID on RX peer frag setup error handling
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: Decrement TID on RX peer frag setup error handling
Currently, TID is not decremented before peer cleanup, during error handling path of ath12k_dp_rx_peer_frag_setup(). This could lead to out-of-bounds access in peer->rx_tid[].
Hence, add a decrement operation for TID, before peer cleanup to ensures proper cleanup and prevents out-of-bounds access issues when the RX peer frag setup fails.
Found during code review. Compile tested only.
From the CVE record · Linux
The Linux kernel’s ath12k driver can access beyond the peer RX TID array if RX peer fragment setup fails and cleanup runs without decrementing the TID. The input does not establish whether an attacker can trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the ath12k driver should check their exposure; affected versions are not specified.