kmem_cache_zalloc include/linux/slab.h:699 [inline] __kernfs_new_node+0xd2/0x680 fs/kernfs/dir.c:633 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8728 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: 8728 at net/batman-adv/bat_iv_ogm.c:597 batadv_iv_send_outstanding_bat_ogm_packet.cold+0x3f/0x46 net/batman-adv/bat_iv_ogm.c:1857 kernfs_new_node+0x92/0x120 fs/kernfs/dir.c:693 Kernel panic - not syncing: panic_on_warn set ... kernfs_create_link+0xd1/0x240 fs/kernfs/symlink.c:40 sysfs_do_create_link_sd.isra.0+0x8b/0x130 fs/sysfs/symlink.c:43 sysfs_do_create_link fs/sysfs/symlink.c:79 [inline] sysfs_create_link+0x61/0xc0 fs/sysfs/symlink.c:91 netdev_adjacent_sysfs_add+0xb5/0xf0 net/core/dev.c:6940 __netdev_adjacent_dev_insert net/core/dev.c:6995 [inline] __netdev_adjacent_dev_insert+0x49e/0x6d0 net/core/dev.c:6963 __netdev_adjacent_dev_link_lists net/core/dev.c:7072 [inline] __netdev_adjacent_dev_link_neighbour net/core/dev.c:7101 [inline] __netdev_upper_dev_link+0x2af/0x7a0 net/core/dev.c:7160 batadv_hardif_enable_interface+0x258/0xb20 net/batman-adv/hard-interface.c:773 batadv_softif_slave_add+0x8a/0x100 net/batman-adv/soft-interface.c:898 do_set_master net/core/rtnetlink.c:2321 [inline] do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2295 do_setlink+0x93f/0x3510 net/core/rtnetlink.c:2455 rtnl_newlink+0xabb/0x1440 net/core/rtnetlink.c:3077 rtnetlink_rcv_msg+0x453/0xaf0 net/core/rtnetlink.c:4777 netlink_rcv_skb+0x160/0x410 net/netlink/af_netlink.c:2455 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x4d7/0x6a0 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x80b/0xcd0 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0xec/0x1b0 net/socket.c:2153 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c849 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:00007ffac9c91c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ffac9c926d4 RCX: 000000000045c849 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 000000000076bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 00000000000009f8 R14: 00000000004ccb00 R15: 0000000000000005 CPU: 0 PID: 8728 Comm: kworker/u4:1 Not tainted 4.19.112-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+0x188/0x20d lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x46 kernel/panic.c:541 report_bug+0x262/0x2a0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 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+0x3f/0x46 net/batman-adv/bat_iv_ogm.c:1857 Code: a0 ff ff e8 aa f9 67 fa 48 c7 c7 c0 ca 26 88 e8 97 16 53 fa e9 26 a0 ff ff e8 94 f9 67 fa 48 c7 c7 80 c7 26 88 e8 81 16 53 fa <0f> 0b e9 0e a0 ff ff e8 7c f9 67 fa 48 c7 c7 80 c7 26 88 e8 69 16 RSP: 0018:ffff8882166c7ce0 EFLAGS: 00010286 RAX: 0000000000000024 RBX: ffff88809ccc9448 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8152d3a1 RDI: ffffed1042cd8f8e RBP: ffff8880538e0f80 R08: 0000000000000024 R09: ffffed1015cc5079 R10: ffffed1015cc5078 R11: ffff8880ae6283c7 R12: ffff88809e3dc000 R13: ffff888083c90040 R14: ffff88809ccc9400 R15: ffff8880538e0f80 process_one_work+0x91f/0x1640 kernel/workqueue.c:2155 worker_thread+0x96/0xe20 kernel/workqueue.c:2298 kthread+0x34a/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Kernel Offset: disabled Rebooting in 86400 seconds..