Skip to content
Commit b3992507 authored by Johannes Berg's avatar Johannes Berg Committed by Zhang Zekun
Browse files

wifi: nl80211: don't free NULL coalescing rule

mainline inclusion
from mainline-v6.9-rc6
commit 801ea33ae82d6a9d954074fbcf8ea9d18f1543a7
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9U96L
CVE: CVE-2024-36941

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=801ea33ae82d6a9d954074fbcf8ea9d18f1543a7



----------------------------------------------------

If the parsing fails, we can dereference a NULL pointer here.

Cc: stable@vger.kernel.org
Fixes: be29b99a ("cfg80211/nl80211: Add packet coalesce support")
Reviewed-by: default avatarMiriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240418105220.b328f80406e7.Id75d961050deb05b3e4e354e024866f350c68103@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarZhang Zekun <zhangzekun11@huawei.com>
parent 6a985437
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment