[....] Starting OpenBSD Secure Shell server: sshd[ 11.034305] random: sshd: uninitialized urandom read (32 bytes read) [?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 41.823155] random: sshd: uninitialized urandom read (32 bytes read) [ 42.318914] audit: type=1400 audit(1541855583.658:6): avc: denied { map } for pid=1778 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 [ 42.385787] random: sshd: uninitialized urandom read (32 bytes read) [ 42.792222] random: sshd: uninitialized urandom read (32 bytes read) [ 42.941613] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.56' (ECDSA) to the list of known hosts. [ 48.568293] random: sshd: uninitialized urandom read (32 bytes read) [ 48.658796] audit: type=1400 audit(1541855589.998:7): avc: denied { map } for pid=1790 comm="syz-executor466" path="/root/syz-executor466672143" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 net.ipv6.conf.syz_tun.accept_dad = 0 net.ipv6.conf.syz_tun.router_solicitations = 0 RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Error: argument "bridge0" is wrong: Device does not exist Error: argument "bridge0" is wrong: Device does not exist Cannot find device "veth0_to_bridge" Cannot find device "veth1_to_bridge" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Error: argument "bond0" is wrong: Device does not exist Error: argument "bond0" is wrong: Device does not exist Cannot find device "veth0_to_bond" net.ipv6.conf.syz_tun.accept_dad = 0 Cannot find device "veth1_to_bond" net.ipv6.conf.syz_tun.router_solicitations = 0 RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Error: argument "team0" is wrong: Device does not exist Error: argument "team0" is wrong: Device does not exist RTNETLINK answers: Operation not supported Cannot find device "veth0_to_team" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Cannot find device "veth1_to_team" RTNETLINK answers: Operation not supported Cannot find device "bridge_slave_0" RTNETLINK answers: Operation not supported Cannot find device "bridge_slave_1" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Error: argument "bridge0" is wrong: Device does not exist RTNETLINK answers: Operation not supported Error: argument "bridge0" is wrong: Device does not exist Cannot find device "veth0_to_bridge" Cannot find device "bridge0" Cannot find device "veth1_to_bridge" Cannot find device "bridge0" net.ipv6.conf.syz_tun.accept_dad = 0 RTNETLINK answers: Operation not supported Cannot find device "bridge0" net.ipv6.conf.syz_tun.router_solicitations = 0 RTNETLINK answers: Operation not supported Error: argument "bond0" is wrong: Device does not exist Cannot find device "bridge0" Error: argument "bond0" is wrong: Device does not exist Cannot find device "vcan0" Cannot find device "vcan0" Cannot find device "veth0_to_bond" RTNETLINK answers: Operation not supported Cannot find device "vcan0" Cannot find device "veth1_to_bond" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Cannot find device "vcan0" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Cannot find device "tunl0" RTNETLINK answers: Operation not supported Error: argument "team0" is wrong: Device does not exist Cannot find device "tunl0" RTNETLINK answers: Operation not supported Error: argument "team0" is wrong: Device does not exist Cannot find device "tunl0" RTNETLINK answers: Operation not supported Cannot find device "veth0_to_team" Cannot find device "veth1_to_team" RTNETLINK answers: Operation not supported Cannot find device "tunl0" net.ipv6.conf.syz_tun.accept_dad = 0 Cannot find device "bridge_slave_0" net.ipv6.conf.syz_tun.router_solicitations = 0 Cannot find device "gre0" Error: argument "bridge0" is wrong: Device does not exist Cannot find device "bridge_slave_1" Cannot find device "gre0" Error: argument "bridge0" is wrong: Device does not exist Cannot find device "gre0" Cannot find device "veth0_to_bridge" Cannot find device "gre0" net.ipv6.conf.syz_tun.accept_dad = 0 Cannot find device "veth1_to_bridge" Cannot find device "gretap0" RTNETLINK answers: Operation not supported net.ipv6.conf.syz_tun.router_solicitations = 0 Cannot find device "gretap0" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported [ 49.685303] ip (2172) used greatest stack depth: 23192 bytes left RTNETLINK answers: Operation not supported Cannot find device "gretap0" Cannot find device "bridge0" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Cannot find device "bridge0" Cannot find device "gretap0" RTNETLINK answers: Operation not supported Error: argument "bond0" is wrong: Device does not exist Cannot find device "bridge0" RTNETLINK answers: Operation not supported Error: argument "bond0" is wrong: Device does not exist Cannot find device "bridge0" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Cannot find device "veth0_to_bond" Cannot find device "vcan0" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported net.ipv6.conf.syz_tun.accept_dad = 0 RTNETLINK answers: Operation not supported Cannot find device "veth1_to_bond" Cannot find device "vcan0" net.ipv6.conf.syz_tun.router_solicitations = 0 RTNETLINK answers: Operation not supported Cannot find device "vcan0" RTNETLINK answers: Operation not supported Error: argument "bridge0" is wrong: Device does not exist RTNETLINK answers: Operation not supported Cannot find device "vcan0" RTNETLINK answers: Invalid argument RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Error: argument "bridge0" is wrong: Device does not exist RTNETLINK answers: Operation not supported Error: argument "team0" is wrong: Device does not exist Cannot find device "tunl0" Cannot find device "veth0_to_bridge" RTNETLINK answers: Operation not supported Cannot find device "tunl0" Cannot find device "veth1_to_bridge" Error: argument "bridge0" is wrong: Device does not exist RTNETLINK answers: Invalid argument Error: argument "team0" is wrong: Device does not exist Cannot find device "tunl0" RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Error: argument "bridge0" is wrong: Device does not exist Cannot find device "ip6gre0" RTNETLINK answers: Operation not supported Cannot find device "veth0_to_team" RTNETLINK answers: Operation not supported Cannot find device "tunl0" RTNETLINK answers: Operation not supported Cannot find device "ip6gre0" Cannot find device "veth0_to_bridge" Cannot find device "veth1_to_team" Error: argument "bond0" is wrong: Device does not exist Cannot find device "veth1_to_bridge" RTNETLINK answers: Operation not supported Cannot find device "gre0" Cannot find device "bridge_slave_0" Cannot find device "ip6gre0" Error: argument "bond0" is wrong: Device does not exist RTNETLINK answers: Operation not supported RTNETLINK answers: Operation not supported Cannot find device "gre0" RTNETLINK answers: Operation not supported Cannot find device "bridge_slave_1" Cannot find device "ip6gre0" RTNETLINK answers: Operation not supported Cannot find device "veth0_to_bond" RTNETLINK answers: Operation not supported Cannot find device "ip6gretap0" Cannot find device "gre0" Error: argument "bond0" is wrong: Device does not exist RTNETLINK answers: Operation not supported Cannot find device "veth1_to_bond" Cannot find device "ip6gretap0" Error: argument "bond0" is wrong: Device does not exist RTNETLINK answers: Operation not supported Cannot find device "gre0" Error: argument "bridge0" is wrong: Device does not exist Cannot find device "ip6gretap0" Cannot find device "veth0_to_bond" Cannot find device "gretap0" RTNETLINK answers: Operation not supported Error: argument "bridge0" is wrong: Device does not exist RTNETLINK answers: Operation not supported Cannot find device "veth0_to_bridge" Cannot find device "ip6gretap0" Cannot find device "veth1_to_bond" Error: argument "team0" is wrong: Device does not exist Cannot find device "gretap0" RTNETLINK answers: Operation not supported Cannot find device "erspan0" Cannot find device "veth1_to_bridge" Cannot find device "bridge0" Error: argument "team0" is wrong: Device does not exist RTNETLINK answers: Operation not supported Cannot find device "erspan0" Cannot find device "gretap0" RTNETLINK answers: Operation not supported Error: argument "team0" is wrong: Device does not exist Cannot find device "veth0_to_team" Cannot find device "bridge0" Cannot find device "erspan0" RTNETLINK answers: Operation not supported Cannot find device "gretap0" Cannot find device "erspan0" Cannot find device "veth1_to_team" Cannot find device "bridge0" Error: argument "team0" is wrong: Device does not exist Cannot find device "bridge0" Error: argument "bond0" is wrong: Device does not exist RTNETLINK answers: Operation not supported Cannot find device "bridge_slave_0" Cannot find device "bond0" Cannot find device "veth0_to_team" Cannot find device "vcan0" Error: argument "bond0" is wrong: Device does not exist Cannot find device "bridge_slave_1" Cannot find device "bond0" Cannot find device "veth0_to_bond" Cannot find device "veth1_to_team" Cannot find device "vcan0" Cannot find device "veth1_to_bond" Cannot find device "bond0" Cannot find device "bridge_slave_0" Cannot find device "vcan0" RTNETLINK answers: Invalid argument RTNETLINK answers: Operation not supported Cannot find device "bond0" Cannot find device "vcan0" Cannot find device "bridge_slave_1" RTNETLINK answers: Operation not supported Cannot find device "veth0" RTNETLINK answers: Operation not supported Cannot find device "tunl0" Error: argument "team0" is wrong: Device does not exist Cannot find device "veth0" Cannot find device "tunl0" RTNETLINK answers: Invalid argument Error: argument "team0" is wrong: Device does not exist Cannot find device "veth0" Cannot find device "bridge0" Cannot find device "ip6gre0" Cannot find device "tunl0" Cannot find device "veth0_to_team" Cannot find device "bridge0" Cannot find device "veth0" Cannot find device "tunl0" Cannot find device "ip6gre0" RTNETLINK answers: Operation not supported Cannot find device "veth1" Cannot find device "bridge0" Cannot find device "veth1" Cannot find device "ip6gre0" Cannot find device "veth1_to_team" Cannot find device "gre0" Cannot find device "bridge0" Cannot find device "veth1" Cannot find device "bridge0" Cannot find device "ip6gre0" Cannot find device "veth1" Cannot find device "vcan0" Cannot find device "gre0" Cannot find device "bridge_slave_0" Cannot find device "bridge0" Cannot find device "vcan0" Cannot find device "team0" Cannot find device "bridge0" Cannot find device "gre0" Cannot find device "ip6gretap0" Cannot find device "bridge_slave_1" Cannot find device "gre0" Cannot find device "bridge0" Cannot find device "team0" Cannot find device "vcan0" Cannot find device "ip6gretap0" Cannot find device "team0" Cannot find device "vcan0" Cannot find device "gretap0" Cannot find device "vcan0" Cannot find device "team0" Cannot find device "ip6gretap0" Cannot find device "tunl0" Cannot find device "vcan0" Cannot find device "gretap0" Cannot find device "veth0_to_bridge" Cannot find device "ip6gretap0" Cannot find device "gretap0" Cannot find device "tunl0" Cannot find device "vcan0" RTNETLINK answers: Operation not supported Cannot find device "veth0_to_bridge" Cannot find device "erspan0" Cannot find device "tunl0" Cannot find device "gretap0" Cannot find device "vcan0" Cannot find device "erspan0" Cannot find device "bridge0" Cannot find device "tunl0" Cannot find device "veth0_to_bridge" Cannot find device "erspan0" Cannot find device "tunl0" Cannot find device "bridge0" Cannot find device "tunl0" RTNETLINK answers: Operation not supported Cannot find device "veth0_to_bridge" Cannot find device "gre0" Cannot find device "erspan0" Cannot find device "bridge0" Cannot find device "tunl0" Cannot find device "bridge0" Cannot find device "gre0" Cannot find device "bond0" Cannot find device "veth1_to_bridge" Cannot find device "tunl0" Cannot find device "bond0" Cannot find device "gre0" RTNETLINK answers: Invalid argument Cannot find device "vcan0" Cannot find device "veth1_to_bridge" Cannot find device "bond0" Cannot find device "vcan0" Cannot find device "gre0" Cannot find device "gre0" Cannot find device "bond0" Cannot find device "veth1_to_bridge" Cannot find device "vcan0" Cannot find device "gretap0" Cannot find device "veth0" RTNETLINK answers: Invalid argument Cannot find device "gre0" Cannot find device "veth0" Cannot find device "gretap0" Cannot find device "vcan0" Cannot find device "veth1_to_bridge" Cannot find device "tunl0" Cannot find device "gretap0" Cannot find device "veth0" Cannot find device "veth0_to_bond" Cannot find device "tunl0" Cannot find device "veth0" Cannot find device "veth0_to_bond" Cannot find device "ip6gre0" Cannot find device "gretap0" Cannot find device "gre0" Cannot find device "veth0_to_bond" Cannot find device "veth1" Cannot find device "gre0" Cannot find device "tunl0" Cannot find device "ip6gre0" Cannot find device "veth0_to_bond" RTNETLINK answers: Operation not supported Cannot find device "tunl0" Cannot find device "veth1" Cannot find device "ip6gre0" Cannot find device "gretap0" Cannot find device "gre0" Cannot find device "veth1" Cannot find device "veth1_to_bond" Cannot find device "gre0" Cannot find device "gretap0" Cannot find device "ip6gre0" Cannot find device "veth1_to_bond" RTNETLINK answers: Invalid argument Cannot find device "veth1" Cannot find device "ip6gretap0" Cannot find device "gre0" Cannot find device "ip6gretap0" Cannot find device "gretap0" Cannot find device "team0" Cannot find device "veth1_to_bond" Cannot find device "ip6gretap0" Cannot find device "gre0" Cannot find device "gretap0" Cannot find device "team0" Cannot find device "veth1_to_bond" Cannot find device "team0" Cannot find device "ip6gretap0" Cannot find device "gretap0" RTNETLINK answers: Invalid argument Cannot find device "veth0_to_team" RTNETLINK answers: Operation not supported Cannot find device "gretap0" Cannot find device "team0" Cannot find device "erspan0" Cannot find device "gretap0" Cannot find device "erspan0" Cannot find device "veth0_to_team" Cannot find device "ip6gre0" Cannot find device "veth0_to_bridge" Cannot find device "veth0_to_team" Cannot find device "veth0_to_bridge" Cannot find device "gretap0" Cannot find device "ip6gre0" Cannot find device "erspan0" Cannot find device "veth0_to_team" RTNETLINK answers: Invalid argument Cannot find device "veth1_to_team" RTNETLINK answers: Operation not supported Cannot find device "erspan0" Cannot find device "ip6gre0" Cannot find device "veth0_to_bridge" Cannot find device "veth1_to_team" Cannot find device "bond0" Cannot find device "veth0_to_bridge" Cannot find device "ip6gre0" RTNETLINK answers: Invalid argument Cannot find device "veth1_to_team" Cannot find device "bond0" Cannot find device "ip6gretap0" Cannot find device "veth1_to_bridge" RTNETLINK answers: Invalid argument Cannot find device "veth1_to_team" Cannot find device "bond0" Cannot find device "ip6gre0" Cannot find device "veth1_to_bridge" Cannot find device "ip6gretap0" Cannot find device "bond0" Cannot find device "ip6gre0" RTNETLINK answers: Invalid argument Cannot find device "veth1_to_bridge" Cannot find device "ip6gretap0" Cannot find device "veth0" Cannot find device "veth1_to_bridge" Cannot find device "ip6gretap0" Cannot find device "veth0" Cannot find device "ip6gre0" Cannot find device "veth0" Cannot find device "ip6gre0" Cannot find device "erspan0" Cannot find device "veth0_to_bond" Cannot find device "ip6gre0" Cannot find device "veth0" Cannot find device "ip6gre0" Cannot find device "ip6gretap0" Cannot find device "erspan0" Cannot find device "veth0_to_bond" Cannot find device "veth1" Cannot find device "ip6gre0" Cannot find device "erspan0" Cannot find device "ip6gretap0" Cannot find device "veth1" Cannot find device "veth0_to_bond" Cannot find device "ip6gre0" Cannot find device "erspan0" Cannot find device "ip6gretap0" Cannot find device "veth1" Cannot find device "ip6gretap0" Cannot find device "veth0_to_bond" executing program Cannot find device "veth1" Cannot find device "ip6gretap0" Cannot find device "team0" executing program Cannot find device "veth1_to_bond" [ 53.246991] audit: type=1400 audit(1541855594.588:8): avc: denied { map } for pid=3746 comm="syz-executor466" path="/dev/ashmem" dev="devtmpfs" ino=1083 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=1 Cannot find device "bond0" Cannot find device "erspan0" Cannot find device "team0" Cannot find device "ip6gretap0" executing program Cannot find device "bond0" Cannot find device "veth1_to_bond" Cannot find device "erspan0" executing program Cannot find device "team0" Cannot find device "ip6gretap0" Cannot find device "bond0" Cannot find device "veth1_to_bond" Cannot find device "erspan0" Cannot find device "team0" executing program Cannot find device "bond0" Cannot find device "ip6gretap0" Cannot find device "erspan0" executing program Cannot find device "veth1_to_bond" Cannot find device "erspan0" Cannot find device "veth0" Cannot find device "veth0_to_bridge" Cannot find device "bond0" executing program Cannot find device "veth0_to_team" executing program Cannot find device "erspan0" Cannot find device "veth0_to_bridge" Cannot find device "veth0" executing program Cannot find device "bond0" Cannot find device "veth0_to_bridge" Cannot find device "erspan0" Cannot find device "veth0_to_team" Cannot find device "veth0_to_bridge" executing program Cannot find device "veth0_to_team" Cannot find device "veth0" Cannot find device "bond0" executing program Cannot find device "veth1_to_bridge" Cannot find device "erspan0" Cannot find device "veth0" Cannot find device "veth0_to_team" executing program Cannot find device "bond0" Cannot find device "bond0" Cannot find device "veth1_to_bridge" Cannot find device "veth1" Cannot find device "bond0" Cannot find device "veth1_to_team" executing program Cannot find device "veth0" Cannot find device "veth1_to_bridge" Cannot find device "veth1" Cannot find device "bond0" executing program Cannot find device "veth1_to_team" Cannot find device "veth0" Cannot find device "veth1_to_bridge" Cannot find device "veth1" executing program Cannot find device "bond0" Cannot find device "veth1_to_team" Cannot find device "veth0_to_bond" executing program Cannot find device "veth1" Cannot find device "veth0" Cannot find device "veth0" Cannot find device "veth1_to_team" Cannot find device "veth0_to_bond" Cannot find device "team0" Cannot find device "veth0" executing program Cannot find device "veth0" Cannot find device "veth0" Cannot find device "team0" Cannot find device "veth0_to_bond" executing program Cannot find device "veth1" Cannot find device "veth0" Cannot find device "team0" Cannot find device "veth0_to_bond" executing program Cannot find device "veth1" Cannot find device "team0" executing program Cannot find device "veth1" Cannot find device "veth1" Cannot find device "veth1_to_bond" Cannot find device "veth0_to_bridge" Cannot find device "veth1" Cannot find device "veth1" Cannot find device "veth1_to_bond" executing program Cannot find device "veth0_to_bridge" executing program Cannot find device "veth0_to_bridge" Cannot find device "team0" Cannot find device "veth1" Cannot find device "veth1_to_bond" Cannot find device "veth0_to_bridge" Cannot find device "team0" executing program Cannot find device "veth1_to_bond" Cannot find device "veth1" executing program Cannot find device "veth1_to_bridge" Cannot find device "team0" Cannot find device "team0" Cannot find device "veth0_to_team" executing program Cannot find device "veth0_to_team" Cannot find device "veth1_to_bridge" Cannot find device "team0" Cannot find device "team0" executing program Cannot find device "veth0_to_team" Cannot find device "veth0_to_bridge" Cannot find device "veth1_to_bridge" executing program Cannot find device "team0" Cannot find device "veth0_to_team" Cannot find device "team0" Cannot find device "veth0_to_bridge" executing program Cannot find device "veth1_to_bridge" Cannot find device "veth1_to_team" Cannot find device "veth0_to_bridge" Cannot find device "veth1_to_team" Cannot find device "veth0_to_bond" executing program Cannot find device "veth0_to_bridge" Cannot find device "veth1_to_team" Cannot find device "veth0_to_bridge" executing program Cannot find device "veth0_to_bond" Cannot find device "veth1_to_team" Cannot find device "veth0_to_bridge" executing program Cannot find device "veth0_to_bridge" Cannot find device "veth0_to_bond" Cannot find device "veth1_to_bridge" Cannot find device "veth0_to_bridge" Cannot find device "veth0_to_bond" Cannot find device "veth1_to_bridge" executing program Cannot find device "veth1_to_bond" Cannot find device "veth1_to_bridge" executing program Cannot find device "veth1_to_bridge" Cannot find device "veth1_to_bridge" Cannot find device "veth1_to_bond" Cannot find device "veth1_to_bridge" Cannot find device "veth1_to_bridge" executing program Cannot find device "veth1_to_bond" Cannot find device "veth1_to_bridge" Cannot find device "veth0_to_bond" Cannot find device "veth1_to_bond" Cannot find device "veth0_to_bond" executing program Cannot find device "veth0_to_bond" Cannot find device "veth0_to_team" executing program Cannot find device "veth0_to_bond" Cannot find device "veth0_to_bond" Cannot find device "veth0_to_team" executing program Cannot find device "veth0_to_bond" Cannot find device "veth0_to_bond" Cannot find device "veth0_to_team" Cannot find device "veth0_to_team" Cannot find device "veth0_to_bond" Cannot find device "veth1_to_bond" executing program Cannot find device "veth1_to_team" Cannot find device "veth1_to_bond" Cannot find device "veth1_to_bond" Cannot find device "veth1_to_bond" Cannot find device "veth1_to_bond" Cannot find device "veth1_to_team" executing program Cannot find device "veth1_to_bond" Cannot find device "veth1_to_team" Cannot find device "veth1_to_bond" executing program executing program Cannot find device "veth1_to_team" Cannot find device "veth0_to_team" executing program Cannot find device "veth1_to_bond" Cannot find device "veth0_to_team" executing program Cannot find device "veth0_to_team" Cannot find device "veth0_to_team" Cannot find device "veth0_to_team" executing program Cannot find device "veth0_to_team" Cannot find device "veth1_to_team" Cannot find device "veth0_to_team" executing program Cannot find device "veth1_to_team" Cannot find device "veth0_to_team" Cannot find device "veth1_to_team" Cannot find device "veth1_to_team" executing program Cannot find device "veth1_to_team" Cannot find device "veth1_to_team" Cannot find device "veth1_to_team" executing program Cannot find device "veth1_to_team" executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.162472] [ 55.164130] ====================================================== [ 55.170437] WARNING: possible circular locking dependency detected [ 55.176746] 4.14.79+ #3 Not tainted [ 55.180360] ------------------------------------------------------ [ 55.186669] syz-executor466/4480 is trying to acquire lock: [ 55.192362] (cpu_hotplug_lock.rw_sem){++++}, at: [] lru_add_drain_all+0xa/0x20 [ 55.201377] [ 55.201377] but task is already holding lock: executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.207331] (&sb->s_type->i_mutex_key#10){+.+.}, at: [] shmem_add_seals+0x132/0x1230 [ 55.216855] [ 55.216855] which lock already depends on the new lock. [ 55.216855] [ 55.225160] [ 55.225160] the existing dependency chain (in reverse order) is: [ 55.232766] [ 55.232766] -> #5 (&sb->s_type->i_mutex_key#10){+.+.}: [ 55.239536] down_write+0x34/0x90 [ 55.243506] shmem_fallocate+0x149/0xb20 [ 55.248079] ashmem_shrink_scan+0x1b6/0x4e0 [ 55.252912] ashmem_ioctl+0x2cc/0xe20 [ 55.257227] do_vfs_ioctl+0x1a0/0x1030 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.261624] SyS_ioctl+0x7e/0xb0 [ 55.265507] do_syscall_64+0x19b/0x4b0 [ 55.269909] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 55.275607] [ 55.275607] -> #4 (ashmem_mutex){+.+.}: [ 55.281063] __mutex_lock+0xf5/0x1480 [ 55.285375] ashmem_mmap+0x4c/0x430 [ 55.289511] mmap_region+0x836/0xfb0 [ 55.293738] do_mmap+0x551/0xb80 [ 55.297621] vm_mmap_pgoff+0x180/0x1d0 [ 55.302023] SyS_mmap_pgoff+0xf8/0x1a0 [ 55.306421] do_syscall_64+0x19b/0x4b0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.310826] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 55.316519] [ 55.316519] -> #3 (&mm->mmap_sem){++++}: [ 55.322062] __might_fault+0x137/0x1b0 [ 55.326463] _copy_from_user+0x27/0x100 [ 55.330953] memdup_user+0x50/0x90 [ 55.335005] strndup_user+0x5b/0xf0 [ 55.339139] perf_ioctl+0x961/0x1bb0 [ 55.343365] do_vfs_ioctl+0x1a0/0x1030 [ 55.347775] SyS_ioctl+0x7e/0xb0 [ 55.351657] do_syscall_64+0x19b/0x4b0 [ 55.356055] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 55.361750] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.361750] -> #2 (&cpuctx_mutex){+.+.}: [ 55.367302] __mutex_lock+0xf5/0x1480 [ 55.371615] perf_event_init_cpu+0xab/0x150 [ 55.376451] perf_event_init+0x295/0x2d4 [ 55.381023] start_kernel+0x441/0x739 [ 55.385341] secondary_startup_64+0xa5/0xb0 [ 55.390168] [ 55.390168] -> #1 (pmus_lock){+.+.}: [ 55.395359] __mutex_lock+0xf5/0x1480 [ 55.399676] perf_event_init_cpu+0x2c/0x150 [ 55.404508] cpuhp_invoke_callback+0x1b5/0x1960 [ 55.409688] _cpu_up+0x22c/0x520 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.413564] do_cpu_up+0x13f/0x180 [ 55.417618] smp_init+0x137/0x14b [ 55.421582] kernel_init_freeable+0x186/0x39f [ 55.426591] kernel_init+0xc/0x157 [ 55.430641] ret_from_fork+0x3a/0x50 [ 55.434863] [ 55.434863] -> #0 (cpu_hotplug_lock.rw_sem){++++}: [ 55.441275] lock_acquire+0x10f/0x380 [ 55.445590] cpus_read_lock+0x39/0xb0 [ 55.449903] lru_add_drain_all+0xa/0x20 [ 55.454400] shmem_add_seals+0x4db/0x1230 [ 55.459060] shmem_fcntl+0xea/0x120 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.463199] do_fcntl+0x966/0xea0 [ 55.467163] SyS_fcntl+0xc7/0x100 [ 55.471131] do_syscall_64+0x19b/0x4b0 [ 55.475530] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 55.481225] [ 55.481225] other info that might help us debug this: [ 55.481225] [ 55.489362] Chain exists of: [ 55.489362] cpu_hotplug_lock.rw_sem --> ashmem_mutex --> &sb->s_type->i_mutex_key#10 [ 55.489362] [ 55.501773] Possible unsafe locking scenario: [ 55.501773] [ 55.507817] CPU0 CPU1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.512470] ---- ---- [ 55.517124] lock(&sb->s_type->i_mutex_key#10); [ 55.521875] lock(ashmem_mutex); [ 55.527833] lock(&sb->s_type->i_mutex_key#10); [ 55.535094] lock(cpu_hotplug_lock.rw_sem); [ 55.539492] [ 55.539492] *** DEADLOCK *** [ 55.539492] [ 55.545544] 1 lock held by syz-executor466/4480: [ 55.550283] #0: (&sb->s_type->i_mutex_key#10){+.+.}, at: [] shmem_add_seals+0x132/0x1230 [ 55.560259] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.560259] stack backtrace: [ 55.564757] CPU: 1 PID: 4480 Comm: syz-executor466 Not tainted 4.14.79+ #3 [ 55.571894] Call Trace: [ 55.574476] dump_stack+0xb9/0x11b [ 55.578010] print_circular_bug.isra.18.cold.43+0x2d3/0x40c [ 55.583713] ? save_trace+0xd6/0x250 [ 55.587430] __lock_acquire+0x2ff9/0x4320 [ 55.591570] ? __lock_acquire+0x619/0x4320 [ 55.595798] ? avc_has_perm+0x9e/0x390 [ 55.599680] ? trace_hardirqs_on+0x10/0x10 [ 55.603909] ? pagevec_lru_move_fn+0x140/0x210 [ 55.608486] ? _raw_spin_unlock_irqrestore+0x54/0x70 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.613587] lock_acquire+0x10f/0x380 [ 55.617384] ? lru_add_drain_all+0xa/0x20 [ 55.621527] cpus_read_lock+0x39/0xb0 [ 55.625839] ? lru_add_drain_all+0xa/0x20 [ 55.629977] lru_add_drain_all+0xa/0x20 [ 55.633936] shmem_add_seals+0x4db/0x1230 [ 55.638084] ? shmem_file_llseek+0x230/0x230 [ 55.642485] ? rw_verify_area+0xdd/0x280 [ 55.646540] ? do_sendfile+0x1d1/0xb50 [ 55.650424] shmem_fcntl+0xea/0x120 [ 55.654045] do_fcntl+0x966/0xea0 [ 55.657497] ? f_getown+0xa0/0xa0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 55.660946] ? __might_fault+0x177/0x1b0 [ 55.664998] ? selinux_file_fcntl+0xfa/0x160 [ 55.669402] SyS_fcntl+0xc7/0x100 [ 55.672847] ? do_fcntl+0xea0/0xea0 [ 55.676466] do_syscall_64+0x19b/0x4b0 [ 55.680348] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 55.685529] RIP: 0033:0x443229 [ 55.688710] RSP: 002b:00007ffeebd39af8 EFLAGS: 00000286 ORIG_RAX: 0000000000000048 [ 55.696414] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000443229 [ 55.703676] RDX: 0000000000000008 RSI: 0000000000000409 RDI: 0000000000000007 executing program executing program executing program executing program executing program executing program executing program [ 55.710941] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 55.718202] R10: 0000000000000000 R11: 0000000000000286 R12: 000000000000002b [ 55.725718] R13: 000000000000d722 R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program