[ 80.446617][ T27] audit: type=1800 audit(1580111009.928:23): pid=9799 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rsyslog" dev="sda1" ino=2442 res=0 [ 80.498303][ T27] audit: type=1800 audit(1580111009.938:24): pid=9799 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="sudo" dev="sda1" ino=2454 res=0 [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 81.149945][ T27] audit: type=1800 audit(1580111010.718:25): pid=9799 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 322.373085][ C0] [ 322.375462][ C0] ================================ [ 322.380554][ C0] WARNING: inconsistent lock state [ 322.385704][ C0] 5.5.0-rc6-next-20200116-syzkaller #0 Not tainted [ 322.392183][ C0] -------------------------------- [ 322.397274][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 322.404805][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 322.410782][ C0] ffffffff8a03ce58 (ima_keys_lock){+.?.}, at: ima_process_queued_keys+0x4f/0x320 [ 322.419884][ C0] {SOFTIRQ-ON-W} state was registered at: [ 322.425585][ C0] lock_acquire+0x190/0x410 [ 322.430164][ C0] _raw_spin_lock+0x2f/0x40 [ 322.434746][ C0] ima_post_key_create_or_update+0x234/0x470 [ 322.440797][ C0] key_create_or_update+0x6b8/0xcb0 [ 322.446086][ C0] load_system_certificate_list+0x1ba/0x25e [ 322.452043][ C0] do_one_initcall+0x120/0x820 [ 322.456978][ C0] kernel_init_freeable+0x522/0x5d0 [ 322.462246][ C0] kernel_init+0x12/0x1bf [ 322.466661][ C0] ret_from_fork+0x24/0x30 [ 322.471142][ C0] irq event stamp: 212980 [ 322.475461][ C0] hardirqs last enabled at (212980): [] _raw_spin_unlock_irq+0x23/0x80 [ 322.485737][ C0] hardirqs last disabled at (212979): [] _raw_spin_lock_irq+0x3a/0x80 [ 322.495441][ C0] softirqs last enabled at (212976): [] _local_bh_enable+0x1c/0x30 [ 322.504973][ C0] softirqs last disabled at (212977): [] irq_exit+0x19b/0x1e0 [ 322.513968][ C0] [ 322.513968][ C0] other info that might help us debug this: [ 322.522231][ C0] Possible unsafe locking scenario: [ 322.522231][ C0] [ 322.529763][ C0] CPU0 [ 322.533025][ C0] ---- [ 322.536295][ C0] lock(ima_keys_lock); [ 322.540522][ C0] [ 322.544005][ C0] lock(ima_keys_lock); [ 322.548433][ C0] [ 322.548433][ C0] *** DEADLOCK *** [ 322.548433][ C0] [ 322.556671][ C0] 1 lock held by swapper/0/0: [ 322.561428][ C0] #0: ffffc90000007d50 ((&ima_key_queue_timer)){+.-.}, at: call_timer_fn+0xe0/0x780 [ 322.570890][ C0] [ 322.570890][ C0] stack backtrace: [ 322.576768][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.5.0-rc6-next-20200116-syzkaller #0 [ 322.585867][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 322.595909][ C0] Call Trace: [ 322.599173][ C0] [ 322.602060][ C0] dump_stack+0x197/0x210 [ 322.606426][ C0] print_usage_bug.cold+0x327/0x378 [ 322.611808][ C0] mark_lock+0xbb4/0x1220 [ 322.616125][ C0] ? check_usage_backwards+0x330/0x330 [ 322.621617][ C0] __lock_acquire+0x1e8e/0x4a00 [ 322.626454][ C0] ? alloc_list_entry+0xc0/0xc0 [ 322.631321][ C0] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 322.637550][ C0] ? find_first_zero_bit+0x9a/0xc0 [ 322.642811][ C0] ? mark_held_locks+0xf0/0xf0 [ 322.647567][ C0] lock_acquire+0x190/0x410 [ 322.652069][ C0] ? ima_process_queued_keys+0x4f/0x320 [ 322.657631][ C0] _raw_spin_lock+0x2f/0x40 [ 322.662125][ C0] ? ima_process_queued_keys+0x4f/0x320 [ 322.667656][ C0] ima_process_queued_keys+0x4f/0x320 [ 322.673016][ C0] ima_timer_handler+0x15/0x20 [ 322.677771][ C0] call_timer_fn+0x1ac/0x780 [ 322.682343][ C0] ? ima_process_queued_keys+0x320/0x320 [ 322.687976][ C0] ? msleep_interruptible+0x150/0x150 [ 322.693385][ C0] ? run_timer_softirq+0x6b1/0x1790 [ 322.698572][ C0] ? trace_hardirqs_on+0x67/0x240 [ 322.703617][ C0] ? ima_process_queued_keys+0x320/0x320 [ 322.709241][ C0] ? ima_process_queued_keys+0x320/0x320 [ 322.715017][ C0] run_timer_softirq+0x6c3/0x1790 [ 322.720085][ C0] ? add_timer+0x930/0x930 [ 322.724483][ C0] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 322.730618][ C0] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 322.736143][ C0] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 322.742112][ C0] ? trace_hardirqs_on+0x67/0x240 [ 322.747112][ C0] __do_softirq+0x262/0x98c [ 322.751591][ C0] ? sched_clock_cpu+0x1b/0x1b0 [ 322.756421][ C0] irq_exit+0x19b/0x1e0 [ 322.760681][ C0] smp_apic_timer_interrupt+0x1a3/0x610 [ 322.766206][ C0] apic_timer_interrupt+0xf/0x20 [ 322.771138][ C0] [ 322.774057][ C0] RIP: 0010:native_safe_halt+0xe/0x10 [ 322.779401][ C0] Code: a8 3a c6 f9 eb 8a cc cc cc cc cc cc e9 07 00 00 00 0f 00 2d 14 92 5a 00 f4 c3 66 90 e9 07 00 00 00 0f 00 2d 04 92 5a 00 fb f4 cc 55 48 89 e5 41 57 41 56 41 55 41 54 53 e8 de 0b 75 f9 e8 89 [ 322.799032][ C0] RSP: 0018:ffffffff89a07cd0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 [ 322.807516][ C0] RAX: 1ffffffff1367752 RBX: ffffffff89a7a780 RCX: 0000000000000000 [ 322.815663][ C0] RDX: dffffc0000000000 RSI: 0000000000000006 RDI: ffffffff89a7b01c [ 322.823687][ C0] RBP: ffffffff89a07d00 R08: ffffffff89a7a780 R09: 0000000000000000 [ 322.831647][ C0] R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 [ 322.839632][ C0] R13: ffffffff8aa52e40 R14: 0000000000000000 R15: 0000000000000000 [ 322.847613][ C0] ? default_idle+0x4e/0x360 [ 322.852199][ C0] arch_cpu_idle+0xa/0x10 [ 322.856624][ C0] default_idle_call+0x84/0xb0 [ 322.861372][ C0] do_idle+0x3c8/0x6e0 [ 322.865531][ C0] ? arch_cpu_idle_exit+0x80/0x80 [ 322.870550][ C0] ? trace_hardirqs_on+0x67/0x240 [ 322.875614][ C0] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 322.881956][ C0] ? debug_smp_processor_id+0x33/0x18a [ 322.887403][ C0] cpu_startup_entry+0x1b/0x20 [ 322.892162][ C0] rest_init+0x23b/0x371 [ 322.896435][ C0] arch_call_rest_init+0xe/0x1b [ 322.901275][ C0] start_kernel+0xd24/0xd63 [ 322.905755][ C0] ? mem_encrypt_init+0xb/0xb [ 322.910460][ C0] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 322.916689][ C0] ? x86_family+0x41/0x50 [ 322.921003][ C0] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 322.927243][ C0] x86_64_start_reservations+0x29/0x2b [ 322.932826][ C0] x86_64_start_kernel+0x77/0x7b [ 322.937852][ C0] secondary_startup_64+0xa4/0xb0 Warning: Permanently added '10.128.0.145' (ECDSA) to the list of known hosts. [ 326.066740][ T9954] IPVS: ftp: loaded support on port[0] = 21 [ 326.114353][ T9954] chnl_net:caif_netlink_parms(): no params data found [ 326.137950][ T9954] bridge0: port 1(bridge_slave_0) entered blocking state [ 326.145454][ T9954] bridge0: port 1(bridge_slave_0) entered disabled state [ 326.153331][ T9954] device bridge_slave_0 entered promiscuous mode [ 326.161159][ T9954] bridge0: port 2(bridge_slave_1) entered blocking state [ 326.168605][ T9954] bridge0: port 2(bridge_slave_1) entered disabled state [ 326.176367][ T9954] device bridge_slave_1 entered promiscuous mode [ 326.190267][ T9954] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 326.201078][ T9954] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 326.218083][ T9954] team0: Port device team_slave_0 added [ 326.224975][ T9954] team0: Port device team_slave_1 added [ 326.237666][ T9954] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 326.244697][ T9954] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 326.271192][ T9954] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 326.283616][ T9954] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 326.291006][ T9954] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 326.317435][ T9954] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 326.374460][ T9954] device hsr_slave_0 entered promiscuous mode [ 326.443104][ T9954] device hsr_slave_1 entered promiscuous mode [ 326.580782][ T9954] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 326.635036][ T9954] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 326.675439][ T9954] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 326.744815][ T9954] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 326.801813][ T9954] bridge0: port 2(bridge_slave_1) entered blocking state [ 326.810108][ T9954] bridge0: port 2(bridge_slave_1) entered forwarding state [ 326.817485][ T9954] bridge0: port 1(bridge_slave_0) entered blocking state [ 326.824587][ T9954] bridge0: port 1(bridge_slave_0) entered forwarding state [ 326.859470][ T9954] 8021q: adding VLAN 0 to HW filter on device bond0 [ 326.871568][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 326.889863][ T2868] bridge0: port 1(bridge_slave_0) entered disabled state [ 326.908651][ T2868] bridge0: port 2(bridge_slave_1) entered disabled state [ 326.917007][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 326.928547][ T9954] 8021q: adding VLAN 0 to HW filter on device team0 [ 326.938453][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 326.947224][ T9959] bridge0: port 1(bridge_slave_0) entered blocking state [ 326.954413][ T9959] bridge0: port 1(bridge_slave_0) entered forwarding state [ 326.973522][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 326.981931][ T2868] bridge0: port 2(bridge_slave_1) entered blocking state [ 326.989112][ T2868] bridge0: port 2(bridge_slave_1) entered forwarding state [ 326.997125][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 327.005597][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 327.014775][ T9960] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 327.025037][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 327.037546][ T9954] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 327.048898][ T9954] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 327.057569][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 327.073019][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 327.080392][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 327.091745][ T9954] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 327.107775][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 327.124704][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_vlan: link becomes ready [ 327.133167][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 327.142285][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 327.150246][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 327.159642][ T9954] device veth0_vlan entered promiscuous mode [ 327.170272][ T9954] device veth1_vlan entered promiscuous mode [ 327.188175][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 327.196939][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 327.205773][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 327.214191][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 327.225012][ T9954] device veth0_macvtap entered promiscuous mode [ 327.234834][ T9954] device veth1_macvtap entered promiscuous mode [ 327.248680][ T9954] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 327.256138][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 327.264304][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 327.272181][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 327.281155][ T9959] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 327.292676][ T9954] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 327.300887][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready executing program [ 327.309924][ T2868] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready