Displaying 1 result from an estimated 1 matches for "pescosta".
Did you mean:
lscosta
2017 Jan 18
0
[PATCH] drm/nouveau/led: prevent a possible use-after-free
If the led class registration fails, we free drm->led but do not reset
it to NULL, which means that the suspend/resume/fini function will act
as if everything went well in init() and will likely crash the kernel.
This patch adds the missing drm->led = NULL.
Reported-by: Emmanuel Pescosta <emmanuelpescosta099 at gmail.com>
Signed-off-by: Martin Peres <martin.peres at free.fr>
---
Ben, I do not have a 4.10 kernel available to at least test-compile the
patch. Could you make sure it works before applying it? After all the
trouble we got from the LED before, I don't wan...