The use TAILQ_FOREACH for freeing the fw_stats list during pdev detach causes a use-after-free condition, which can lead to unexpected behavior during the driver load or unload. Fix the possible Use-after-free condition in pdev detach, by using TAILQ_FOREACH_SAFE instead of TAILQ_FOREACH for freeing the fw_stats list. CRs-Fixed: 2214520 Change-Id: I5dfcc5e3f0d2e77a5f6226eca06bc6ab1af4e643 |
||
---|---|---|
.. | ||
bmi | ||
cds | ||
dp | ||
hdd | ||
mac | ||
pld | ||
sap | ||
sme | ||
wma |