mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
mwifiex: fix unbalanced locking in mwifiex_process_country_ie()
commit65b1aae0d9upstream. We called rcu_read_lock(), so we need to call rcu_read_unlock() before we return. Fixes:3d94a4a837("mwifiex: fix possible heap overflow in mwifiex_process_country_ie()") Cc: stable@vger.kernel.org Cc: huangwen <huangwenabc@gmail.com> Cc: Ganapathi Bhat <ganapathi.bhat@nxp.com> Signed-off-by: Brian Norris <briannorris@chromium.org> Acked-by: Ganapathi Bhat <ganapathi.bhat@nxp.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0b981befd1
commit
dc714706d4
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue