Hi, On Sun, 4 Apr 2021 at 00:57, Du Cheng <ducheng2@xxxxxxxxx> wrote: > > add mutex_init(&sdata->sec_mtx) and mac802154_llsec_init(&sdata->sec) for > NL802154_IFTYPE_MONITOR inside ieee802154_setup_sdata. As the unintiated > mutex and sec data structure were used in ieee802154_get_llsec_params > which would cause a kernel crash. BUG reported by syzkaller. this patch will fix it in a way that the user is allowed to set llsec parameters for monitors but they will never use them because it's not supported. I resend my patch series which should forbid monitors to set any llsec parameters for now and the user will be aware that this feature isn't supported right now. Thanks. - Alex