bisecting fixing commit since 31acccdc877486a649a86d37725a15175fcd5ed6 building syzkaller on cca8798699baeeccbf80af23d234ac19a5d667aa testing commit 31acccdc877486a649a86d37725a15175fcd5ed6 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 3f3a27951b544a40d6511304c7ce75c032b29417473b50ae9a6d5c0884c48d13 all runs: crashed: kernel BUG in dnotify_free_mark testing current HEAD 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 testing commit 59456c9cc40c8f75b5a7efa0fe1f211d9c6fcaf1 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 1fb3aae2e03a7fdc574c8ac302d7e23dd5fa108657d11dd9decbb80760377a33 all runs: crashed: kernel BUG in dnotify_free_mark revisions tested: 2, total time: 29m21.607288229s (build: 22m17.65118593s, test: 6m22.991033677s) the crash still happens on HEAD commit msg: Linux 4.19.204 crash: kernel BUG in dnotify_free_mark wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 ------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:132! wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready invalid opcode: 0000 [#1] PREEMPT SMP KASAN IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 4.19.204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound fsnotify_mark_destroy_workfn RIP: 0010:dnotify_free_mark fs/notify/dnotify/dnotify.c:132 [inline] RIP: 0010:dnotify_free_mark+0x3b/0x50 fs/notify/dnotify/dnotify.c:126 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready Code: 78 48 89 fa 48 89 e5 48 83 ec 08 48 c1 ea 03 80 3c 02 00 75 17 48 83 7e 78 00 75 0e 48 8b 3d b4 68 15 09 e8 57 3b e7 ff c9 c3 <0f> 0b 48 89 75 f8 e8 8a 74 e7 ff 48 8b 75 f8 eb da 0f 1f 40 00 55 RSP: 0018:ffff8881f527fc68 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: ffff8881eeccea00 RCX: 1ffff1103b73936b RDX: 1ffff1103b739377 RSI: ffff8881db9c9b40 RDI: ffff8881db9c9bb8 RBP: ffff8881f527fc70 R08: ffff8881f527fcf0 R09: 1ffff1103ea4ff9f R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881db9c9b40 R13: ffffffff88142e80 R14: dffffc0000000000 R15: ffff8881db9c9b40 FS: 0000000000000000(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004b8223 CR3: 000000000986d004 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fsnotify_final_mark_destroy+0x6d/0xa0 fs/notify/mark.c:213 fsnotify_mark_destroy_workfn+0x1d7/0x390 fs/notify/mark.c:799 process_one_work+0x7b9/0x15a0 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: ---[ end trace 991009b2597ee261 ]--- ieee80211 phy15: Selected rate control algorithm 'minstrel_ht' RIP: 0010:dnotify_free_mark fs/notify/dnotify/dnotify.c:132 [inline] RIP: 0010:dnotify_free_mark+0x3b/0x50 fs/notify/dnotify/dnotify.c:126 Code: 78 48 89 fa 48 89 e5 48 83 ec 08 48 c1 ea 03 80 3c 02 00 75 17 48 83 7e 78 00 75 0e 48 8b 3d b4 68 15 09 e8 57 3b e7 ff c9 c3 <0f> 0b 48 89 75 f8 e8 8a 74 e7 ff 48 8b 75 f8 eb da 0f 1f 40 00 55 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready RSP: 0018:ffff8881f527fc68 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: ffff8881eeccea00 RCX: 1ffff1103b73936b IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready RDX: 1ffff1103b739377 RSI: ffff8881db9c9b40 RDI: ffff8881db9c9bb8 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready RBP: ffff8881f527fc70 R08: ffff8881f527fcf0 R09: 1ffff1103ea4ff9f IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881db9c9b40 R13: ffffffff88142e80 R14: dffffc0000000000 R15: ffff8881db9c9b40 FS: 0000000000000000(0000) GS:ffff8881f6400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000055c071 CR3: 000000000986d002 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400