Linux: wifi: mt76: account non-AQL frames per peer rather than per link
What fixes it
- 9f28f504650869d41f7b3e98e4bc4547af4d5670LinuxCVE List
- 752770d7a58c821c17909c3ca67f9f14ab146a40LinuxCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: account non-AQL frames per peer rather than per link
The driver increments wcid->non_aql_packets when a frame goes to the hardware queue. The completion path decrements the counter again.
For an MLO peer, the hardware reports the completion on the link that it used for the transmission. This link can differ from the link that the driver queued the frame on. In that case, the increment and the decrement go to different link wcids, and the count drifts upwards until it blocks the station.
Keep the count on the wcid of the primary link, like the other peer-wide state.
Text from CVE List
Affected versions 8
- Linuxaffected: 86c051f2c418abd7eefd8c545a01bdffd220cb95 before 9f28f504650869d41f7b3e98e4bc4547af4d5670CVE List
- Linuxaffected: 86c051f2c418abd7eefd8c545a01bdffd220cb95 before e0f2ae4a7539454ec50c353571779fcda8c0cfcfCVE List
- Linuxaffected: 86c051f2c418abd7eefd8c545a01bdffd220cb95 before 752770d7a58c821c17909c3ca67f9f14ab146a40CVE List
- Linuxaffected: 6.11CVE List
- Linuxunaffected: all versions before 6.11CVE List
- Linuxunaffected: 6.18.57 through 6.18.*CVE List
- Linuxunaffected: 7.2.11 through 7.2.*CVE List
- Linuxunaffected: 7.3CVE List