Home
last modified time | relevance | path

Searched hist:"098 abbd48ec1accf111dde50a2a5392f2a15f59c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.cdiff 098abbd48ec1accf111dde50a2a5392f2a15f59c Mon May 15 04:22:27 CDT 2023 Zhengchao Shao <shaozhengchao@huawei.com> mac80211_hwsim: fix memory leak in hwsim_new_radio_nl

When parse_pmsr_capa failed in hwsim_new_radio_nl, the memory resources
applied for by pmsr_capa are not released. Add release processing to the
incorrect path.

Fixes: 92d13386ec55 ("mac80211_hwsim: add PMSR capability support")
Reported-by: syzbot+904ce6fbb38532d9795c@syzkaller.appspotmail.com
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230515092227.2691437-1-shaozhengchao@huawei.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>