Re: [PATCH] fbcon: Properly revert changes when vc_resize() failed

2022-08-25 Thread Helge Deller
Hi Shigeru, On 8/18/22 20:13, Shigeru Yoshida wrote: > fbcon_do_set_font() calls vc_resize() when font size is changed. > However, if if vc_resize() failed, current implementation doesn't > revert changes for font size, and this causes inconsistent state. > > syzbot reported unable to handle page

[PATCH] fbcon: Properly revert changes when vc_resize() failed

2022-08-18 Thread Shigeru Yoshida
fbcon_do_set_font() calls vc_resize() when font size is changed. However, if if vc_resize() failed, current implementation doesn't revert changes for font size, and this causes inconsistent state. syzbot reported unable to handle page fault due to this issue [1]. syzbot's repro uses fault injectio