bisecting fixing commit since 6b7b0056defc6eb5c87bbe4690ccda547b2891aa building syzkaller on 858ea628800647d5e5b68b11441e42b8ef5652c1 testing commit 6b7b0056defc6eb5c87bbe4690ccda547b2891aa compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 728cf78263ce4e129cb9c32a0238df62d67049b6b5e6f446efb8ad3f74fddd37 run #0: crashed: kernel BUG in inline_xattr_iter_begin run #1: crashed: kernel BUG in inline_xattr_iter_begin run #2: crashed: kernel BUG in inline_xattr_iter_begin run #3: crashed: kernel BUG in inline_xattr_iter_begin run #4: crashed: kernel BUG in inline_xattr_iter_begin run #5: crashed: kernel BUG in inline_xattr_iter_begin run #6: crashed: kernel BUG in inline_xattr_iter_begin run #7: crashed: kernel BUG in inline_xattr_iter_begin run #8: crashed: kernel BUG in inline_xattr_iter_begin run #9: crashed: kernel BUG in inline_xattr_iter_begin run #10: crashed: kernel BUG in inline_xattr_iter_begin run #11: crashed: kernel BUG in inline_xattr_iter_begin run #12: crashed: kernel BUG in inline_xattr_iter_begin run #13: crashed: kernel BUG in inline_xattr_iter_begin run #14: crashed: kernel BUG in inline_xattr_iter_begin run #15: crashed: kernel BUG in corrupted run #16: crashed: kernel BUG in inline_xattr_iter_begin run #17: crashed: kernel BUG in inline_xattr_iter_begin run #18: crashed: kernel BUG in inline_xattr_iter_begin run #19: crashed: kernel BUG in inline_xattr_iter_begin testing current HEAD 4938296e03bd227e5020d63d418956fe52baf97c testing commit 4938296e03bd227e5020d63d418956fe52baf97c compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 73345a9c44f51380f44179e2bfc44971342a336e167de5c2cc2294d4df7373de run #0: crashed: kernel BUG in corrupted run #1: crashed: kernel BUG in inline_xattr_iter_begin run #2: crashed: kernel BUG in inline_xattr_iter_begin run #3: crashed: kernel BUG in inline_xattr_iter_begin run #4: crashed: kernel BUG in inline_xattr_iter_begin run #5: crashed: kernel BUG in inline_xattr_iter_begin run #6: crashed: kernel BUG in inline_xattr_iter_begin run #7: crashed: kernel BUG in inline_xattr_iter_begin run #8: crashed: kernel BUG in corrupted run #9: crashed: kernel BUG in inline_xattr_iter_begin revisions tested: 2, total time: 30m46.853616269s (build: 21m25.143052454s, test: 8m46.627785109s) the crash still happens on HEAD commit msg: Linux 4.19.198 crash: kernel BUG in inline_xattr_iter_begin erofs: options -> erofs: root inode @ nid 36 erofs: mounted on /dev/loop3 with opts: . wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 ------------[ cut here ]------------ kernel BUG at drivers/staging/erofs/xattr.c:186! wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9876 Comm: syz-executor.3 Not tainted 4.19.198-syzkaller #0 IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:inline_xattr_iter_begin+0x37a/0x4a0 drivers/staging/erofs/xattr.c:186 Code: 08 84 d2 0f 85 30 01 00 00 0f b7 43 ea 48 83 c4 18 5b 41 5c 44 29 e8 41 5d 41 5e 41 5f 5d c3 b8 c3 ff ff ff 0f 83 1e ff ff ff <0f> 0b 48 89 45 d0 e8 1b 51 aa fb 48 8b 45 d0 e9 0a fd ff ff 4c 89 RSP: 0018:ffff88808df27c40 EFLAGS: 00010283 RAX: 00000000ffffffc3 RBX: ffff8880812444c0 RCX: 0000000000000000 RDX: 0000000000000048 RSI: ffff8880812444c0 RDI: ffff8880812444ac RBP: ffff88808df27c80 R08: fffff9400040a38f R09: fffff9400040a38e R10: fffff9400040a38e R11: ffffea0002051c77 R12: ffff888081244498 R13: 0000000000000280 R14: ffff88808df27d40 R15: ffff8880812444aa FS: 00007f932caec700(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d8a66d27d0 CR3: 00000000992c1000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inline_listxattr drivers/staging/erofs/xattr.c:584 [inline] erofs_listxattr+0x125/0xd30 drivers/staging/erofs/xattr.c:653 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready vfs_listxattr+0xd4/0x140 fs/xattr.c:392 listxattr+0xcb/0xe0 fs/xattr.c:687 path_listxattr+0xba/0x120 fs/xattr.c:711 __do_sys_listxattr fs/xattr.c:723 [inline] __se_sys_listxattr fs/xattr.c:720 [inline] __x64_sys_listxattr+0x73/0xb0 fs/xattr.c:720 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe ieee80211 phy11: Selected rate control algorithm 'minstrel_ht' RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f932caec188 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fffb26672ff R14: 00007f932caec300 R15: 0000000000022000 Modules linked in: wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready erofs: read_super, device -> /dev/loop2 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 erofs: options -> wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 erofs: root inode @ nid 36 ---[ end trace 37fc00aa0c5d3358 ]--- erofs: mounted on /dev/loop2 with opts: . RIP: 0010:inline_xattr_iter_begin+0x37a/0x4a0 drivers/staging/erofs/xattr.c:186 ------------[ cut here ]------------ IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready kernel BUG at drivers/staging/erofs/xattr.c:186! invalid opcode: 0000 [#2] PREEMPT SMP KASAN Code: 08 84 d2 0f 85 30 01 00 00 0f b7 43 ea 48 83 c4 18 5b 41 5c 44 29 e8 41 5d 41 5e 41 5f 5d c3 b8 c3 ff ff ff 0f 83 1e ff ff ff <0f> 0b 48 89 45 d0 e8 1b 51 aa fb 48 8b 45 d0 e9 0a fd ff ff 4c 89 CPU: 0 PID: 9914 Comm: syz-executor.2 Tainted: G D 4.19.198-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:inline_xattr_iter_begin+0x37a/0x4a0 drivers/staging/erofs/xattr.c:186 Code: 08 84 d2 0f 85 30 01 00 00 0f b7 43 ea 48 83 c4 18 5b 41 5c 44 29 e8 41 5d 41 5e 41 5f 5d c3 b8 c3 ff ff ff 0f 83 1e ff ff ff <0f> 0b 48 89 45 d0 e8 1b 51 aa fb 48 8b 45 d0 e9 0a fd ff ff 4c 89 RSP: 0018:ffff88809f0ffc40 EFLAGS: 00010283 RAX: 00000000ffffffc3 RBX: ffff88808124d958 RCX: 0000000000000000 RDX: 0000000000000048 RSI: ffff88808124d958 RDI: ffff88808124d944 RBP: ffff88809f0ffc80 R08: fffff94000555f3f R09: fffff94000555f3e R10: fffff94000555f3e R11: ffffea0002aaf9f7 R12: ffff88808124d930 R13: 0000000000000280 R14: ffff88809f0ffd40 R15: ffff88808124d942 FS: 00007efc6ff27700(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd7dd8bff8 CR3: 000000009dba6000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inline_listxattr drivers/staging/erofs/xattr.c:584 [inline] erofs_listxattr+0x125/0xd30 drivers/staging/erofs/xattr.c:653 vfs_listxattr+0xd4/0x140 fs/xattr.c:392 listxattr+0xcb/0xe0 fs/xattr.c:687 path_listxattr+0xba/0x120 fs/xattr.c:711 __do_sys_listxattr fs/xattr.c:723 [inline] __se_sys_listxattr fs/xattr.c:720 [inline] __x64_sys_listxattr+0x73/0xb0 fs/xattr.c:720 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efc6ff27188 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffdce0b023f R14: 00007efc6ff27300 R15: 0000000000022000 Modules linked in: ---[ end trace 37fc00aa0c5d3359 ]--- IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready RIP: 0010:inline_xattr_iter_begin+0x37a/0x4a0 drivers/staging/erofs/xattr.c:186 RSP: 0018:ffff88808df27c40 EFLAGS: 00010283 Code: 08 84 d2 0f 85 30 01 00 00 0f b7 43 ea 48 83 c4 18 5b 41 5c 44 29 e8 41 5d 41 5e 41 5f 5d c3 b8 c3 ff ff ff 0f 83 1e ff ff ff <0f> 0b 48 89 45 d0 e8 1b 51 aa fb 48 8b 45 d0 e9 0a fd ff ff 4c 89 Bluetooth: hci3: command 0x0419 tx timeout RSP: 0018:ffff88808df27c40 EFLAGS: 00010283 RAX: 00000000ffffffc3 RBX: ffff8880812444c0 RCX: 0000000000000000 RAX: 00000000ffffffc3 RBX: ffff8880812444c0 RCX: 0000000000000000 Bluetooth: hci2: command 0x0419 tx timeout erofs: read_super, device -> /dev/loop1 erofs: read_super, device -> /dev/loop5 RDX: 0000000000000048 RSI: ffff8880812444c0 RDI: ffff8880812444ac Bluetooth: hci1: command 0x0419 tx timeout ieee80211 phy12: Selected rate control algorithm 'minstrel_ht' erofs: options -> ieee80211 phy13: Selected rate control algorithm 'minstrel_ht' Bluetooth: hci0: command 0x0419 tx timeout RDX: 0000000000000048 RSI: ffff8880812444c0 RDI: ffff8880812444ac Bluetooth: hci5: command 0x0419 tx timeout RBP: ffff88808df27c80 R08: fffff9400040a38f R09: fffff9400040a38e erofs: root inode @ nid 36 IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Bluetooth: hci4: command 0x0419 tx timeout erofs: options -> erofs: mounted on /dev/loop5 with opts: . ieee80211 phy14: Selected rate control algorithm 'minstrel_ht' wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 R10: fffff9400040a38e R11: ffffea0002051c77 R12: ffff888081244498 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 RBP: ffff88808df27c80 R08: fffff9400040a38f R09: fffff9400040a38e IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready R10: fffff9400040a38e R11: ffffea0002051c77 R12: ffff888081244498 erofs: root inode @ nid 36 R13: 0000000000000280 R14: ffff88808df27d40 R15: ffff8880812444aa erofs: unmounted for /dev/loop5 FS: 00007f932caec700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 erofs: mounted on /dev/loop1 with opts: . R13: 0000000000000280 R14: ffff88808df27d40 R15: ffff8880812444aa erofs: unmounted for /dev/loop1 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 00007efc6ff27700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dc81254a38 CR3: 00000000992c1000 CR4: 00000000001406e0 ieee80211 phy15: Selected rate control algorithm 'minstrel_ht' DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50