bisecting fixing commit since 31acccdc877486a649a86d37725a15175fcd5ed6 building syzkaller on cca8798699baeeccbf80af23d234ac19a5d667aa testing commit 31acccdc877486a649a86d37725a15175fcd5ed6 with gcc (GCC) 8.4.1 20210217 kernel signature: 81a2213371e6615b9ed5b98216b21375d4aaeadff75b3a8fc1ff0f6e60d98c8c all runs: crashed: kernel BUG in dnotify_free_mark testing current HEAD 2965db2e004cf9c92b87c1f559e9812c0ae878c1 testing commit 2965db2e004cf9c92b87c1f559e9812c0ae878c1 with gcc (GCC) 8.4.1 20210217 kernel signature: f26fd15c5304010e9b5092041c685833ca2c14c6d5ea179f47416ce97b1b238b all runs: crashed: kernel BUG in dnotify_free_mark revisions tested: 2, total time: 21m58.756307353s (build: 15m5.533939514s, test: 6m31.27595326s) the crash still happens on HEAD commit msg: Linux 4.19.188 crash: kernel BUG in dnotify_free_mark IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready wlan0: 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_CHANGE): wlan0: link becomes ready ------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:132! IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.188-syzkaller #0 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 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 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 e4 bc 15 09 e8 47 22 e7 ff c9 c3 <0f> 0b 48 89 75 f8 e8 7a 5b e7 ff 48 8b 75 f8 eb da 0f 1f 40 00 55 RSP: 0018:ffff8881f4d5fc68 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: ffff8881ef323080 RCX: 1ffff1103d71a16b RDX: 1ffff1103d71a177 RSI: ffff8881eb8d0b40 RDI: ffff8881eb8d0bb8 RBP: ffff8881f4d5fc70 R08: ffff8881f4d5fcf0 R09: 1ffff1103e9abf9f R10: ffffed103eca4552 R11: ffff8881f6522a93 R12: ffff8881eb8d0b40 R13: ffffffff88142b40 R14: dffffc0000000000 R15: ffff8881eb8d0b40 FS: 0000000000000000(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001ba1848 CR3: 000000000986d005 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 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 process_one_work+0x7b9/0x15a0 kernel/workqueue.c:2152 worker_thread+0x85/0xb60 kernel/workqueue.c:2295 kthread+0x347/0x410 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready ---[ end trace c1c7957f3a6bac4e ]--- IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready 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 e4 bc 15 09 e8 47 22 e7 ff c9 c3 <0f> 0b 48 89 75 f8 e8 7a 5b e7 ff 48 8b 75 f8 eb da 0f 1f 40 00 55 RSP: 0018:ffff8881f4d5fc68 EFLAGS: 00010282 RAX: dffffc0000000000 RBX: ffff8881ef323080 RCX: 1ffff1103d71a16b RDX: 1ffff1103d71a177 RSI: ffff8881eb8d0b40 RDI: ffff8881eb8d0bb8 ieee80211 phy14: Selected rate control algorithm 'minstrel_ht' RBP: ffff8881f4d5fc70 R08: ffff8881f4d5fcf0 R09: 1ffff1103e9abf9f IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready R10: ffffed103eca4552 R11: ffff8881f6522a93 R12: ffff8881eb8d0b40 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 ieee80211 phy15: Selected rate control algorithm 'minstrel_ht' wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready R13: ffffffff88142b40 R14: dffffc0000000000 R15: ffff8881eb8d0b40 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 FS: 0000000000000000(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready CR2: 00007fd7b07ee740 CR3: 000000000986d005 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400