[PATCH v2] drm/atomic-helpers: fix uaf in drm_atomic_helper_wait_for_vblanks

2024-02-15 Thread Edward Adam Davis
rference when accessing the instance state. Reported-and-tested-by: syzbot+0f999d26a4fd79c3a...@syzkaller.appspotmail.com Signed-off-by: Edward Adam Davis --- drivers/gpu/drm/drm_atomic_helper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/dr

[PATCH] drm/atomic-helpers: fix uaf in drm_atomic_helper_wait_for_vblanks

2024-02-15 Thread Edward Adam Davis
rference when accessing the instance state. Reported-and-tested-by: syzbot+0f999d26a4fd79c3a...@syzkaller.appspotmail.com Signed-off-by: Edward Adam Davis --- drivers/gpu/drm/drm_atomic_helper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/dr

[PATCH V2] drm/modes: Fix divide error in drm_mode_debug_printmodeline

2023-11-20 Thread Edward Adam Davis
6fdc56...@syzkaller.appspotmail.com Fixes: ea40d7857d52 ("drm/vkms: fbdev emulation support") Signed-off-by: Edward Adam Davis --- drivers/gpu/drm/drm_modes.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletion(-) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c in

[PATCH] drm/modes: Fix divide error in drm_mode_debug_printmodeline

2023-11-18 Thread Edward Adam Davis
6fdc56...@syzkaller.appspotmail.com Fixes: ea40d7857d52 ("drm/vkms: fbdev emulation support") Signed-off-by: Edward Adam Davis --- drivers/gpu/drm/drm_modes.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c in