Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9415787rwp; Thu, 20 Jul 2023 04:48:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlEvx6/FSOPmmP67tyv6la8nDVITlDh3w7pSAWPaKCsoVsmgjugt+GJCIor5XsvSWmWwoN4c X-Received: by 2002:a05:6402:12c3:b0:51d:9dd1:29d0 with SMTP id k3-20020a05640212c300b0051d9dd129d0mr4831850edx.23.1689853718432; Thu, 20 Jul 2023 04:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689853718; cv=none; d=google.com; s=arc-20160816; b=rt/ZfV4iu/P5DQtxcUnBS8Zia9xnYqn1X3zEGLf/MKSSS3sCRY8BXwjLE6ebQmJJ/4 CltD1bC+qYtUkH5ziBDxSNF3ANeoQlE+xAGCPq7I9Um03mNAHmOVnVID6PnJ2V4GGh1I Knq0/rs3PHnnZjs2Fu7/43oOU+nTf+8KbeuQ9jYEZIloFDQXOeZr8cy4TCTzWTGavTL7 KeKcq4M0abqu2ky+nmK41TWzgCItSeMLLabPeNdyWQJ/BsGY22JT5TFqKAPk7a/5u7RN OAqpLtv5QUXNCKzksXi3DMnhBq0oyHnPkdb59bCLRTl+Nwl2NDMRC6abky3G1eYMhSO3 IOOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=CMsgEtuq6MCNWyvdDRbB5vs/kN/fpsQH8wUhu5hIBQM=; fh=/7qIJsGPszIxGrPa2XrDVkAkvuhFFTKaG6kH2fbivQg=; b=0uGbRZZ0l2G1iiDSb+ChUsJTm9+2Um71ijhJf4A7Vojah+sI146a/wQ8lmJ3uu0Rf9 ApmEGYOdS+dO8YsRSCM5tDxd3QZ9Fs8vjxyTbFmpXEfkTihWmYgZF8Nz2TpdG22iZGgB zZIvRdl7jGbCmhOgEg12tnNI5xEoHsAuVXauCqItX63ThDw5cw1a0bogVtHrLGl2BtaI bEAajCiBvAT7IRLYpTBoOoSNUd7Rf1wZCYHmrFSUxX5T4toKAaMrnU36Mmu3h6V5EfZT VMV2OMqqOqg6oHvC5asXJl1RWOF0G03WPKxay3eL/uTfnemFV83OkjOHyFL7tMVfxO5I MWeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r20-20020a056402035400b0051de30fcc2csi707103edw.212.2023.07.20.04.48.08; Thu, 20 Jul 2023 04:48:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231462AbjGTLiI (ORCPT + 99 others); Thu, 20 Jul 2023 07:38:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231415AbjGTLiF (ORCPT ); Thu, 20 Jul 2023 07:38:05 -0400 Received: from mail-oi1-f207.google.com (mail-oi1-f207.google.com [209.85.167.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B147113 for ; Thu, 20 Jul 2023 04:38:04 -0700 (PDT) Received: by mail-oi1-f207.google.com with SMTP id 5614622812f47-3a337ddff03so1315985b6e.0 for ; Thu, 20 Jul 2023 04:38:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689853083; x=1690457883; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=CMsgEtuq6MCNWyvdDRbB5vs/kN/fpsQH8wUhu5hIBQM=; b=DK/3M4zVbG5HlP3jXIvdSTbl0Mk3V1vmph8JYquGd70kWs/an9Eg8ndP/IyRW1j4Zz 9cTbkiRBo3HGURK97OC874FT5icqYnInxW542ILztUViPobEoSVCbTDST/Gia0beiI01 OBuaX/ViOMErPOp07DLwIqBnBe4P4BNVRp65ArOys7MFQK2BxusG7cHZDHsF4QnyvMon Dpp/lYrGdGR2D4BheXxDdG/trVsg+NzW9H5YFJWV7Zkl5GtKMDZuph1hK94Q+r2qEVE2 Gy3yeDcWBW1jDFGp7UiGWuvuu5nHAHgGDz8Fi+ozMWn8tIOjZ7ymcXin1mH4IgBaTZEw Ka7Q== X-Gm-Message-State: ABy/qLbyMuk433B+qOEkCAs9lNphzfYazzHFBEMQC9V2FoA79NHIhEFN FPuts4kmjuZKKMDqci7nXwuQA6Ukn9uw/I/gxwssUeHrypZT MIME-Version: 1.0 X-Received: by 2002:a05:6808:1919:b0:3a4:14c1:20f5 with SMTP id bf25-20020a056808191900b003a414c120f5mr2613001oib.6.1689853083326; Thu, 20 Jul 2023 04:38:03 -0700 (PDT) Date: Thu, 20 Jul 2023 04:38:03 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000c11ed40600e994b1@google.com> Subject: [syzbot] [ext4?] general protection fault in ep_poll_callback From: syzbot To: adilger.kernel@dilger.ca, brauner@kernel.org, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu, viro@zeniv.linux.org.uk Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: bfa3037d8280 Merge tag 'fuse-update-6.5' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1533fa14a80000 kernel config: https://syzkaller.appspot.com/x/.config?x=27e33fd2346a54b dashboard link: https://syzkaller.appspot.com/bug?extid=c2b68bdf76e442836443 compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=111c904ea80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=116b0faaa80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/2869ea56e997/disk-bfa3037d.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/06fd8fb45baf/vmlinux-bfa3037d.xz kernel image: https://storage.googleapis.com/syzbot-assets/1c5715f42344/bzImage-bfa3037d.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/96d1ec5db296/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+c2b68bdf76e442836443@syzkaller.appspotmail.com general protection fault, maybe for address 0xffffc90003e0fdc8: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4473 Comm: udevd Not tainted 6.5.0-rc2-syzkaller-00052-gbfa3037d8280 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:__wake_up_common+0x13c/0x5a0 kernel/sched/wait.c:107 Code: c6 04 75 6e 49 8d 78 10 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 1c 03 00 00 48 8b 4c 24 08 4c 89 c7 8b 54 24 10 8b 74 24 04 <41> ff 50 10 85 c0 78 2d 74 11 41 83 e6 01 74 0b 83 6c 24 14 01 0f RSP: 0018:ffffc900031cf790 EFLAGS: 00010046 RAX: 1ffff920007c1fb9 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffffc90003e0fdb8 RBP: ffff8880273470d0 R08: ffffc90003e0fdb8 R09: ffffc900031cf830 R10: 0000000000000003 R11: 0000000000094000 R12: ffffc900031cf830 R13: dffffc0000000000 R14: 00000000ffff8880 R15: 816f3352ffff8868 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000fffffffe CR3: 000000000c776000 CR4: 0000000000350ef0 Call Trace: __wake_up_common_lock+0xd6/0x140 kernel/sched/wait.c:138 ep_poll_callback+0x316/0xc10 fs/eventpoll.c:1242 __wake_up_common+0x140/0x5a0 kernel/sched/wait.c:107 __wake_up_common_lock+0xd6/0x140 kernel/sched/wait.c:138 signalfd_notify include/linux/signalfd.h:22 [inline] __send_signal_locked+0x94b/0x11d0 kernel/signal.c:1173 do_send_sig_info kernel/signal.c:1296 [inline] group_send_sig_info+0x2ad/0x310 kernel/signal.c:1446 forget_original_parent kernel/exit.c:709 [inline] exit_notify kernel/exit.c:734 [inline] do_exit+0xd9d/0x2a20 kernel/exit.c:894 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23ea/0x2770 kernel/signal.c:2877 arch_do_signal_or_restart+0x89/0x5f0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8fae30e3cd Code: Unable to access opcode bytes at 0x7f8fae30e3a3. RSP: 002b:00007ffea9c17ff0 EFLAGS: 00000246 ORIG_RAX: 00000000000000ea RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f8fae30e3cd RDX: 0000000000000006 RSI: 0000000000001179 RDI: 0000000000001179 RBP: 0000000000001179 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000006 R13: 00007ffea9c18200 R14: 0000000000001000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__wake_up_common+0x13c/0x5a0 kernel/sched/wait.c:107 Code: c6 04 75 6e 49 8d 78 10 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 1c 03 00 00 48 8b 4c 24 08 4c 89 c7 8b 54 24 10 8b 74 24 04 <41> ff 50 10 85 c0 78 2d 74 11 41 83 e6 01 74 0b 83 6c 24 14 01 0f RSP: 0018:ffffc900031cf790 EFLAGS: 00010046 RAX: 1ffff920007c1fb9 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffffc90003e0fdb8 RBP: ffff8880273470d0 R08: ffffc90003e0fdb8 R09: ffffc900031cf830 R10: 0000000000000003 R11: 0000000000094000 R12: ffffc900031cf830 R13: dffffc0000000000 R14: 00000000ffff8880 R15: 816f3352ffff8868 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000fffffffe CR3: 000000000c776000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: c6 04 75 6e 49 8d 78 movb $0x10,0x788d496e(,%rsi,2) 7: 10 8: 48 89 f8 mov %rdi,%rax b: 48 c1 e8 03 shr $0x3,%rax f: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 14: 0f 85 1c 03 00 00 jne 0x336 1a: 48 8b 4c 24 08 mov 0x8(%rsp),%rcx 1f: 4c 89 c7 mov %r8,%rdi 22: 8b 54 24 10 mov 0x10(%rsp),%edx 26: 8b 74 24 04 mov 0x4(%rsp),%esi * 2a: 41 ff 50 10 call *0x10(%r8) <-- trapping instruction 2e: 85 c0 test %eax,%eax 30: 78 2d js 0x5f 32: 74 11 je 0x45 34: 41 83 e6 01 and $0x1,%r14d 38: 74 0b je 0x45 3a: 83 6c 24 14 01 subl $0x1,0x14(%rsp) 3f: 0f .byte 0xf --- 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