[PATCH] fbdev: da8xx-fb: add missing regulator_disable() in fb_probe

2022-11-19 Thread Dongliang Mu
: 611097d5daea("fbdev: da8xx: add support for a regulator") Signed-off-by: Dongliang Mu --- drivers/video/fbdev/da8xx-fb.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/da8xx-fb.c b/drivers/video/fbdev/da8xx-fb.c index 11922b009ed7..cd07e401b

[PATCH] fbdev: smscufx: fix error handling code in ufx_usb_probe

2022-11-11 Thread Dongliang Mu
x12d/0x390 drivers/base/dd.c:639 [] __driver_probe_device+0xbf/0x140 drivers/base/dd.c:778 Fix this bug by rewriting the error handling code in ufx_usb_probe. Reported-by: syzkaller Tested-by: Dongliang Mu Signed-off-by: Dongliang Mu --- drivers/video/fbdev/smsc

Re: [syzbot] general protection fault in virtio_gpu_array_put_free

2021-12-18 Thread Dongliang Mu
On Sat, Dec 4, 2021 at 5:53 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:d58071a8a76d Linux 5.16-rc3 > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=11f773f6b0 > kernel config:

Re: [PATCH 4.19] fbmem: add margin check to fb_check_caps()

2021-09-03 Thread Dongliang Mu
On Fri, Sep 3, 2021 at 9:55 PM Greg KH wrote: > > On Thu, Sep 02, 2021 at 02:10:48PM +0800, Dongliang Mu wrote: > > [ Upstream commit a49145acfb975d921464b84fe00279f99827d816 ] > > > > A fb_ioctl() FBIOPUT_VSCREENINFO call with invalid xres setting > > or yres setti

Re: [PATCH 4.19] fbmem: add margin check to fb_check_caps()

2021-09-02 Thread Dongliang Mu
On Thu, Sep 2, 2021 at 9:15 PM Geert Uytterhoeven wrote: > > Hi Dongliang, > > On Thu, Sep 2, 2021 at 8:04 AM Dongliang Mu wrote: > > [ Upstream commit a49145acfb975d921464b84fe00279f99827d816 ] > > Oops, looks like I missed when that one was submitted for review... Th

[PATCH 4.19] fbmem: add margin check to fb_check_caps()

2021-09-02 Thread Dongliang Mu
[ Upstream commit a49145acfb975d921464b84fe00279f99827d816 ] A fb_ioctl() FBIOPUT_VSCREENINFO call with invalid xres setting or yres setting in struct fb_var_screeninfo will result in a KASAN: vmalloc-out-of-bounds failure in bitfill_aligned() as the margins are being cleared. The margins are

[PATCH 4.19] fbmem: add margin check to fb_check_caps()

2021-09-02 Thread Dongliang Mu
[ Upstream commit a49145acfb975d921464b84fe00279f99827d816 ] A fb_ioctl() FBIOPUT_VSCREENINFO call with invalid xres setting or yres setting in struct fb_var_screeninfo will result in a KASAN: vmalloc-out-of-bounds failure in bitfill_aligned() as the margins are being cleared. The margins are

Re: [PATCH 4.19] fbmem: add margin check to fb_check_caps()

2021-09-02 Thread Dongliang Mu
On Thu, Sep 2, 2021 at 2:02 PM Dongliang Mu wrote: > > [ Upstream commit a49145acfb975d921464b84fe00279f99827d816 ] > > A fb_ioctl() FBIOPUT_VSCREENINFO call with invalid xres setting > or yres setting in struct fb_var_screeninfo will result in a > KASAN: vmalloc-out