tipc: Resetting bearer BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.5/14213 caller is tipc_aead_tfm_next net/tipc/crypto.c:402 [inline] caller is tipc_aead_encrypt net/tipc/crypto.c:639 [inline] caller is tipc_crypto_xmit+0x80a/0x2790 net/tipc/crypto.c:1607 CPU: 1 PID: 14213 Comm: syz-executor.5 Not tainted 5.9.0-rc1-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+0x18f/0x20d lib/dump_stack.c:118 check_preemption_disabled+0x128/0x130 lib/smp_processor_id.c:48 tipc_aead_tfm_next net/tipc/crypto.c:402 [inline] tipc_aead_encrypt net/tipc/crypto.c:639 [inline] tipc_crypto_xmit+0x80a/0x2790 net/tipc/crypto.c:1607 tipc_bearer_xmit_skb+0x180/0x3f0 net/tipc/bearer.c:523 tipc_disc_reset+0x31e/0x423 net/tipc/discover.c:415 tipc_l2_device_event.cold+0x7e/0xbf net/tipc/bearer.c:669 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2033 call_netdevice_notifiers_mtu net/core/dev.c:2082 [inline] dev_set_mtu_ext+0x38b/0x590 net/core/dev.c:8426 do_setlink+0x508/0x3a70 net/core/rtnetlink.c:2669 rtnl_group_changelink net/core/rtnetlink.c:3225 [inline] __rtnl_newlink+0xde5/0x1740 net/core/rtnetlink.c:3379 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3500 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5563 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2470 netlink_unicast_kernel net/netlink/af_netlink.c:1304 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1330 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:671 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2353 ___sys_sendmsg+0xf3/0x170 net/socket.c:2407 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2440 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: 5d b4 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe18cf4cc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002ce80 RCX: 000000000045d5b9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000006 RBP: 000000000118d0c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118d08c R13: 00007fffb2b43b8f R14: 00007fe18cf4d9c0 R15: 000000000118d08c