bisecting fixing commit since 6b7b0056defc6eb5c87bbe4690ccda547b2891aa building syzkaller on 858ea628800647d5e5b68b11441e42b8ef5652c1 testing commit 6b7b0056defc6eb5c87bbe4690ccda547b2891aa compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: a49990e97a593b1c0d16cda6b2eb3f8f321e5505a9bc2c1f706e74330c2625fa 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 corrupted run #15: crashed: kernel BUG in inline_xattr_iter_begin 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 2950c9c5e0df6bd34af45a5168bbee345e95eae2 testing commit 2950c9c5e0df6bd34af45a5168bbee345e95eae2 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 92629da104fe86f9720ff2266d1bb56bacd5da91c7cdf50d6469752c485866b8 all runs: crashed: kernel BUG in inline_xattr_iter_begin revisions tested: 2, total time: 24m22.613676286s (build: 17m0.01511207s, test: 6m51.865163579s) the crash still happens on HEAD commit msg: Linux 4.19.207 crash: kernel BUG in inline_xattr_iter_begin IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready erofs: root inode @ nid 36 erofs: mounted on /dev/loop1 with opts: . wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 ------------[ cut here ]------------ kernel BUG at drivers/staging/erofs/xattr.c:186! IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready invalid opcode: 0000 [#1] PREEMPT SMP KASAN IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready CPU: 0 PID: 9903 Comm: syz-executor.1 Not tainted 4.19.207-syzkaller #0 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes 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 5b 36 aa fb 48 8b 45 d0 e9 0a fd ff ff 4c 89 RSP: 0018:ffff8880980ffc40 EFLAGS: 00010283 RAX: 00000000ffffffc3 RBX: ffff888080d8f4c0 RCX: 0000000000000000 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 RDX: 0000000000000048 RSI: ffff888080d8f4c0 RDI: ffff888080d8f4ac RBP: ffff8880980ffc80 R08: fffff940004099a7 R09: fffff940004099a6 R10: fffff940004099a6 R11: ffffea000204cd37 R12: ffff888080d8f498 R13: 0000000000000280 R14: ffff8880980ffd40 R15: ffff888080d8f4aa FS: 00007f60c3ed2700(0000) GS:ffff8880ba200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564b8c043160 CR3: 000000009781a000 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 ieee80211 phy14: Selected rate control algorithm 'minstrel_ht' vfs_listxattr+0xd4/0x140 fs/xattr.c:392 listxattr+0xcb/0xe0 fs/xattr.c:687 path_listxattr+0xba/0x120 fs/xattr.c:711 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 __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:00007f60c3ed2188 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: 00007ffddc534c9f R14: 00007f60c3ed2300 R15: 0000000000022000 Modules linked in: Bluetooth: hci0: command 0x0419 tx timeout Bluetooth: hci3: command 0x0419 tx timeout wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Bluetooth: hci1: command 0x0419 tx timeout ---[ end trace 086056cf1dea63f8 ]--- wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 Bluetooth: hci2: command 0x0419 tx timeout erofs: read_super, device -> /dev/loop3 Bluetooth: hci4: command 0x0419 tx timeout RIP: 0010:inline_xattr_iter_begin+0x37a/0x4a0 drivers/staging/erofs/xattr.c:186 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready 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 5b 36 aa fb 48 8b 45 d0 e9 0a fd ff ff 4c 89 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 RSP: 0018:ffff8880980ffc40 EFLAGS: 00010283 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready erofs: options -> Bluetooth: hci5: command 0x0419 tx timeout RAX: 00000000ffffffc3 RBX: ffff888080d8f4c0 RCX: 0000000000000000 ieee80211 phy15: Selected rate control algorithm 'minstrel_ht' wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 erofs: root inode @ nid 36 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 erofs: read_super, device -> /dev/loop0 RDX: 0000000000000048 RSI: ffff888080d8f4c0 RDI: ffff888080d8f4ac IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready erofs: mounted on /dev/loop3 with opts: . erofs: options -> RBP: ffff8880980ffc80 R08: fffff940004099a7 R09: fffff940004099a6 erofs: root inode @ nid 36 R10: fffff940004099a6 R11: ffffea000204cd37 R12: ffff888080d8f498 erofs: mounted on /dev/loop0 with opts: . IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready erofs: unmounted for /dev/loop3 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 erofs: unmounted for /dev/loop0 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 R13: 0000000000000280 R14: ffff8880980ffd40 R15: ffff888080d8f4aa wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 FS: 00007f60c3ed2700(0000) GS:ffff8880ba300000(0000) knlGS:0000000000000000 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready CR2: 00007ffdfc6c1ff8 CR3: 000000009781a000 CR4: 00000000001406e0 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 erofs: read_super, device -> /dev/loop3 erofs: read_super, device -> /dev/loop0 erofs: read_super, device -> /dev/loop2 erofs: read_super, device -> /dev/loop5 erofs: options -> erofs: options -> erofs: read_super, device -> /dev/loop4 erofs: options -> erofs: options ->