Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: Avoid buffer overread in ath11k_wmi_tlv_op_rx() Currently, in ath11k_wmi_tlv_op_rx(), the firmware buffer is read without first verifying that the buffer has enough data to hold a header. This could result in a buffer overread. Add an upfront length check before dereferencing skb->data as a wmi_cmd_hdr. The check is placed before the trace_ath11k_wmi_event() call to preserve the existing trace semantics (tracing the full raw WMI event including the header), unlike the analogous ath12k fix which could use skb_pull_data() directly. Compile tested only.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d5c65159f2895379e11ca13f62feabe93278985d to < 20166fd9a4ad15d7eccc63c9dc99680aea6558efaffectedd5c65159f2895379e11ca13f62feabe93278985d to < 71690d26c1415e816158b45ee354367244c50d4caffectedd5c65159f2895379e11ca13f62feabe93278985d to < f9726f6d97dca94ab14739c8b632301a940a7e8faffectedd5c65159f2895379e11ca13f62feabe93278985d to < 2677fc48dd10dc08cdec99c2692d50fe5f48dcbfaffectedd5c65159f2895379e11ca13f62feabe93278985d to < 9652e7e23137538169f60323300cae3413475685affectedd5c65159f2895379e11ca13f62feabe93278985d to < 72a5e45f606ec454ef556a68ffd92e06b0677f44affectedd5c65159f2895379e11ca13f62feabe93278985d to < 9ddbc95dac167e3f2d0e3859e6ce022ae0184fc1affectedd5c65159f2895379e11ca13f62feabe93278985d to < 9ef9dd30058cc9223c72f711dca1a28a5947d0c5affected
Linux Linux
Default version status: affected
5.6affected0 to < 5.6unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/20166fd9a4ad15d7eccc63c9dc99680aea6558ef ↗
- https://git.kernel.org/stable/c/71690d26c1415e816158b45ee354367244c50d4c ↗
- https://git.kernel.org/stable/c/f9726f6d97dca94ab14739c8b632301a940a7e8f ↗
- https://git.kernel.org/stable/c/2677fc48dd10dc08cdec99c2692d50fe5f48dcbf ↗
- https://git.kernel.org/stable/c/9652e7e23137538169f60323300cae3413475685 ↗
- https://git.kernel.org/stable/c/72a5e45f606ec454ef556a68ffd92e06b0677f44 ↗
- https://git.kernel.org/stable/c/9ddbc95dac167e3f2d0e3859e6ce022ae0184fc1 ↗
- https://git.kernel.org/stable/c/9ef9dd30058cc9223c72f711dca1a28a5947d0c5 ↗