Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: reset ar->num_stations on hardware start When (multiple) hw restart occurs, we end up in a situation where we cannot accept new stations / mesh peers. This seems to be the 'num_stations' in 'struct ath11k' that did not get reset properly in this case. In ath11k_mac_op_start(), it was indeed the only accounting var that did not get reset so let's clear it too. This avoids problems like those: [1248828.088023] WARNING: CPU: 0 PID: 12281 at net/mac80211/util.c:1682 ieee80211_reconfig_stations+0x98/0xc0 [1248828.088115] Call trace: [1248828.088116] ieee80211_reconfig_stations+0x98/0xc0 (P) [1248828.088119] ieee80211_reconfig+0x774/0x1438 [1248828.088123] ieee80211_restart_work+0x10c/0x178 [1248828.088127] process_one_work+0x178/0x3c0 [1248828.088130] worker_thread+0x280/0x440 [1248828.088133] kthread+0xe0/0xf8 [1248828.088137] ret_from_fork+0x10/0x20 [1248828.088141] ---[ end trace 0000000000000000 ]--- [1248836.686604] ath11k_pci 0000:04:00.0: refusing to associate station: too many connected already (128) [1248836.686609] ath11k_pci 0000:04:00.0: Failed to add station: xx:xx:xx:xx:xx:xx for VDEV: 1 Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.9.0.1-01977-QCAHKSWPL_SILICONZ-1
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 < 302b622d5f3c9ef5efa36e41e69d278599265cfcaffectedd5c65159f2895379e11ca13f62feabe93278985d to < 5f814ca9a68fd12a51fe82c36a4a876f5b8329f1affectedd5c65159f2895379e11ca13f62feabe93278985d to < a78f2d082f72e3c140c4542cade7f7f56f3cc62daffectedd5c65159f2895379e11ca13f62feabe93278985d to < 60142eb2afda34508e640a3ff2a54c90e51525ccaffectedd5c65159f2895379e11ca13f62feabe93278985d to < c3ac51701e925e8d50479ae2fddca51a09f636e8affectedd5c65159f2895379e11ca13f62feabe93278985d to < 9a9467f7cc633b31e4c34a2c56aa095e0c3fa853affectedd5c65159f2895379e11ca13f62feabe93278985d to < c27779d3679c695674747744390f97a5424a0dc8affectedd5c65159f2895379e11ca13f62feabe93278985d to < 7e0ad05ebc72fffba2bdf2400400902d94ed7272affected
Linux Linux
Default version status: affected
5.6affected0 to < 5.6unaffected5.10.273 to ≤ 5.10.*unaffected5.15.224 to ≤ 5.15.*unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.113 to ≤ 6.12.*unaffected6.18.56 to ≤ 6.18.*unaffected7.2.10 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/302b622d5f3c9ef5efa36e41e69d278599265cfc ↗
- https://git.kernel.org/stable/c/5f814ca9a68fd12a51fe82c36a4a876f5b8329f1 ↗
- https://git.kernel.org/stable/c/a78f2d082f72e3c140c4542cade7f7f56f3cc62d ↗
- https://git.kernel.org/stable/c/60142eb2afda34508e640a3ff2a54c90e51525cc ↗
- https://git.kernel.org/stable/c/c3ac51701e925e8d50479ae2fddca51a09f636e8 ↗
- https://git.kernel.org/stable/c/9a9467f7cc633b31e4c34a2c56aa095e0c3fa853 ↗
- https://git.kernel.org/stable/c/c27779d3679c695674747744390f97a5424a0dc8 ↗
- https://git.kernel.org/stable/c/7e0ad05ebc72fffba2bdf2400400902d94ed7272 ↗