mwifiex: exit on error - without calling rcu_read_unlock()
Please refer to:
* https://grsecurity.net/the_life_of_a_bad_security_fix
* https://github.com/torvalds/linux/commit/3d94a4a8373bf5f45cf5f939e88b8354dbf2311b#diff-c5e2f17b92b8e8f30306c5dd148d874f
At quick glance it looks to me like the issue really is there: Not calling rcu_read_unlock() before return on line 237.
Happy Lunar New Year to everyone! =)
Cheers,
Antti
Signature · 9 lines
Antti Antinoja 諾亞安提 Fennosys Oy PL 14 10211 Inkoo Finland 25141 新北市淡水區蕃薯裡 水碓25巷22號1樓 芬諾實有限公司
Quoted 8 lines · Antti Antinoja
Please refer to:
* https://grsecurity.net/the_life_of_a_bad_security_fix
*
https://github.com/torvalds/linux/commit/3d94a4a8373bf5f45cf5f939e88b8354dbf2311b#diff-c5e2f17b92b8e8f30306c5dd148d874fAt quick glance it looks to me like the issue really is there: Not calling
rcu_read_unlock()before return on line 237.
Ganapahti, can you send a fix this for this?
Remember to add to the commit log:
Signature · 1 line
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Quoted 8 lines · Kalle Valo
Quoted 6 lines · Antti Antinoja
Please refer to:
* https://grsecurity.net/the_life_of_a_bad_security_fix
*
https://github.com/torvalds/linux/commit/3d94a4a8373bf5f45cf5f939e88b8354dbf2311b#diff-c5e2f17b92b8e8f30306c5dd148d874f
Quoted 8 lines
Quoted 2 lines
At quick glance it looks to me like the issue really is there: Not calling
rcu_read_unlock()before return on line 237.Ganapahti, can you send a fix this for this?
Remember to add to the commit log:
Fixes 3d94a4a8373b ("mwifiex: fix possible heap overflow in mwifiex_process_country_ie()")
Oh, there was already a fix available:
https://patchwork.kernel.org/patch/11320227/
It just got piled up with all the patches.
Signature · 1 line
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches