From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 027E1C433DB for ; Wed, 13 Jan 2021 10:38:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A455A233A2 for ; Wed, 13 Jan 2021 10:38:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbhAMKi5 (ORCPT ); Wed, 13 Jan 2021 05:38:57 -0500 Received: from mail-io1-f69.google.com ([209.85.166.69]:40906 "EHLO mail-io1-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726995AbhAMKi4 (ORCPT ); Wed, 13 Jan 2021 05:38:56 -0500 Received: by mail-io1-f69.google.com with SMTP id l18so2140949iok.7 for ; Wed, 13 Jan 2021 02:38:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=Rf0qkGcLKZcXOCwuSoJ3U1uuRWEpE0nNPdXTF3l2hL4=; b=aXmWEUzhLOkV3xRz2y2C7xs2h3JXOH7vUJNDL542WenAsOAACSVZcMli77IoHr95js X3H9j8siXSz28STjMk4x1ic2L4hZPyB0ZbDuyZM0R5vgsq5SFOfrGvzoWk3jZTZbDXEx MwJPWuTGpHGK5P7vbQb1i/j39vac3eIQRJ6iT0iD4ymyuxjt6MvAwo38D1wBpllDMyob ghYl5KBXEtGZF4xzlbXoMDr3LOiW7M5ON3KbVR12PEp9M0tkCRIXiSnG6+R6EbnVwEMK fvjNe7+vSsnibPAmOBURSJreKsdEHdw+DekNXf7wUIq04KI+LcVz+vNs0Ec3JDNaC2Il V91w== X-Gm-Message-State: AOAM530QNyl3lsF3eUAzCX9fMEd9NGKDmOX7DjMputO/bjTOx5uF8gFT U3dwkgD91HHpg3vDzDG6EqsROGFfaFvdo4rrpHJOXVMzSi8r X-Google-Smtp-Source: ABdhPJxIhbMxWbqH09VI31IeFE5tniINNYJsm+xRvLC1RO/aVt96bC7M+rTNvvoBEMKrvWy0erLgmcwV3LR6kmS2XHxJrP6DxWSC MIME-Version: 1.0 X-Received: by 2002:a92:b008:: with SMTP id x8mr1773225ilh.297.1610534295232; Wed, 13 Jan 2021 02:38:15 -0800 (PST) Date: Wed, 13 Jan 2021 02:38:15 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000090e80805b8c5bc59@google.com> Subject: memory leak in fbcon_set_font From: syzbot To: b.zolnierkie@samsung.com, daniel.vetter@ffwll.ch, dri-devel@lists.freedesktop.org, george.kennedy@oracle.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, yepeilin.cs@gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: e609571b Merge tag 'nfs-for-5.11-2' of git://git.linux-nfs.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=165261e0d00000 kernel config: https://syzkaller.appspot.com/x/.config?x=850b6de5f8959443 dashboard link: https://syzkaller.appspot.com/bug?extid=2f2c18881a450f22d1bf compiler: gcc (GCC) 10.1.0-syz 20200507 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16ab20c7500000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1008b770d00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+2f2c18881a450f22d1bf@syzkaller.appspotmail.com BUG: memory leak unreferenced object 0xffff88811813ea00 (size 512): comm "syz-executor939", pid 10246, jiffies 4294971847 (age 34.510s) hex dump (first 32 bytes): b0 55 1f 9b 00 00 00 00 00 01 00 00 06 00 00 00 .U.............. 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000062fad90>] kmalloc include/linux/slab.h:557 [inline] [<00000000062fad90>] fbcon_set_font+0x128/0x370 drivers/video/fbdev/core/fbcon.c:2454 [<00000000ed2d1b1e>] con_font_set drivers/tty/vt/vt.c:4667 [inline] [<00000000ed2d1b1e>] con_font_op+0x497/0x740 drivers/tty/vt/vt.c:4711 [<00000000fd6b18ad>] vt_io_ioctl drivers/tty/vt/vt_ioctl.c:596 [inline] [<00000000fd6b18ad>] vt_ioctl+0xeab/0x19d0 drivers/tty/vt/vt_ioctl.c:817 [<00000000369331c6>] tty_ioctl+0x6c3/0xc40 drivers/tty/tty_io.c:2658 [<00000000a092c047>] vfs_ioctl fs/ioctl.c:48 [inline] [<00000000a092c047>] __do_sys_ioctl fs/ioctl.c:753 [inline] [<00000000a092c047>] __se_sys_ioctl fs/ioctl.c:739 [inline] [<00000000a092c047>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:739 [<00000000705a3959>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<00000000f35163f9>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: memory leak unreferenced object 0xffff88811813ea00 (size 512): comm "syz-executor939", pid 10246, jiffies 4294971847 (age 36.030s) hex dump (first 32 bytes): b0 55 1f 9b 00 00 00 00 00 01 00 00 06 00 00 00 .U.............. 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000062fad90>] kmalloc include/linux/slab.h:557 [inline] [<00000000062fad90>] fbcon_set_font+0x128/0x370 drivers/video/fbdev/core/fbcon.c:2454 [<00000000ed2d1b1e>] con_font_set drivers/tty/vt/vt.c:4667 [inline] [<00000000ed2d1b1e>] con_font_op+0x497/0x740 drivers/tty/vt/vt.c:4711 [<00000000fd6b18ad>] vt_io_ioctl drivers/tty/vt/vt_ioctl.c:596 [inline] [<00000000fd6b18ad>] vt_ioctl+0xeab/0x19d0 drivers/tty/vt/vt_ioctl.c:817 [<00000000369331c6>] tty_ioctl+0x6c3/0xc40 drivers/tty/tty_io.c:2658 [<00000000a092c047>] vfs_ioctl fs/ioctl.c:48 [inline] [<00000000a092c047>] __do_sys_ioctl fs/ioctl.c:753 [inline] [<00000000a092c047>] __se_sys_ioctl fs/ioctl.c:739 [inline] [<00000000a092c047>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:739 [<00000000705a3959>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<00000000f35163f9>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: memory leak unreferenced object 0xffff88811813ea00 (size 512): comm "syz-executor939", pid 10246, jiffies 4294971847 (age 37.550s) hex dump (first 32 bytes): b0 55 1f 9b 00 00 00 00 00 01 00 00 06 00 00 00 .U.............. 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000062fad90>] kmalloc include/linux/slab.h:557 [inline] [<00000000062fad90>] fbcon_set_font+0x128/0x370 drivers/video/fbdev/core/fbcon.c:2454 [<00000000ed2d1b1e>] con_font_set drivers/tty/vt/vt.c:4667 [inline] [<00000000ed2d1b1e>] con_font_op+0x497/0x740 drivers/tty/vt/vt.c:4711 [<00000000fd6b18ad>] vt_io_ioctl drivers/tty/vt/vt_ioctl.c:596 [inline] [<00000000fd6b18ad>] vt_ioctl+0xeab/0x19d0 drivers/tty/vt/vt_ioctl.c:817 [<00000000369331c6>] tty_ioctl+0x6c3/0xc40 drivers/tty/tty_io.c:2658 [<00000000a092c047>] vfs_ioctl fs/ioctl.c:48 [inline] [<00000000a092c047>] __do_sys_ioctl fs/ioctl.c:753 [inline] [<00000000a092c047>] __se_sys_ioctl fs/ioctl.c:739 [inline] [<00000000a092c047>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:739 [<00000000705a3959>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<00000000f35163f9>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: memory leak unreferenced object 0xffff88811813ea00 (size 512): comm "syz-executor939", pid 10246, jiffies 4294971847 (age 37.630s) hex dump (first 32 bytes): b0 55 1f 9b 00 00 00 00 00 01 00 00 06 00 00 00 .U.............. 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000062fad90>] kmalloc include/linux/slab.h:557 [inline] [<00000000062fad90>] fbcon_set_font+0x128/0x370 drivers/video/fbdev/core/fbcon.c:2454 [<00000000ed2d1b1e>] con_font_set drivers/tty/vt/vt.c:4667 [inline] [<00000000ed2d1b1e>] con_font_op+0x497/0x740 drivers/tty/vt/vt.c:4711 [<00000000fd6b18ad>] vt_io_ioctl drivers/tty/vt/vt_ioctl.c:596 [inline] [<00000000fd6b18ad>] vt_ioctl+0xeab/0x19d0 drivers/tty/vt/vt_ioctl.c:817 [<00000000369331c6>] tty_ioctl+0x6c3/0xc40 drivers/tty/tty_io.c:2658 [<00000000a092c047>] vfs_ioctl fs/ioctl.c:48 [inline] [<00000000a092c047>] __do_sys_ioctl fs/ioctl.c:753 [inline] [<00000000a092c047>] __se_sys_ioctl fs/ioctl.c:739 [inline] [<00000000a092c047>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:739 [<00000000705a3959>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<00000000f35163f9>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: memory leak unreferenced object 0xffff88811813ea00 (size 512): comm "syz-executor939", pid 10246, jiffies 4294971847 (age 37.720s) hex dump (first 32 bytes): b0 55 1f 9b 00 00 00 00 00 01 00 00 06 00 00 00 .U.............. 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000062fad90>] kmalloc include/linux/slab.h:557 [inline] [<00000000062fad90>] fbcon_set_font+0x128/0x370 drivers/video/fbdev/core/fbcon.c:2454 [<00000000ed2d1b1e>] con_font_set drivers/tty/vt/vt.c:4667 [inline] [<00000000ed2d1b1e>] con_font_op+0x497/0x740 drivers/tty/vt/vt.c:4711 [<00000000fd6b18ad>] vt_io_ioctl drivers/tty/vt/vt_ioctl.c:596 [inline] [<00000000fd6b18ad>] vt_ioctl+0xeab/0x19d0 drivers/tty/vt/vt_ioctl.c:817 [<00000000369331c6>] tty_ioctl+0x6c3/0xc40 drivers/tty/tty_io.c:2658 [<00000000a092c047>] vfs_ioctl fs/ioctl.c:48 [inline] [<00000000a092c047>] __do_sys_ioctl fs/ioctl.c:753 [inline] [<00000000a092c047>] __se_sys_ioctl fs/ioctl.c:739 [inline] [<00000000a092c047>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:739 [<00000000705a3959>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<00000000f35163f9>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: memory leak unreferenced object 0xffff88811813ea00 (size 512): comm "syz-executor939", pid 10246, jiffies 4294971847 (age 37.810s) hex dump (first 32 bytes): b0 55 1f 9b 00 00 00 00 00 01 00 00 06 00 00 00 .U.............. 11 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000062fad90>] kmalloc include/linux/slab.h:557 [inline] [<00000000062fad90>] fbcon_set_font+0x128/0x370 drivers/video/fbdev/core/fbcon.c:2454 [<00000000ed2d1b1e>] con_font_set drivers/tty/vt/vt.c:4667 [inline] [<00000000ed2d1b1e>] con_font_op+0x497/0x740 drivers/tty/vt/vt.c:4711 [<00000000fd6b18ad>] vt_io_ioctl drivers/tty/vt/vt_ioctl.c:596 [inline] [<00000000fd6b18ad>] vt_ioctl+0xeab/0x19d0 drivers/tty/vt/vt_ioctl.c:817 [<00000000369331c6>] tty_ioctl+0x6c3/0xc40 drivers/tty/tty_io.c:2658 [<00000000a092c047>] vfs_ioctl fs/ioctl.c:48 [inline] [<00000000a092c047>] __do_sys_ioctl fs/ioctl.c:753 [inline] [<00000000a092c047>] __se_sys_ioctl fs/ioctl.c:739 [inline] [<00000000a092c047>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:739 [<00000000705a3959>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<00000000f35163f9>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory executing program write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory executing program write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory write to /proc/sys/kernel/hung_task_check_interval_secs failed: No such file or directory write to /proc/sys/kernel/softlockup_all_cpu_backtrace failed: No such file or directory --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches