Warning: Permanently added '10.128.0.161' (ECDSA) to the list of known hosts. executing program [ 53.965892] audit: type=1400 audit(1578257929.121:36): avc: denied { map } for pid=8087 comm="syz-executor516" path="/root/syz-executor516459032" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 54.026982] [ 54.028738] ===================================== [ 54.033591] WARNING: bad unlock balance detected! [ 54.038437] 4.19.93-syzkaller #0 Not tainted [ 54.043005] ------------------------------------- [ 54.048174] syz-executor516/8090 is trying to release lock (sk_lock-AF_INET6) at: [ 54.056089] [] gtp_encap_enable_socket+0x13f/0x350 [ 54.062768] but there are no more locks to release! [ 54.067905] [ 54.067905] other info that might help us debug this: [ 54.074572] 2 locks held by syz-executor516/8090: [ 54.079456] #0: 000000000ddd2905 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x40a/0xb00 [ 54.088416] #1: 000000001c1d287d (slock-AF_INET6){+...}, at: release_sock+0x20/0x1c0 [ 54.096588] [ 54.096588] stack backtrace: [ 54.101078] CPU: 0 PID: 8090 Comm: syz-executor516 Not tainted 4.19.93-syzkaller #0 [ 54.108855] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 54.118196] Call Trace: [ 54.120777] dump_stack+0x197/0x210 [ 54.124421] ? gtp_encap_enable_socket+0x13f/0x350 [ 54.129431] print_unlock_imbalance_bug.cold+0x114/0x123 [ 54.134898] ? gtp_encap_enable_socket+0x13f/0x350 [ 54.139891] lock_release+0x6cd/0xa30 [ 54.143716] ? lock_downgrade+0x880/0x880 [ 54.147862] ? kasan_check_write+0x14/0x20 [ 54.152216] ? do_raw_spin_lock+0xc8/0x240 [ 54.156902] release_sock+0x181/0x1c0 [ 54.160810] gtp_encap_enable_socket+0x13f/0x350 [ 54.165560] ? gtp_find_dev+0x200/0x200 [ 54.169545] ? alloc_netdev_mqs+0x994/0xd40 [ 54.173931] gtp_newlink+0x9b7/0xc10 [ 54.177656] ? rtnl_create_link+0x148/0xa00 [ 54.181976] ? netlink_ns_capable+0x26/0x30 [ 54.186290] ? gtp_genl_get_pdp+0x5c0/0x5c0 [ 54.190616] rtnl_newlink+0x1042/0x1600 [ 54.194581] ? rtnl_link_unregister+0x250/0x250 [ 54.199257] ? __lock_acquire+0x6ee/0x49c0 [ 54.203481] ? __lock_acquire+0x6ee/0x49c0 [ 54.207900] ? mark_held_locks+0x100/0x100 [ 54.214574] ? mark_held_locks+0x100/0x100 [ 54.218795] ? __lock_acquire+0x6ee/0x49c0 [ 54.223281] ? avc_has_perm_noaudit+0x38f/0x570 [ 54.228035] ? __lock_acquire+0x6ee/0x49c0 [ 54.234885] ? mark_held_locks+0x100/0x100 [ 54.239133] ? avc_has_perm_noaudit+0x3b6/0x570 [ 54.244089] ? avc_has_extended_perms+0x10f0/0x10f0 [ 54.249761] ? avc_has_extended_perms+0x10f0/0x10f0 [ 54.254893] ? find_held_lock+0x35/0x130 [ 54.259031] ? rtnetlink_rcv_msg+0x3d0/0xb00 [ 54.263431] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 54.269191] ? rtnl_link_unregister+0x250/0x250 [ 54.273957] rtnetlink_rcv_msg+0x463/0xb00 [ 54.278188] ? rtnetlink_put_metrics+0x560/0x560 [ 54.283287] ? netlink_deliver_tap+0x22d/0xc20 [ 54.287861] ? find_held_lock+0x35/0x130 [ 54.292185] netlink_rcv_skb+0x17d/0x460 [ 54.296505] ? rtnetlink_put_metrics+0x560/0x560 [ 54.301426] ? netlink_ack+0xb30/0xb30 [ 54.305340] ? kasan_check_read+0x11/0x20 [ 54.309479] ? netlink_deliver_tap+0x254/0xc20 [ 54.314080] rtnetlink_rcv+0x1d/0x30 [ 54.317790] netlink_unicast+0x53a/0x730 [ 54.321850] ? netlink_attachskb+0x770/0x770 [ 54.326247] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.331790] netlink_sendmsg+0x8ae/0xd70 [ 54.335842] ? netlink_unicast+0x730/0x730 [ 54.340385] ? selinux_socket_sendmsg+0x36/0x40 [ 54.345065] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 54.350701] ? security_socket_sendmsg+0x8d/0xc0 [ 54.355450] ? netlink_unicast+0x730/0x730 [ 54.359786] sock_sendmsg+0xd7/0x130 [ 54.363623] ___sys_sendmsg+0x803/0x920 [ 54.367840] ? copy_msghdr_from_user+0x430/0x430 [ 54.372617] ? lock_downgrade+0x880/0x880 [ 54.376950] ? kasan_check_read+0x11/0x20 [ 54.381097] ? __fget+0x367/0x540 [ 54.384575] ? iterate_fd+0x360/0x360 [ 54.388397] ? __fget_light+0x1a9/0x230 [ 54.392373] ? __fdget+0x1b/0x20 [ 54.395748] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 54.401277] __sys_sendmsg+0x105/0x1d0 [ 54.405150] ? __ia32_sys_shutdown+0x80/0x80 [ 54.409560] ? find_held_lock+0x35/0x130 [ 54.413870] ? calculate_sigpending+0x87/0xa0 [ 54.418361] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 54.423251] ? do_syscall_64+0x26/0x620 [ 54.427230] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.432606] ? do_syscall_64+0x26/0x620 [ 54.436611] __x64_sys_sendmsg+0x78/0xb0 [ 54.440816] do_syscall_64+0xfd/0x620 [ 54.444785] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 54.451016] RIP: 0033:0x446c39 [ 54.454197] Code: e8 5c b3 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00 executing program [ 54.473257] RSP: 002b:00007fb2a66ebdb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 54.481075] RAX: ffffffffffffffda RBX: 00000000006dbc38 RCX: 0000000000446c39 [ 54.489173] RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000003 [ 54.496941] RBP: 00000000006dbc30 R08: 0000000000000004 R09: 0000000000000000 [ 54.505364] R10: 0000000000000008 R11: 0000000000000246 R12: 00000000006dbc3c [ 54.512987] R13: 00007ffe46b1e6ff R14: 00007fb2a66ec9c0 R15: 20c49ba5e353f7cf executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program