bisecting fixing commit since 9b15f7fae677336e04b9e026ff91854e43165455 building syzkaller on 5d7b90f1af2e3bf33992b75e7fcf0bab6bf49bd6 testing commit 9b15f7fae677336e04b9e026ff91854e43165455 with gcc (GCC) 8.1.0 kernel signature: 150d1c8f4d775c3532a5b59f2c4aee53dbd2ef1e96588a6869422d43048e3fd1 run #0: crashed: WARNING in corrupted run #1: crashed: WARNING in corrupted run #2: crashed: WARNING in corrupted run #3: crashed: WARNING in corrupted run #4: crashed: WARNING in corrupted run #5: crashed: WARNING in batadv_iv_send_outstanding_bat_ogm_packet run #6: crashed: WARNING in corrupted run #7: crashed: WARNING in process_one_work run #8: crashed: WARNING in corrupted run #9: crashed: WARNING in process_one_work testing current HEAD 7edd66cf61670d2d0c31f89cb3a247016e489a8a testing commit 7edd66cf61670d2d0c31f89cb3a247016e489a8a with gcc (GCC) 8.1.0 kernel signature: 8d1094abcbec50f48e16be9b8d4d13ac8da8ca12c9ddc1b724a9e83f452eecfb run #0: crashed: WARNING in process_one_work run #1: crashed: WARNING in process_one_work run #2: crashed: WARNING in batadv_iv_send_outstanding_bat_ogm_packet run #3: crashed: WARNING in corrupted run #4: crashed: WARNING in corrupted run #5: crashed: WARNING in corrupted run #6: crashed: WARNING in process_one_work run #7: crashed: WARNING in batadv_iv_send_outstanding_bat_ogm_packet run #8: crashed: WARNING in process_one_work run #9: crashed: WARNING in corrupted revisions tested: 2, total time: 26m2.011588876s (build: 18m2.735772101s, test: 6m37.12971141s) the crash still happens on HEAD commit msg: Linux 4.19.118 crash: WARNING in corrupted RBP: 000000000076c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00000000000009cb R14: 00000000004cc6fd R15: 0000000000000004 CPU: 1 PID: 7972 Comm: syz-executor.3 Not tainted 4.19.118-syzkaller #0 WARNING: CPU: 0 PID: 2345 at net/batman-adv/bat_iv_ogm.c:597 batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:597 [inline] WARNING: CPU: 0 PID: 2345 at net/batman-adv/bat_iv_ogm.c:597 batadv_iv_send_outstanding_bat_ogm_packet.cold.25+0x30/0x37 net/batman-adv/bat_iv_ogm.c:1857 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Kernel panic - not syncing: panic_on_warn set ... Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1558 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc_track_caller+0x2ce/0x760 mm/slab.c:3742 kstrdup+0x2c/0x60 mm/util.c:56 kstrdup_const+0x1f/0x30 mm/util.c:77 __kernfs_new_node+0xb0/0x6f0 fs/kernfs/dir.c:629 kernfs_new_node+0x62/0x110 fs/kernfs/dir.c:693 kernfs_create_link+0xb4/0x230 fs/kernfs/symlink.c:40 sysfs_do_create_link_sd.isra.2+0x7d/0xf0 fs/sysfs/symlink.c:43 sysfs_do_create_link fs/sysfs/symlink.c:79 [inline] sysfs_create_link+0x43/0xb0 fs/sysfs/symlink.c:91 netdev_adjacent_sysfs_add+0x9c/0xd0 net/core/dev.c:6943 __netdev_adjacent_dev_insert+0x46d/0x7b0 net/core/dev.c:6998 __netdev_adjacent_dev_link_lists net/core/dev.c:7075 [inline] __netdev_adjacent_dev_link_neighbour net/core/dev.c:7104 [inline] __netdev_upper_dev_link+0x1e8/0x790 net/core/dev.c:7163 netdev_master_upper_dev_link+0x17/0x20 net/core/dev.c:7227 batadv_hardif_enable_interface+0x1f8/0x9e0 net/batman-adv/hard-interface.c:773 batadv_softif_slave_add+0x7f/0xd0 net/batman-adv/soft-interface.c:898 do_set_master+0x171/0x200 net/core/rtnetlink.c:2321 do_setlink+0x941/0x2e10 net/core/rtnetlink.c:2455 rtnl_newlink+0xa18/0x1310 net/core/rtnetlink.c:3077 rtnetlink_rcv_msg+0x34f/0x8f0 net/core/rtnetlink.c:4777 netlink_rcv_skb+0x142/0x390 net/netlink/af_netlink.c:2455 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:4795 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x443/0x650 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x765/0xc40 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:632 ___sys_sendmsg+0x647/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c6c9 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f69f70edc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f69f70ee6d4 RCX: 000000000045c6c9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 00000000000009cb R14: 00000000004cc6fd R15: 0000000000000004 CPU: 0 PID: 2345 Comm: kworker/u4:4 Not tainted 4.19.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x177 lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.8+0x1b/0x3e kernel/panic.c:541 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 report_bug+0x1a4/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x200/0x350 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037 RIP: 0010:batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:597 [inline] RIP: 0010:batadv_iv_send_outstanding_bat_ogm_packet.cold.25+0x30/0x37 net/batman-adv/bat_iv_ogm.c:1857 Code: 87 e8 3c 77 96 fa 0f 0b e9 84 a3 ff ff 48 c7 c7 40 bb d8 87 e8 29 77 96 fa e9 73 a3 ff ff 48 c7 c7 00 b8 d8 87 e8 18 77 96 fa <0f> 0b e9 60 a3 ff ff 48 c7 c7 00 b8 d8 87 e8 05 77 96 fa 0f 0b 4c RSP: 0018:ffff8880a16afcd8 EFLAGS: 00010286 RAX: 0000000000000024 RBX: ffff8880a836bac8 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff87677aa0 RDI: ffffffff8a185960 RBP: ffff8880a16afd58 R08: ffffed1015d45079 R09: ffffed1015d45078 R10: ffffed1015d45078 R11: ffff8880aea283c7 R12: ffff88809518d640 R13: ffff8880a836bb60 R14: ffff8880a836ba80 R15: ffff888085d4e040 process_one_work+0x830/0x1670 kernel/workqueue.c:2155 worker_thread+0x85/0xb60 kernel/workqueue.c:2298 kthread+0x324/0x3e0 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 CPU: 1 PID: 7977 Comm: syz-executor.0 Not tainted 4.19.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x123/0x177 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0x5/0x13 lib/fault-inject.c:149 __should_failslab+0xba/0xf0 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1558 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc_track_caller+0x2ce/0x760 mm/slab.c:3742 kstrdup+0x2c/0x60 mm/util.c:56 kstrdup_const+0x1f/0x30 mm/util.c:77 __kernfs_new_node+0xb0/0x6f0 fs/kernfs/dir.c:629 kernfs_new_node+0x62/0x110 fs/kernfs/dir.c:693 kernfs_create_link+0xb4/0x230 fs/kernfs/symlink.c:40 sysfs_do_create_link_sd.isra.2+0x7d/0xf0 fs/sysfs/symlink.c:43 sysfs_do_create_link fs/sysfs/symlink.c:79 [inline] sysfs_create_link+0x43/0xb0 fs/sysfs/symlink.c:91 netdev_adjacent_sysfs_add+0x9c/0xd0 net/core/dev.c:6943 __netdev_adjacent_dev_insert+0x46d/0x7b0 net/core/dev.c:6998 __netdev_adjacent_dev_link_lists net/core/dev.c:7075 [inline] __netdev_adjacent_dev_link_neighbour net/core/dev.c:7104 [inline] __netdev_upper_dev_link+0x1e8/0x790 net/core/dev.c:7163 netdev_master_upper_dev_link+0x17/0x20 net/core/dev.c:7227 batadv_hardif_enable_interface+0x1f8/0x9e0 net/batman-adv/hard-interface.c:773 batadv_softif_slave_add+0x7f/0xd0 net/batman-adv/soft-interface.c:898 do_set_master+0x171/0x200 net/core/rtnetlink.c:2321 do_setlink+0x941/0x2e10 net/core/rtnetlink.c:2455 rtnl_newlink+0xa18/0x1310 net/core/rtnetlink.c:3077 rtnetlink_rcv_msg+0x34f/0x8f0 net/core/rtnetlink.c:4777 netlink_rcv_skb+0x142/0x390 net/netlink/af_netlink.c:2455 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:4795 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x443/0x650 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x765/0xc40 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:632 ___sys_sendmsg+0x647/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c6c9 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fece8cf0c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fece8cf16d4 RCX: 000000000045c6c9 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 00000000000009cb R14: 00000000004cc6fd R15: 0000000000000004 Kernel Offset: disabled Rebooting in 86400 seconds..