mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
syzbot is reporting memory leak at fbcon_do_set_font() [1], for commita5a923038d("fbdev: fbcon: Properly revert changes when vc_resize() failed") missed that the buffer might be newly allocated by fbcon_set_font(). Link: https://syzkaller.appspot.com/bug?extid=25bdb7b1703639abd498 [1] Reported-by: syzbot <[email protected]> Signed-off-by: Tetsuo Handa <[email protected]> Tested-by: syzbot <[email protected]> Fixes:a5a923038d("fbdev: fbcon: Properly revert changes when vc_resize() failed") CC: [email protected] # 5.15+ Signed-off-by: Helge Deller <[email protected]>