From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3676D2563 for ; Wed, 8 May 2024 01:41:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715132493; cv=none; b=e6ybIlWSpZt0tjSqmuIT+LVhiIMSIE42ON8dluQum0KOvCl7q66kk0heFDG++v1u1j1keg7+kPTHV/Qo68MnNPBMxkLrMRy70telcaOCGcsev6H1GBaqJaVH+AJrZzYYB+QMPeRe7AC7B2yAoOg89XEqVyFoHkJu7O9yxg3qDbI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715132493; c=relaxed/simple; bh=U++Wt1vJMVU24lMaRM/asFxVOCqBflE/pPriRsK4LOE=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=oDItViIA0XuGEv088e2VnD7YWClcXd1t/Oq2EegZIPZokKk8rdaAbuM0XOOIiroyUZJjLRp9GWjB2IXLXsi7fxRH3Ih+DegDCsDBnC06ffLum3T8RV8ABMUt5tyM5pEuy3OeekKhsrO3gkDPlWgBpE/9ysZ8+VdQop/2ybnLof0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f198.google.com with SMTP id e9e14a558f8ab-36c4184ee5dso38476735ab.1 for ; Tue, 07 May 2024 18:41:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715132491; x=1715737291; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FiedDuSC7553Sx1Ao9avbkr7uy7OLcZ+DBs6tFTz7e0=; b=CKJBkWOGUHGaLe+vrSt0/cQi83098Jcw8tERZB0Nbz1RkWQAPbqnmZLkZ9uk8Zj2C3 Y49k7I/U+TYrNk6xNceHhByVwa/liIxV1TOLFTlKS/GylwyLEgSGZ8Ubj4Dqw6mX3nfA zDkXTDmhCxayrmUj4livYESzoEVmV2thxFVCvX8JCapVLOZtNeCMGLfx/m7kWRImz5QE tJlHTLlk8ozCRNsSkpQXWT883xKUAqW/RXozDMJlHeMSxOwDVAWjGY4eib2eSoV+yIMe /SA0/Ka8TztX5wScmThamBvdMTeZkPMpIPo35D1IYoYde07XDF51AQcv86XD7FeRiiP7 gmdQ== X-Forwarded-Encrypted: i=1; AJvYcCUx/V8169mFcAn2lQkwf+5Ka2PXBB/J9jRO92zoeT0MzS/wchm58ItsNYd0HFRbWsVRWDlbazFD2trZ+0TOKXaYUvWaT2J1Moc2dEag X-Gm-Message-State: AOJu0YzrAK3lAMQAbx+J4NbeX0plzLeAaZPnIUpx27KBSj57ruZE6z9D K4er6pHLoCp3yYaCjR0aUJbprbdOMcYujFgwBNFvjoc3JJHvGQm26/Y9xl+oSuK0iPnoPuKNAlE ilB02GbzEnAWcED3EGp65LpwZmDnMXLtO5sWYgKwM+71Yb8DHXx47S+Q= X-Google-Smtp-Source: AGHT+IGNEia7F/Es2blJowud1vQuzy7L7xI3FVzaB2IIGaPWCswb8lmUg0ktjC8lKytL8TvA6rLQfnhFfhtXbyYNmQ3pmbTkjitz Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:219d:b0:36c:4e54:aedc with SMTP id e9e14a558f8ab-36caed5342cmr506445ab.3.1715132491424; Tue, 07 May 2024 18:41:31 -0700 (PDT) Date: Tue, 07 May 2024 18:41:31 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000e4fa7f0617e76674@google.com> Subject: [syzbot] [serial?] KMSAN: kernel-infoleak in con_font_op From: syzbot To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 3d25a941ea50 Merge tag 'block-6.9-20240503' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1503a62f180000 kernel config: https://syzkaller.appspot.com/x/.config?x=bbf567496022057b dashboard link: https://syzkaller.appspot.com/bug?extid=8d57540d08e2510c9741 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/31394def760d/disk-3d25a941.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/b07167755ad1/vmlinux-3d25a941.xz kernel image: https://storage.googleapis.com/syzbot-assets/7cb810157366/bzImage-3d25a941.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+8d57540d08e2510c9741@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: kernel-infoleak in instrument_copy_to_user include/linux/instrumented.h:114 [inline] BUG: KMSAN: kernel-infoleak in _copy_to_user+0xbc/0x110 lib/usercopy.c:40 instrument_copy_to_user include/linux/instrumented.h:114 [inline] _copy_to_user+0xbc/0x110 lib/usercopy.c:40 copy_to_user include/linux/uaccess.h:191 [inline] con_font_get drivers/tty/vt/vt.c:4750 [inline] con_font_op+0x14a2/0x1710 drivers/tty/vt/vt.c:4844 vt_k_ioctl drivers/tty/vt/vt_ioctl.c:474 [inline] vt_ioctl+0x2b6e/0x2fe0 drivers/tty/vt/vt_ioctl.c:751 tty_ioctl+0xd18/0x1990 drivers/tty/tty_io.c:2803 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0x261/0x450 fs/ioctl.c:890 __x64_sys_ioctl+0x96/0xe0 fs/ioctl.c:890 x64_sys_call+0x1883/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __kmalloc_large_node+0x231/0x370 mm/slub.c:3921 __do_kmalloc_node mm/slub.c:3954 [inline] __kmalloc_node+0xb07/0x1060 mm/slub.c:3973 kmalloc_node include/linux/slab.h:648 [inline] kvmalloc_node+0xc0/0x2d0 mm/util.c:634 kvmalloc include/linux/slab.h:766 [inline] con_font_get drivers/tty/vt/vt.c:4719 [inline] con_font_op+0x659/0x1710 drivers/tty/vt/vt.c:4844 vt_k_ioctl drivers/tty/vt/vt_ioctl.c:474 [inline] vt_ioctl+0x2b6e/0x2fe0 drivers/tty/vt/vt_ioctl.c:751 tty_ioctl+0xd18/0x1990 drivers/tty/tty_io.c:2803 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0x261/0x450 fs/ioctl.c:890 __x64_sys_ioctl+0x96/0xe0 fs/ioctl.c:890 x64_sys_call+0x1883/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Bytes 65536-81919 of 81920 are uninitialized Memory access of size 81920 starts at ffff888073400000 Data copied to user address 00000000200001c0 CPU: 0 PID: 32400 Comm: syz-executor.1 Not tainted 6.9.0-rc6-syzkaller-00227-g3d25a941ea50 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 ===================================================== --- 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. If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title If you want to overwrite report's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the report is a duplicate of another one, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup