Re: [PATCH] usb: core: safely deal with the dynamic quirk lists

2018-09-17 Thread Kai-Heng Feng
at 16:58, Harry Pan wrote: Applying dynamic usbcore quirks in early booting when the slab is not yet ready would cause kernel panic of null pointer dereference because the quirk_count has been counted as 1 while the quirk_list was failed to allocate. i.e., [1.044970] BUG: unable to handle

[PATCH] usb: core: safely deal with the dynamic quirk lists

2018-09-14 Thread Harry Pan
Applying dynamic usbcore quirks in early booting when the slab is not yet ready would cause kernel panic of null pointer dereference because the quirk_count has been counted as 1 while the quirk_list was failed to allocate. i.e., [1.044970] BUG: unable to handle kernel NULL pointer dereference