[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <2764518.z4Gir5H5x7@amdc3058>
Date: Tue, 02 May 2017 13:29:49 +0200
From: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To: Alexey Khoroshilov <khoroshilov@...ras.ru>
Cc: Tomi Valkeinen <tomi.valkeinen@...com>,
linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org,
ldv-project@...uxtesting.org
Subject: Re: [PATCH] m501fb: don't return zero on failure path in
sm501fb_start()
On Saturday, April 29, 2017 09:33:39 PM Alexey Khoroshilov wrote:
> If fbmem iomemory mapping failed, sm501fb_start() breaks off
> initialization, deallocates resources, but returns zero.
> As a result, double deallocation can happen in sm501fb_stop().
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@...ras.ru>
Patch queued for 4.12, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Powered by blists - more mailing lists