Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26951614rwd; Mon, 3 Jul 2023 18:10:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlEZt03HT4HsUieQPeJd0T3EylYLtZL7ru5vi2WhozmWOBj+spG8ey29wGBOBO/J1CDB2NmZ X-Received: by 2002:a05:6a00:2d06:b0:672:264c:e8cf with SMTP id fa6-20020a056a002d0600b00672264ce8cfmr13003438pfb.7.1688433022825; Mon, 03 Jul 2023 18:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688433022; cv=none; d=google.com; s=arc-20160816; b=vyJZiTJoM5BO3EQB30cnL/IbOKeke1oXaihqe9PKHa9bZzdXSTV/SrRpQQbMnjRdIM AX+DBCE4aHy3BtNwQTIUhVMjPIpUBQFT9VJ0nw58jMTTsxT/P2Kr2DEGgS011w/9YumG UsYPWJWYfvgAop4E6ccSNCt7wtHiOErl/n7tuUfb04yskGoVk9R8c/ru/cylM+c/az6Z wWNEOHfASUQgsxnVNLsef9Cq+x2+fPxsfCAeFSWuiituELIapau0aRs4ax9CcvS6cV7j z/HbCVq6GPLRWV1dW+1u1pp075o7ckdOoagjtX2Ou+//jq1DAIYX81KJ1DEzLKDXmpZR GNeQ== 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=e4dIGmrJnerN2APUK9vIkWuNtSLXO20WTEc2d/iDcUI=; fh=XGqIchOIJg1N0J5z378ftLwtd4H9f8GrjR9hU4WLe+0=; b=KaxFg9OVbVQ+3SJRYE/fycmEfNQopW2LgDC+CJcGAGp7Cb3w12KrlcYihsT9oqZGuN O7UhdAyDPH7Gn6m+VOhYJh4Co0p/X0u/pwE6G8+LeV4J721f4s5pdc4S+9HJ6ecIXB7z FUmXQtrPJn/QfUGYX93Nz1JRGpYWLXroT1qb5tbAQt/VWes5pYWIFlRm5//faCFFtK0v HGfd/gyLNgo55uRbnlT8KOVWl7oxB86E6VdTkew48xmX+YjdfRGlXNHm7jaFpA40ZiQU 4MKIKoxN4FY+q+2r9Me2OvZHMsyvb9vg89P0M+dzPzZ38gNLzSg26yjZFUdDBekhWf2H at8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 m9-20020a654389000000b00543d2b94731si19316548pgp.479.2023.07.03.18.10.07; Mon, 03 Jul 2023 18:10:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S230482AbjGDBA5 (ORCPT + 99 others); Mon, 3 Jul 2023 21:00:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230458AbjGDBAz (ORCPT ); Mon, 3 Jul 2023 21:00:55 -0400 Received: from mail-pg1-f207.google.com (mail-pg1-f207.google.com [209.85.215.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64D96E54 for ; Mon, 3 Jul 2023 18:00:54 -0700 (PDT) Received: by mail-pg1-f207.google.com with SMTP id 41be03b00d2f7-55b0e37e4deso4941230a12.3 for ; Mon, 03 Jul 2023 18:00:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688432454; x=1691024454; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=e4dIGmrJnerN2APUK9vIkWuNtSLXO20WTEc2d/iDcUI=; b=X58b7Dt31SpTCbLNITI2E5A/CMBvJjPRRARn2cc3OQ67eCfwI1ZqGXSBEK9VsHFTLG 8gXHMhNz3UzSoAFTgeekmTr/4777YOMw8JRus7FLxB2LVoiki05ylX2YXbG/QKViASz7 BvZXvFL1XBXNwCjeGsz9Z9P/D6NuLfwph4qKoFMNOO5mUiOTXKYmM0bGjsgoSjblR86Q rZsVbhWILpqID86GjlXpUvsWBSHjw8K+VJhOomx3t0xFGNnzVdxZlhlR3oHj6jr/bE/t Tiy/+Lz71phaDph8+z2Xlecz/5YnoJEaa+f+Xu6eJ745QT0SSIOQliy2bDkERiHB3Y4p cvbg== X-Gm-Message-State: ABy/qLajlzzJK54sVO8jOJ3eShB4e2W3uBPKSOtouqueeMt178xjKIE4 d+mIc/k5gogCc0vDC+e3asgOCgtsCYna14ryAxTZ7aDaLTne MIME-Version: 1.0 X-Received: by 2002:a63:561b:0:b0:54f:d553:fbe6 with SMTP id k27-20020a63561b000000b0054fd553fbe6mr6790216pgb.2.1688432453963; Mon, 03 Jul 2023 18:00:53 -0700 (PDT) Date: Mon, 03 Jul 2023 18:00:53 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000a557cb05ff9ed03b@google.com> Subject: [syzbot] [ext4?] general protection fault in ext4_finish_bio From: syzbot To: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu 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_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: ae230642190a Merge branch 'af_unix-followup-fixes-for-so_p.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=11fe4cb8a80000 kernel config: https://syzkaller.appspot.com/x/.config?x=c9bf1936936ca698 dashboard link: https://syzkaller.appspot.com/bug?extid=689ec3afb1ef07b766b2 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=136b9d48a80000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10223cb8a80000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/8c060db03f09/disk-ae230642.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/1b9b937ece91/vmlinux-ae230642.xz kernel image: https://storage.googleapis.com/syzbot-assets/0c7eb1c82bf0/bzImage-ae230642.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+689ec3afb1ef07b766b2@syzkaller.appspotmail.com general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 2858 Comm: kworker/u4:5 Not tainted 6.4.0-rc7-syzkaller-01948-gae230642190a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work RIP: 0010:_compound_head include/linux/page-flags.h:245 [inline] RIP: 0010:bio_first_folio include/linux/bio.h:284 [inline] RIP: 0010:ext4_finish_bio+0xdc/0x1090 fs/ext4/page-io.c:104 Code: c1 ea 03 80 3c 02 00 0f 85 43 0f 00 00 48 8b 45 00 48 8d 78 08 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4c 0f 00 00 48 8b 04 24 31 ff 4c 8b 60 08 4c 89 RSP: 0018:ffffc9000d047b60 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8234c972 RDI: 0000000000000008 RBP: ffff88807d609100 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000094001 R12: ffff888074f111e0 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff888074c416b0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020241040 CR3: 0000000024e17000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ext4_release_io_end+0x118/0x3b0 fs/ext4/page-io.c:160 ext4_end_io_end fs/ext4/page-io.c:194 [inline] ext4_do_flush_completed_IO fs/ext4/page-io.c:259 [inline] ext4_end_io_rsv_work+0x156/0x670 fs/ext4/page-io.c:273 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:245 [inline] RIP: 0010:bio_first_folio include/linux/bio.h:284 [inline] RIP: 0010:ext4_finish_bio+0xdc/0x1090 fs/ext4/page-io.c:104 Code: c1 ea 03 80 3c 02 00 0f 85 43 0f 00 00 48 8b 45 00 48 8d 78 08 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4c 0f 00 00 48 8b 04 24 31 ff 4c 8b 60 08 4c 89 RSP: 0018:ffffc9000d047b60 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8234c972 RDI: 0000000000000008 RBP: ffff88807d609100 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000094001 R12: ffff888074f111e0 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff888074c416b0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020241040 CR3: 000000007a4d9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 ea 03 shr $0x3,%edx 3: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 7: 0f 85 43 0f 00 00 jne 0xf50 d: 48 8b 45 00 mov 0x0(%rbp),%rax 11: 48 8d 78 08 lea 0x8(%rax),%rdi 15: 48 89 04 24 mov %rax,(%rsp) 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 4c 0f 00 00 jne 0xf80 34: 48 8b 04 24 mov (%rsp),%rax 38: 31 ff xor %edi,%edi 3a: 4c 8b 60 08 mov 0x8(%rax),%r12 3e: 4c rex.WR 3f: 89 .byte 0x89 --- 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