syzbot


memory leak in fbcon_set_font (3)

Status: upstream: reported C repro on 2023/05/25 11:17
Subsystems: fbdev
[Documentation on labels]
Reported-by: syzbot+6fda7f092994bd03fad1@syzkaller.appspotmail.com
First crash: 549d, last: 339d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [fbdev?] memory leak in fbcon_set_font (3) 0 (1) 2023/05/25 11:17
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in fbcon_set_font fbdev C 1 1407d 1407d 0/28 auto-obsoleted due to no activity on 2022/10/03 19:40
upstream memory leak in fbcon_set_font (2) fbdev C 1 717d 717d 22/28 fixed on 2023/02/24 13:50
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/09/23 00:14 11m retest repro upstream report log
2024/07/14 18:24 12m retest repro upstream report log
2024/05/05 15:56 14m retest repro upstream report log
2024/02/25 15:43 10m retest repro upstream report log
2023/12/17 15:05 26m retest repro upstream report log
2023/10/08 14:52 10m retest repro upstream report log
2023/07/30 11:33 38m retest repro upstream report log

Sample crash report:
BUG: memory leak
unreferenced object 0xffff88810eb60000 (size 26640):
  comm "syz-executor100", pid 4988, jiffies 4294944215 (age 14.910s)
  hex dump (first 32 bytes):
    03 cc 4b ef 00 00 00 00 00 68 00 00 01 00 00 00  ..K......h......
    0d e4 73 70 56 3e d4 50 e7 4f ba 9e e1 5c c0 c3  ..spV>.P.O...\..
  backtrace:
    [<ffffffff815460d7>] __do_kmalloc_node mm/slab_common.c:954 [inline]
    [<ffffffff815460d7>] __kmalloc+0xb7/0x120 mm/slab_common.c:979
    [<ffffffff826405bd>] kmalloc include/linux/slab.h:563 [inline]
    [<ffffffff826405bd>] fbcon_set_font+0x1ed/0x4a0 drivers/video/fbdev/core/fbcon.c:2502
    [<ffffffff8278ad5e>] con_font_set drivers/tty/vt/vt.c:4626 [inline]
    [<ffffffff8278ad5e>] con_font_op+0x5ae/0x730 drivers/tty/vt/vt.c:4673
    [<ffffffff82774b78>] vt_k_ioctl drivers/tty/vt/vt_ioctl.c:474 [inline]
    [<ffffffff82774b78>] vt_ioctl+0x468/0x1d90 drivers/tty/vt/vt_ioctl.c:752
    [<ffffffff82757161>] tty_ioctl+0x4c1/0xd00 drivers/tty/tty_io.c:2777
    [<ffffffff8167fa80>] vfs_ioctl fs/ioctl.c:51 [inline]
    [<ffffffff8167fa80>] __do_sys_ioctl fs/ioctl.c:870 [inline]
    [<ffffffff8167fa80>] __se_sys_ioctl fs/ioctl.c:856 [inline]
    [<ffffffff8167fa80>] __x64_sys_ioctl+0x100/0x140 fs/ioctl.c:856
    [<ffffffff84a14749>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84a14749>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/21 11:12 upstream 0dd2a6fb1e34 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in fbcon_set_font
* Struck through repros no longer work on HEAD.