[PATCH 4.18 049/150] cfg80211: fix use-after-free in reg_process_hint()

2018-11-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 1db58529454742f67ebd96e3588315e880b72837 ] reg_process_hint_country_ie() can free regulatory_request and return REG_REQ_ALREADY_SET. We shouldn't use regulatory_request after it's

[PATCH 4.18 049/150] cfg80211: fix use-after-free in reg_process_hint()

2018-11-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 1db58529454742f67ebd96e3588315e880b72837 ] reg_process_hint_country_ie() can free regulatory_request and return REG_REQ_ALREADY_SET. We shouldn't use regulatory_request after it's