[ 37.406499] audit: type=1800 audit(1584849813.804:33): pid=7354 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rc.local" dev="sda1" ino=2465 res=0 [ 37.433481] audit: type=1800 audit(1584849813.804:34): pid=7354 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rmnologin" dev="sda1" ino=2456 res=0 [ 37.628862] random: sshd: uninitialized urandom read (32 bytes read) [ 37.966107] audit: type=1400 audit(1584849814.364:35): avc: denied { map } for pid=7526 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 [ 38.017552] random: sshd: uninitialized urandom read (32 bytes read) Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 38.729509] random: sshd: uninitialized urandom read (32 bytes read) [ 38.934187] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.10.55' (ECDSA) to the list of known hosts. [ 44.480761] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program [ 44.603743] audit: type=1400 audit(1584849821.004:36): avc: denied { map } for pid=7538 comm="syz-executor495" path="/root/syz-executor495205117" 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 [ 44.621924] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 44.630750] audit: type=1400 audit(1584849821.004:37): avc: denied { create } for pid=7539 comm="syz-executor495" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 [ 44.652097] [ 44.664045] audit: type=1400 audit(1584849821.004:38): avc: denied { write } for pid=7539 comm="syz-executor495" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 [ 44.665137] ====================================================== [ 44.695671] WARNING: possible circular locking dependency detected [ 44.701970] 4.14.174-syzkaller #0 Not tainted [ 44.706457] ------------------------------------------------------ [ 44.712776] syz-executor495/7541 is trying to acquire lock: [ 44.718461] (&table[i].mutex){+.+.}, at: [] ip_set_nfnl_put+0x11b/0x310 [ 44.726865] [ 44.726865] but task is already holding lock: [ 44.732813] (&xt[i].mutex){+.+.}, at: [] xt_find_table_lock+0x35/0x3d0 [ 44.741314] [ 44.741314] which lock already depends on the new lock. [ 44.741314] [ 44.749887] [ 44.749887] the existing dependency chain (in reverse order) is: [ 44.757549] [ 44.757549] -> #1 (&xt[i].mutex){+.+.}: [ 44.763083] __mutex_lock+0xe8/0x1470 [ 44.767398] xt_find_revision+0x89/0x200 [ 44.772024] nfnl_compat_get+0x1f7/0x8a0 [ 44.776595] nfnetlink_rcv_msg+0xa08/0xc00 [ 44.781345] netlink_rcv_skb+0x127/0x370 [ 44.786066] nfnetlink_rcv+0x1ab/0x1650 [ 44.790545] netlink_unicast+0x437/0x620 [ 44.795106] netlink_sendmsg+0x733/0xbe0 [ 44.799680] sock_sendmsg+0xc5/0x100 [ 44.803908] ___sys_sendmsg+0x70a/0x840 [ 44.808382] __sys_sendmsg+0xa3/0x120 [ 44.812701] SyS_sendmsg+0x27/0x40 [ 44.816739] do_syscall_64+0x1d5/0x640 [ 44.821179] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 44.826892] [ 44.826892] -> #0 (&table[i].mutex){+.+.}: [ 44.832608] lock_acquire+0x170/0x3f0 [ 44.837045] __mutex_lock+0xe8/0x1470 [ 44.841354] ip_set_nfnl_put+0x11b/0x310 [ 44.845928] set_target_v1_destroy+0xd7/0x150 [ 44.850997] cleanup_entry+0x191/0x240 [ 44.855403] __do_replace+0x38d/0x580 [ 44.859710] do_ip6t_set_ctl+0x255/0x3a3 [ 44.864276] nf_setsockopt+0x5f/0xb0 [ 44.868494] ipv6_setsockopt+0xfd/0x130 [ 44.872969] udpv6_setsockopt+0x45/0x80 [ 44.877467] SyS_setsockopt+0x110/0x1e0 [ 44.881987] do_syscall_64+0x1d5/0x640 [ 44.886393] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 44.892083] [ 44.892083] other info that might help us debug this: [ 44.892083] [ 44.900227] Possible unsafe locking scenario: [ 44.900227] [ 44.906276] CPU0 CPU1 [ 44.911153] ---- ---- [ 44.915797] lock(&xt[i].mutex); [ 44.919235] lock(&table[i].mutex); [ 44.925478] lock(&xt[i].mutex); [ 44.931438] lock(&table[i].mutex); [ 44.935134] [ 44.935134] *** DEADLOCK *** [ 44.935134] [ 44.941324] 1 lock held by syz-executor495/7541: [ 44.946056] #0: (&xt[i].mutex){+.+.}, at: [] xt_find_table_lock+0x35/0x3d0 [ 44.954933] [ 44.954933] stack backtrace: [ 44.959413] CPU: 0 PID: 7541 Comm: syz-executor495 Not tainted 4.14.174-syzkaller #0 [ 44.967369] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 44.976925] Call Trace: [ 44.979537] dump_stack+0x13e/0x194 [ 44.983170] print_circular_bug.isra.0.cold+0x1c4/0x282 [ 44.988767] __lock_acquire+0x2cb3/0x4620 [ 44.992914] ? trace_hardirqs_on+0x10/0x10 [ 44.997141] ? depot_save_stack+0x10d/0x401 [ 45.001465] ? save_trace+0x290/0x290 [ 45.005262] lock_acquire+0x170/0x3f0 [ 45.009050] ? ip_set_nfnl_put+0x11b/0x310 [ 45.013493] ? ip_set_nfnl_put+0x11b/0x310 [ 45.017760] __mutex_lock+0xe8/0x1470 [ 45.021547] ? ip_set_nfnl_put+0x11b/0x310 [ 45.025776] ? save_trace+0x290/0x290 [ 45.029573] ? ip_set_nfnl_put+0x11b/0x310 [ 45.033794] ? mutex_trylock+0x1a0/0x1a0 [ 45.037839] ? find_held_lock+0x2d/0x110 [ 45.042340] ? ip_set_nfnl_put+0xea/0x310 [ 45.046480] ? lock_downgrade+0x6e0/0x6e0 [ 45.050610] ? ip_set_nfnl_put+0x11b/0x310 [ 45.054833] ip_set_nfnl_put+0x11b/0x310 [ 45.059002] set_target_v1_destroy+0xd7/0x150 [ 45.063492] ? set_target_v3_destroy+0x200/0x200 [ 45.068233] cleanup_entry+0x191/0x240 [ 45.072299] ? cleanup_match+0x130/0x130 [ 45.076364] __do_replace+0x38d/0x580 [ 45.080180] ? compat_do_ip6t_get_ctl+0x7c0/0x7c0 [ 45.085215] do_ip6t_set_ctl+0x255/0x3a3 [ 45.089280] ? compat_do_ip6t_set_ctl+0x140/0x140 [ 45.094238] ? nf_sockopt_find.constprop.0+0x1ad/0x220 [ 45.099507] nf_setsockopt+0x5f/0xb0 [ 45.103219] ipv6_setsockopt+0xfd/0x130 [ 45.107174] udpv6_setsockopt+0x45/0x80 [ 45.111486] SyS_setsockopt+0x110/0x1e0 [ 45.115493] ? SyS_recv+0x40/0x40 [ 45.118932] ? __do_page_fault+0x35b/0xb40 [ 45.123217] ? do_syscall_64+0x4c/0x640 [ 45.127208] ? SyS_recv+0x40/0x40 [ 45.130657] do_syscall_64+0x1d5/0x640 [ 45.134527] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.139696] RIP: 0033:0x441529 [ 45.142873] RSP: 002b:00007fffd64918a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 executing program [ 45.151384] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441529 [ 45.158660] RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000005 [ 45.166811] RBP: 000000000000ae3d R08: 0000000000000001 R09: 00000000004002c8 [ 45.174075] R10: 0000000020001600 R11: 0000000000000246 R12: 0000000000402350 [ 45.181332] R13: 00000000004023e0 R14: 0000000000000000 R15: 0000000000000000 [ 45.189161] ip6_tables: ip6tables: counters copy to user failed while replacing table executing program executing program executing program executing program [ 45.204075] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 45.219033] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 45.233356] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 45.247642] ip6_tables: ip6tables: counters copy to user failed while replacing table executing program executing program executing program [ 45.262198] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 45.276823] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 45.292747] ip6_tables: ip6tables: counters copy to user failed while replacing table executing program executing program executing program executing program executing program executing program executing program [ 45.306936] ip6_tables: ip6tables: counters copy to user failed while replacing table 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 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 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 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 [ 49.613831] net_ratelimit: 712 callbacks suppressed [ 49.613833] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 49.634268] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 49.647898] ip6_tables: ip6tables: counters copy to user failed while replacing table executing program executing program executing program [ 49.662801] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 49.677966] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 49.692254] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 49.706464] ip6_tables: ip6tables: counters copy to user failed while replacing table executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 49.721430] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 49.735407] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 49.748989] ip6_tables: ip6tables: counters copy to user failed while replacing table 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 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 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 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 [ 54.624929] net_ratelimit: 821 callbacks suppressed [ 54.624931] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 54.644240] ip6_tables: ip6tables: counters copy to user failed while replacing table [ 54.658420] ip6_tables: ip6tables: counters copy to user failed while replacing table executing program executing program