kernfs_create_link+0x2c/0x170 fs/kernfs/symlink.c:32
 sysfs_do_create_link_sd.isra.0+0x90/0x120 fs/sysfs/symlink.c:44
 sysfs_do_create_link fs/sysfs/symlink.c:80 [inline]
 sysfs_create_link+0x65/0xc0 fs/sysfs/symlink.c:92
------------[ cut here ]------------
 netdev_adjacent_sysfs_add+0xa7/0xd0 net/core/dev.c:6110
WARNING: CPU: 1 PID: 22 at net/batman-adv/bat_iv_ogm.c:555 batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:555 [inline]
WARNING: CPU: 1 PID: 22 at net/batman-adv/bat_iv_ogm.c:555 batadv_iv_send_outstanding_bat_ogm_packet+0x5a2/0x680 net/batman-adv/bat_iv_ogm.c:1797
 __netdev_adjacent_dev_insert net/core/dev.c:6165 [inline]
 __netdev_adjacent_dev_insert+0x487/0x6a0 net/core/dev.c:6133
Kernel panic - not syncing: panic_on_warn set ...

 __netdev_adjacent_dev_link_lists net/core/dev.c:6242 [inline]
 __netdev_adjacent_dev_link_neighbour net/core/dev.c:6271 [inline]
 __netdev_upper_dev_link+0x196/0x230 net/core/dev.c:6318
 netdev_master_upper_dev_link+0x32/0x40 net/core/dev.c:6371
 batadv_hardif_enable_interface+0x1ef/0xa10 net/batman-adv/hard-interface.c:741
 batadv_softif_slave_add+0x8b/0xf0 net/batman-adv/soft-interface.c:889
 do_set_master net/core/rtnetlink.c:1961 [inline]
 do_set_master+0x19f/0x200 net/core/rtnetlink.c:1936
 do_setlink+0x99f/0x2c20 net/core/rtnetlink.c:2098
 rtnl_newlink+0x11a7/0x1700 net/core/rtnetlink.c:2660
 rtnetlink_rcv_msg+0x3da/0xb70 net/core/rtnetlink.c:4315
 netlink_rcv_skb+0x14f/0x3c0 net/netlink/af_netlink.c:2432
 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4327
 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline]
 netlink_unicast+0x44d/0x650 net/netlink/af_netlink.c:1312
 netlink_sendmsg+0x7c4/0xc60 net/netlink/af_netlink.c:1877
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xce/0x110 net/socket.c:656
 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062
 __sys_sendmsg+0xb9/0x140 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x2d/0x50 net/socket.c:2103
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45b399
RSP: 002b:00007f4c7551fc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f4c755206d4 RCX: 000000000045b399
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 00000000000009cb R14: 00000000004cb3c7 R15: 000000000000000e
CPU: 1 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.170-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:17 [inline]
 dump_stack+0x142/0x197 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x2f kernel/panic.c:547
 report_bug+0x216/0x254 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:555 [inline]
RIP: 0010:batadv_iv_send_outstanding_bat_ogm_packet+0x5a2/0x680 net/batman-adv/bat_iv_ogm.c:1797
RSP: 0018:ffff8880a9ecfcc8 EFLAGS: 00010297
RAX: ffff8880a9eb65c0 RBX: ffff8880a1afde08 RCX: ffff8880a9eb6e40
RDX: 0000000000000000 RSI: ffffffff87f84e60 RDI: ffff88808f9e83a8
RBP: ffff8880a9ecfd38 R08: 000000000000550d R09: ffffffff8957a0e8
R10: ffff8880a9eb6e68 R11: ffff8880a9eb65c0 R12: ffff88805ee9d4c0
R13: ffff8880a1afddc0 R14: ffff888089729080 R15: ffff88808f9e8340
 process_one_work+0x863/0x1600 kernel/workqueue.c:2114
 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248
 kthread+0x319/0x430 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled
Rebooting in 86400 seconds..