Re: KASAN: use-after-free Read in appledisplay_bl_get_brightness

2019-09-23 Thread Alexander Theißen
Hello, just by looking at appledisplay_probe() I would say that the problem here is that usb_submit_urb() is called while the probe function can still fail. If it fails after submitting the urb the work item could already been scheduled from appledisplay_complete() and therefore operates on fre

Apple Display bound to hid-generic driver instead of appledisplay

2018-12-02 Thread Alexander Theißen
>> On 1 Dec 2018, at 13:06, Alexander Theißen wrote: >> >> Hi Mattias, >> >> I am writing you because you edited the drivers/usb/misc/appledisplay.c >> driver and I am hoping that you are a user of that driver. >> >> How do you use that driver