APPLIED: [PATCH 0/1][SRU][B][C] mac80211_hwsim: Timer should be initialized before device registered

Khaled Elmously khalid.elmously at canonical.com
Tue Apr 23 04:15:48 UTC 2019


On 2019-04-17 16:31:10 , You-Sheng Yang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1825058
> 
> [Impact]
> Kernel NULL pointer dereference in mac80211_hwsim.
> 
> [Fix]
> a1881c9b8a1e mac80211_hwsim: Timer should be initialized before device registered
> 
> This fix has been included in 4.19.9 or above.
> 
> [Test Case]
> $ git clone https://github.com/aircrack-ng/aircrack-ng
> # Tested with 69a406c
> $ cd aircrack-ng
> $ grep 'sudo apt' README.md | bash
> $ autoreconf -i
> $ ./configure --with-experimental
> $ make check
> $ sudo bash scripts/airmon-ng.linux check kill
> $ sudo make integration
> 
> # Run integration test again and check dmesg
> $ sudo bash scripts/airmon-ng.linux check kill
> $ sudo make integration
> 
> Verified with VMs setup locally.
> 
> [Regression Risk]
> Low. Move forward data structure initialization only. This patch has
> also been included in LTS stable kernel.
> 
> Vasyl Vavrychuk (1):
>   mac80211_hwsim: Timer should be initialized before device registered
> 
>  drivers/net/wireless/mac80211_hwsim.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> -- 
> 2.20.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list