title: wifi: mac80211: fix race condition on enabling fast-xmit
description: In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: fix race condition on enabling fast-xmit
fast-xmit must only be enabled after the sta has been uploaded to the driver,
otherwise it could end up passing the not-yet-uploaded sta via drv_tx calls
to the driver, leading to potential crashes because of uninitialized drv_priv
data.
Add a missing sta->uploaded check and re-check fast xmit after inserting a sta.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 1da177e4c3f4, lessThan: 76fad1174a0c, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 85720b69aef1, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 5ffab99e070b, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 88c18fd06608, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: eb39bb548bf9, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 54b79d878696, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: 281280276b70, status: affected, versionType: git
version: 1da177e4c3f4, lessThan: bcbc84af1183, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 4.19.308, lessThanOrEqual: 4.19.*, status: unaffected, versionType: custom
version: 5.4.270, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.211, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.150, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 6.1.80, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.6.19, lessThanOrEqual: 6.6.*, status: unaffected, versionType: custom
version: 6.7.7, lessThanOrEqual: 6.7.*, status: unaffected, versionType: custom
version: 6.8, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
