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 CD416C4321E for ; Wed, 30 Nov 2022 09:17:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232066AbiK3JRl (ORCPT ); Wed, 30 Nov 2022 04:17:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230400AbiK3JRj (ORCPT ); Wed, 30 Nov 2022 04:17:39 -0500 Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3AFA26C6 for ; Wed, 30 Nov 2022 01:17:35 -0800 (PST) Received: by mail-io1-f71.google.com with SMTP id x5-20020a6bda05000000b006db3112c1deso10644742iob.0 for ; Wed, 30 Nov 2022 01:17:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+zphegq90GW1x9G8vrnMaANEk0Gmkp3erLONgtZDYO0=; b=kWa9IStK1W7wnp/2QVCGjO7Ij68OxSG+OeVKd/KPD7TqsBjKvhzu4ypUW6ZS3pfovA zRbXXh/uUp36leoQZgR+GZZTreEhShtG4RcljPr3ue23ACXBal+DRC2bAVmxivhj/Qhm iyC3wQxfthr8oNWW8Qqfl/SMHNYCFOoq2vRQkzaUZoKroe2Fkuwt/g3D86nAG38DxcYA qOOxPVSefIPpW/eKQUTqQTDFVQhZHUgJ35m5GUGO3x8RWFN/JvNqpOoel7aC3z3uA6CY QHk/5j5NOJvf3C5POESmDkawTHfjmmHU49BI0MhNIUdDKDmcSofJYo8WGJTWEQdVCDhL ElrQ== X-Gm-Message-State: ANoB5pkM6tEvyw1JM29cddKjdrlD8u79c1+d/cJaff6iAKqUKola6IK/ 1IT4Vx98SxVDyMXZUsqNTooAC5PbMOq9uhSrovA1pX29LbGK X-Google-Smtp-Source: AA0mqf7tfi02Qx8uj7wciiDDsiTC1DMXgJn9QUXyX1nR2F0HHMXoiZAgRlcowV4pwedZ4qg9inLJ/HiiLatuC+3veGO00AMd5x9m MIME-Version: 1.0 X-Received: by 2002:a92:ad0c:0:b0:302:e073:6149 with SMTP id w12-20020a92ad0c000000b00302e0736149mr16194154ilh.241.1669799855116; Wed, 30 Nov 2022 01:17:35 -0800 (PST) Date: Wed, 30 Nov 2022 01:17:35 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000035d6f905eeac935e@google.com> Subject: [syzbot] kernel BUG in hfs_bnode_unhash From: syzbot To: akpm@linux-foundation.org, fmdefrancesco@gmail.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, slava@dubeyko.com, syzkaller-bugs@googlegroups.com, willy@infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 01f856ae6d0c Merge tag 'net-6.1-rc8-2' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1136a06b880000 kernel config: https://syzkaller.appspot.com/x/.config?x=2325e409a9a893e1 dashboard link: https://syzkaller.appspot.com/bug?extid=b7ceb040f7552ed64dc9 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/5428d604f56a/disk-01f856ae.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/e953d290d254/vmlinux-01f856ae.xz kernel image: https://storage.googleapis.com/syzbot-assets/3f71610a4904/bzImage-01f856ae.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+b7ceb040f7552ed64dc9@syzkaller.appspotmail.com ------------[ cut here ]------------ kernel BUG at fs/hfs/bnode.c:310! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 27750 Comm: syz-executor.3 Not tainted 6.1.0-rc7-syzkaller-00101-g01f856ae6d0c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:hfs_bnode_unhash+0x155/0x160 fs/hfs/bnode.c:310 Code: ff ff 48 89 df e8 4b 8e 80 ff e9 17 ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 7c c6 48 89 df e8 32 8e 80 ff eb bc e8 3b 72 2c ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 53 48 89 fb e8 27 72 2c ff 48 85 RSP: 0018:ffffc900033cf2a8 EFLAGS: 00010246 RAX: ffffffff825e25b5 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000d24b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 1ffff1100e8b5428 R08: ffffffff825f3bb7 R09: ffffed1028a44c51 R10: ffffed1028a44c51 R11: 1ffff11028a44c50 R12: dffffc0000000000 R13: ffff8880745aa140 R14: ffff888145226200 R15: 0000000000000004 FS: 00007f33db891700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556f50848 CR3: 0000000027323000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfs_release_folio+0x34c/0x530 fs/hfs/inode.c:122 fallback_migrate_folio+0x196/0x3e0 mm/migrate.c:909 move_to_new_folio+0x259/0xd80 mm/migrate.c:951 __unmap_and_move+0x6b6/0xeb0 mm/migrate.c:1112 unmap_and_move+0x39a/0x1090 mm/migrate.c:1184 migrate_pages+0x572/0x1450 mm/migrate.c:1461 compact_zone+0x282e/0x3770 mm/compaction.c:2421 compact_node+0x279/0x610 mm/compaction.c:2703 compact_nodes mm/compaction.c:2719 [inline] sysctl_compaction_handler+0xa8/0x140 mm/compaction.c:2761 proc_sys_call_handler+0x576/0x890 fs/proc/proc_sysctl.c:604 call_write_iter include/linux/fs.h:2199 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x7dc/0xc50 fs/read_write.c:584 ksys_write+0x177/0x2a0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f33daa8c0d9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f33db891168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f33dababf80 RCX: 00007f33daa8c0d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f33daae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe0f1fd16f R14: 00007f33db891300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:hfs_bnode_unhash+0x155/0x160 fs/hfs/bnode.c:310 Code: ff ff 48 89 df e8 4b 8e 80 ff e9 17 ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 7c c6 48 89 df e8 32 8e 80 ff eb bc e8 3b 72 2c ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 53 48 89 fb e8 27 72 2c ff 48 85 RSP: 0018:ffffc900033cf2a8 EFLAGS: 00010246 RAX: ffffffff825e25b5 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc9000d24b000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 1ffff1100e8b5428 R08: ffffffff825f3bb7 R09: ffffed1028a44c51 R10: ffffed1028a44c51 R11: 1ffff11028a44c50 R12: dffffc0000000000 R13: ffff8880745aa140 R14: ffff888145226200 R15: 0000000000000004 FS: 00007f33db891700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556f50848 CR3: 0000000027323000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 --- 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.