Thread (1 message) 1 message, 1 author, 2020-01-15

Re: [PATCH 1/2] libertas: don't exit from lbs_ibss_join_existing() with RCU read lock held

From: Nicolai Stange <hidden>
Date: 2020-01-15 06:21:39
Also in: linux-wireless, lkml

Kalle Valo [off-list ref] writes:
Nicolai Stange [off-list ref] writes:
quoted
Commit e5e884b42639 ("libertas: Fix two buffer overflows at parsing bss
descriptor") introduced a bounds check on the number of supplied rates to
lbs_ibss_join_existing().

Unfortunately, it introduced a return path from within a RCU read side
critical section without a corresponding rcu_read_unlock(). Fix this.

Fixes: e5e884b42639 ("libertas: Fix two buffer overflows at parsing bss
                      descriptor")
This should be in one line, I'll fix it during commit.
Thanks!

-- 
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg), GF: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help