[ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.193' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 64.132125][ T8476] netlink: 'syz-executor863': attribute type 1 has an invalid length. [ 64.383724][ T8476] [ 64.387614][ T8476] ============================= [ 64.392481][ T8476] WARNING: suspicious RCU usage [ 64.399943][ T8476] 5.10.0-rc7-syzkaller #0 Not tainted [ 64.405508][ T8476] ----------------------------- [ 64.411923][ T8476] drivers/net/bonding/bond_main.c:395 suspicious rcu_dereference_check() usage! [ 64.431936][ T8476] [ 64.431936][ T8476] other info that might help us debug this: [ 64.431936][ T8476] [ 64.450474][ T8476] [ 64.450474][ T8476] rcu_scheduler_active = 2, debug_locks = 1 [ 64.465820][ T8476] 1 lock held by syz-executor863/8476: [ 64.471337][ T8476] #0: ffffffff8c917228 (&net->xfrm.xfrm_cfg_mutex){+.+.}-{3:3}, at: xfrm_netlink_rcv+0x5c/0x90 [ 64.495802][ T8476] [ 64.495802][ T8476] stack backtrace: [ 64.501749][ T8476] CPU: 1 PID: 8476 Comm: syz-executor863 Not tainted 5.10.0-rc7-syzkaller #0 [ 64.510601][ T8476] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.520675][ T8476] Call Trace: [ 64.523992][ T8476] dump_stack+0x107/0x163 [ 64.528336][ T8476] bond_ipsec_add_sa+0x1dc/0x240 [ 64.533291][ T8476] xfrm_dev_state_add+0x2da/0x7b0 [ 64.538327][ T8476] xfrm_add_sa+0x2166/0x34f0 [ 64.542936][ T8476] ? xfrm_get_sa+0x2c0/0x2c0 [ 64.547557][ T8476] ? bpf_lsm_capable+0x5/0x10 [ 64.552326][ T8476] ? security_capable+0x8f/0xc0 [ 64.557276][ T8476] ? __nla_parse+0x3d/0x50 [ 64.561697][ T8476] ? xfrm_get_sa+0x2c0/0x2c0 [ 64.566302][ T8476] xfrm_user_rcv_msg+0x42f/0x8b0 [ 64.571255][ T8476] ? xfrm_do_migrate+0x800/0x800 [ 64.576209][ T8476] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 64.582252][ T8476] ? __mutex_lock+0x626/0x10e0 [ 64.587397][ T8476] netlink_rcv_skb+0x153/0x420 [ 64.592175][ T8476] ? xfrm_do_migrate+0x800/0x800 [ 64.597757][ T8476] ? netlink_ack+0xaa0/0xaa0 [ 64.602733][ T8476] xfrm_netlink_rcv+0x6b/0x90 [ 64.607424][ T8476] netlink_unicast+0x533/0x7d0 [ 64.612222][ T8476] ? netlink_attachskb+0x810/0x810 [ 64.617350][ T8476] ? __phys_addr_symbol+0x2c/0x70 [ 64.622356][ T8476] ? __check_object_size+0x171/0x3f0 [ 64.627625][ T8476] netlink_sendmsg+0x856/0xd90 [ 64.632485][ T8476] ? netlink_unicast+0x7d0/0x7d0 [ 64.637410][ T8476] ? bpf_lsm_socket_sendmsg+0x5/0x10 [ 64.642693][ T8476] ? netlink_unicast+0x7d0/0x7d0 [ 64.647710][ T8476] sock_sendmsg+0xcf/0x120 [ 64.652107][ T8476] ____sys_sendmsg+0x6e8/0x810 [ 64.656873][ T8476] ? kernel_sendmsg+0x50/0x50 [ 64.661541][ T8476] ? do_recvmmsg+0x6c0/0x6c0 [ 64.666198][ T8476] ? fs_reclaim_release+0x90/0xd0 [ 64.671223][ T8476] ___sys_sendmsg+0xf3/0x170 [ 64.675819][ T8476] ? sendmsg_copy_msghdr+0x160/0x160 [ 64.681194][ T8476] ? lockdep_init_map_waits+0x26a/0x720 [ 64.686740][ T8476] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 64.692774][ T8476] ? percpu_counter_add_batch+0xbd/0x180 [ 64.698440][ T8476] ? find_held_lock+0x2d/0x110 [ 64.703304][ T8476] ? __fd_install+0x1b4/0x600 [ 64.707987][ T8476] ? lock_downgrade+0x6d0/0x6d0 [ 64.713339][ T8476] ? __fget_light+0x215/0x280 [ 64.718001][ T8476] __sys_sendmsg+0xe5/0x1b0 [ 64.725521][ T8476] ? __sys_sendmsg_sock+0xb0/0xb0 [ 64.730534][ T8476] ? syscall_enter_from_user_mode+0x1d/0x50 [ 64.736421][ T8476] do_syscall_64+0x2d/0x70 [ 64.740840][ T8476] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.746722][ T8476] RIP: 0033:0x440449 [ 64.750596][ T8476] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 64.770204][ T8476] RSP: 002b:00007fffe4f80d88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 64.778604][ T8476] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440449 [ 64.786583][ T8476] RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004 [ 64.794627][ T8476] RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 [ 64.802599][ T8476] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000401c50 [ 64.810566][ T8476] R13: 0000000000401ce0 R14: 0000000000000000 R15: 0000000000000000 [ 64.818969][ T8476] general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN [ 64.831119][ T8476] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] [ 64.839542][ T8476] CPU: 1 PID: 8476 Comm: syz-executor863 Not tainted 5.10.0-rc7-syzkaller #0 [ 64.848272][ T8476] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.858313][ T8476] RIP: 0010:bond_ipsec_add_sa+0x9e/0x240 [ 64.863922][ T8476] Code: 04 31 ff 89 c3 89 c6 e8 60 e3 d8 fc 85 db 0f 85 f6 00 00 00 e8 03 eb d8 fc 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 5f 01 00 00 48 8d bd d0 02 00 00 49 8b 5d 00 48 [ 64.883517][ T8476] RSP: 0018:ffffc9000106f498 EFLAGS: 00010246 [ 64.889561][ T8476] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8155a917 [ 64.897521][ T8476] RDX: 0000000000000000 RSI: ffffffff8497196d RDI: 0000000000000000 [ 64.905485][ T8476] RBP: ffff888018f94000 R08: 0000000000000001 R09: ffffffff8ebaf727 [ 64.913439][ T8476] R10: fffffbfff1d75ee4 R11: 0000000000000000 R12: ffff8880271f4000 [ 64.921396][ T8476] R13: 0000000000000000 R14: ffff888018f942e0 R15: ffff888018f942e4 [ 64.929432][ T8476] FS: 0000000001f21880(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 [ 64.938337][ T8476] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.944895][ T8476] CR2: 00007fc254e27000 CR3: 0000000014df1000 CR4: 00000000001506e0 [ 64.952843][ T8476] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 64.960790][ T8476] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 64.968730][ T8476] Call Trace: [ 64.971998][ T8476] xfrm_dev_state_add+0x2da/0x7b0 [ 64.976995][ T8476] xfrm_add_sa+0x2166/0x34f0 [ 64.981559][ T8476] ? xfrm_get_sa+0x2c0/0x2c0 [ 64.986224][ T8476] ? bpf_lsm_capable+0x5/0x10 [ 64.990887][ T8476] ? security_capable+0x8f/0xc0 [ 64.996032][ T8476] ? __nla_parse+0x3d/0x50 [ 65.000429][ T8476] ? xfrm_get_sa+0x2c0/0x2c0 [ 65.004999][ T8476] xfrm_user_rcv_msg+0x42f/0x8b0 [ 65.010263][ T8476] ? xfrm_do_migrate+0x800/0x800 [ 65.015175][ T8476] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 65.021220][ T8476] ? __mutex_lock+0x626/0x10e0 [ 65.025957][ T8476] netlink_rcv_skb+0x153/0x420 [ 65.030697][ T8476] ? xfrm_do_migrate+0x800/0x800 [ 65.035610][ T8476] ? netlink_ack+0xaa0/0xaa0 [ 65.040185][ T8476] xfrm_netlink_rcv+0x6b/0x90 [ 65.044832][ T8476] netlink_unicast+0x533/0x7d0 [ 65.049568][ T8476] ? netlink_attachskb+0x810/0x810 [ 65.054666][ T8476] ? __phys_addr_symbol+0x2c/0x70 [ 65.059662][ T8476] ? __check_object_size+0x171/0x3f0 [ 65.064919][ T8476] netlink_sendmsg+0x856/0xd90 [ 65.069668][ T8476] ? netlink_unicast+0x7d0/0x7d0 [ 65.074578][ T8476] ? bpf_lsm_socket_sendmsg+0x5/0x10 [ 65.080243][ T8476] ? netlink_unicast+0x7d0/0x7d0 [ 65.085161][ T8476] sock_sendmsg+0xcf/0x120 [ 65.089551][ T8476] ____sys_sendmsg+0x6e8/0x810 [ 65.094286][ T8476] ? kernel_sendmsg+0x50/0x50 [ 65.098933][ T8476] ? do_recvmmsg+0x6c0/0x6c0 [ 65.103494][ T8476] ? fs_reclaim_release+0x90/0xd0 [ 65.108492][ T8476] ___sys_sendmsg+0xf3/0x170 [ 65.113066][ T8476] ? sendmsg_copy_msghdr+0x160/0x160 [ 65.118341][ T8476] ? lockdep_init_map_waits+0x26a/0x720 [ 65.123858][ T8476] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 65.129808][ T8476] ? percpu_counter_add_batch+0xbd/0x180 [ 65.135426][ T8476] ? find_held_lock+0x2d/0x110 [ 65.140163][ T8476] ? __fd_install+0x1b4/0x600 [ 65.144810][ T8476] ? lock_downgrade+0x6d0/0x6d0 [ 65.149633][ T8476] ? __fget_light+0x215/0x280 [ 65.154282][ T8476] __sys_sendmsg+0xe5/0x1b0 [ 65.158759][ T8476] ? __sys_sendmsg_sock+0xb0/0xb0 [ 65.163769][ T8476] ? syscall_enter_from_user_mode+0x1d/0x50 [ 65.169650][ T8476] do_syscall_64+0x2d/0x70 [ 65.174040][ T8476] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.179916][ T8476] RIP: 0033:0x440449 [ 65.183784][ T8476] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 65.203709][ T8476] RSP: 002b:00007fffe4f80d88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 65.212094][ T8476] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440449 [ 65.220043][ T8476] RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000004 [ 65.227988][ T8476] RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8 [ 65.235931][ T8476] R10: 00000000004002c8 R11: 0000000000000246 R12: 0000000000401c50 [ 65.243962][ T8476] R13: 0000000000401ce0 R14: 0000000000000000 R15: 0000000000000000 [ 65.251906][ T8476] Modules linked in: [ 65.256067][ T8476] ---[ end trace aa42dce50d377e54 ]--- [ 65.261546][ T8476] RIP: 0010:bond_ipsec_add_sa+0x9e/0x240 [ 65.267340][ T8476] Code: 04 31 ff 89 c3 89 c6 e8 60 e3 d8 fc 85 db 0f 85 f6 00 00 00 e8 03 eb d8 fc 4c 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 5f 01 00 00 48 8d bd d0 02 00 00 49 8b 5d 00 48 [ 65.286998][ T8476] RSP: 0018:ffffc9000106f498 EFLAGS: 00010246 [ 65.293170][ T8476] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8155a917 [ 65.301161][ T8476] RDX: 0000000000000000 RSI: ffffffff8497196d RDI: 0000000000000000 [ 65.309181][ T8476] RBP: ffff888018f94000 R08: 0000000000000001 R09: ffffffff8ebaf727 [ 65.317182][ T8476] R10: fffffbfff1d75ee4 R11: 0000000000000000 R12: ffff8880271f4000 [ 65.325159][ T8476] R13: 0000000000000000 R14: ffff888018f942e0 R15: ffff888018f942e4 [ 65.333191][ T8476] FS: 0000000001f21880(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 [ 65.342158][ T8476] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.348787][ T8476] CR2: 00007fc254e27000 CR3: 0000000014df1000 CR4: 00000000001506e0 [ 65.356781][ T8476] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.364748][ T8476] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.372840][ T8476] Kernel panic - not syncing: Fatal exception [ 65.379684][ T8476] Kernel Offset: disabled [ 65.383994][ T8476] Rebooting in 86400 seconds..