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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 533E1C7EE24 for ; Fri, 2 Jun 2023 03:38:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233595AbjFBDiy convert rfc822-to-8bit (ORCPT ); Thu, 1 Jun 2023 23:38:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233016AbjFBDiw (ORCPT ); Thu, 1 Jun 2023 23:38:52 -0400 Received: from mail-il1-f206.google.com (mail-il1-f206.google.com [209.85.166.206]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 336F113E for ; Thu, 1 Jun 2023 20:38:49 -0700 (PDT) Received: by mail-il1-f206.google.com with SMTP id e9e14a558f8ab-33cb3f8ba8eso12672635ab.1 for ; Thu, 01 Jun 2023 20:38:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685677128; x=1688269128; h=content-transfer-encoding:to:from:subject:message-id:date :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=npKlXBUECB6tHlzVMPCKFkNyoTojj33sXOKw6OCzR0c=; b=DjS1lFXXmMHIQUM3xB5cARcqS827MYkVi2xF3rx9rEWcboaSRj5pMyXGfaErzsKYzd THsscROzIMuQQAYqFfuUAI+UJ3tNRr96acVBu682LqjCrWrZ2w3hWlGtMl8cxKMIzzaO KabZyR/We+AK64SoMIWAQuorKIJF6vltLdIP2c3SYz27Mx2m6Ni2N+TM1JDjzT+gKwN5 lj+JSeQtfhuNpw7jGU9SgFXIJzfTIkvH/BK3Zn4LU+D9f8llx4Z8vjR27Bm3QqknxVtJ TpLCfV8xke6y4qnzZBHRC3HBdd9sFfoNwINmCXeqIUyFFJHeE07c5IrypHAB2qGa8FYe e2WA== X-Gm-Message-State: AC+VfDwS0DKgn8K+lvCEAfITXB9xuzUsKi7eLgpEDk4GURR7wkiXmuVo G1JkLv9j0nVLlWDJE2UG3hPLpdY7+4rZMAJC4fYN0WA+UDLl X-Google-Smtp-Source: ACHHUZ4dm2WIPXh9DeJ2wH4xjdBN79QBGO96FM4c/+Sl5flDXZ8F6fXGjelq2tU6Rb5EXUYmjCzFywXxlXh8C+OImAkCZKAM329n MIME-Version: 1.0 X-Received: by 2002:a92:cc42:0:b0:335:fef6:6b84 with SMTP id t2-20020a92cc42000000b00335fef66b84mr3727931ilq.1.1685677128534; Thu, 01 Jun 2023 20:38:48 -0700 (PDT) Date: Thu, 01 Jun 2023 20:38:48 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000073d32c05fd1d4a6b@google.com> Subject: [syzbot] [reiserfs?] general protection fault in account_system_index_time (3) From: syzbot To: frederic@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, mingo@kernel.org, reiserfs-devel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tglx@linutronix.de Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 715abedee4cd Add linux-next specific files for 20230515 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=12ec7b85280000 kernel config: https://syzkaller.appspot.com/x/.config?x=6a2745d066dda0ec dashboard link: https://syzkaller.appspot.com/bug?extid=5444b0cc48f4e1939d72 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17956736280000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=175da599280000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/d4d1d06b34b8/disk-715abede.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/3ef33a86fdc8/vmlinux-715abede.xz kernel image: https://storage.googleapis.com/syzbot-assets/e0006b413ed1/bzImage-715abede.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/525b69f4318a/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+5444b0cc48f4e1939d72@syzkaller.appspotmail.com general protection fault, probably for non-canonical address 0xdffffc0040000033: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000200000198-0x000000020000019f] CPU: 1 PID: 262216 Comm:  Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:get_running_cputimer include/linux/sched/cputime.h:79 [inline] RIP: 0010:account_group_system_time include/linux/sched/cputime.h:143 [inline] RIP: 0010:account_system_index_time+0x86/0x2f0 kernel/sched/cputime.c:173 Code: 63 02 00 00 48 8b 9d f8 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 98 01 00 00 4c 8d b3 38 01 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e e7 01 00 00 8b 83 98 01 00 00 RSP: 0018:ffffc900001e0da0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000200000001 RCX: 1ffffffff1827d41 RDX: 0000000040000033 RSI: 000000000097fff6 RDI: 0000000200000199 RBP: ffff88807638bb80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffffffffffff R12: 000000000097fff6 R13: 0000000000000002 R14: 0000000200000139 R15: ffffffff817770e0 FS: 00005555556c1300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffca0efd000 CR3: 0000000019395000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_process_times+0x26/0x1a0 kernel/time/timer.c:2069 tick_sched_handle+0x8e/0x170 kernel/time/tick-sched.c:243 tick_sched_timer+0xee/0x110 kernel/time/tick-sched.c:1481 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x1c0/0xa30 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1106 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:get_running_cputimer include/linux/sched/cputime.h:79 [inline] RIP: 0010:account_group_system_time include/linux/sched/cputime.h:143 [inline] RIP: 0010:account_system_index_time+0x86/0x2f0 kernel/sched/cputime.c:173 Code: 63 02 00 00 48 8b 9d f8 08 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 98 01 00 00 4c 8d b3 38 01 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e e7 01 00 00 8b 83 98 01 00 00 RSP: 0018:ffffc900001e0da0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000200000001 RCX: 1ffffffff1827d41 RDX: 0000000040000033 RSI: 000000000097fff6 RDI: 0000000200000199 RBP: ffff88807638bb80 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffffffffffff R12: 000000000097fff6 R13: 0000000000000002 R14: 0000000200000139 R15: ffffffff817770e0 FS: 00005555556c1300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffca0efd000 CR3: 0000000019395000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 63 02 movsxd (%rdx),%eax 2: 00 00 add %al,(%rax) 4: 48 8b 9d f8 08 00 00 mov 0x8f8(%rbp),%rbx b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 12: fc ff df 15: 48 8d bb 98 01 00 00 lea 0x198(%rbx),%rdi 1c: 4c 8d b3 38 01 00 00 lea 0x138(%rbx),%r14 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e e7 01 00 00 jle 0x221 3a: 8b 83 98 01 00 00 mov 0x198(%rbx),%eax --- 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 bug is already fixed, let syzbot know by replying with: #syz fix: exact-commit-title If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing. If you want to change bug's subsystems, reply with: #syz set subsystems: new-subsystem (See the list of subsystem names on the web dashboard) If the bug is a duplicate of another bug, reply with: #syz dup: exact-subject-of-another-report If you want to undo deduplication, reply with: #syz undup