[ 37.438964] audit: type=1800 audit(1581172887.305:33): pid=7295 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.463002] audit: type=1800 audit(1581172887.335:34): pid=7295 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 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 39.186750] random: sshd: uninitialized urandom read (32 bytes read) [ 39.462337] audit: type=1400 audit(1581172889.335:35): avc: denied { map } for pid=7469 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 [ 39.513054] random: sshd: uninitialized urandom read (32 bytes read) [ 40.284251] random: sshd: uninitialized urandom read (32 bytes read) [ 40.477129] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.32' (ECDSA) to the list of known hosts. [ 46.049415] random: sshd: uninitialized urandom read (32 bytes read) [ 46.176430] audit: type=1400 audit(1581172896.045:36): avc: denied { map } for pid=7481 comm="syz-executor722" path="/root/syz-executor722945023" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 46.184441] FAULT_INJECTION: forcing a failure. [ 46.184441] name fail_page_alloc, interval 1, probability 0, space 0, times 1 [ 46.215009] CPU: 0 PID: 7481 Comm: syz-executor722 Not tainted 4.14.170-syzkaller #0 [ 46.222886] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.232363] Call Trace: [ 46.235091] dump_stack+0x142/0x197 [ 46.238724] should_fail.cold+0x10f/0x159 [ 46.242895] __alloc_pages_nodemask+0x1d6/0x7a0 [ 46.247700] ? fs_reclaim_acquire+0x20/0x20 [ 46.252135] ? __alloc_pages_slowpath+0x2930/0x2930 [ 46.257336] cache_grow_begin+0x80/0x400 [ 46.261398] kmem_cache_alloc+0x6a6/0x780 [ 46.265553] alloc_pid+0x5d/0xc70 [ 46.269136] ? copy_thread_tls+0x3c8/0x7a0 [ 46.273394] copy_process.part.0+0x272f/0x6a70 [ 46.277985] ? __cleanup_sighand+0x50/0x50 [ 46.282218] ? find_held_lock+0x35/0x130 [ 46.286291] ? SyS_unshare+0x4dc/0x7e0 [ 46.290199] _do_fork+0x19e/0xce0 [ 46.293651] ? fork_idle+0x280/0x280 [ 46.297535] ? perf_event_namespaces+0x2a/0x30 [ 46.302105] ? SyS_unshare+0x5a0/0x7e0 [ 46.305994] ? mntput+0x66/0x90 [ 46.309268] ? walk_process_tree+0x2b0/0x2b0 [ 46.313816] ? SyS_chdir+0x117/0x190 [ 46.317524] SyS_clone+0x37/0x50 [ 46.320980] ? sys_vfork+0x30/0x30 [ 46.324644] do_syscall_64+0x1e8/0x640 [ 46.328548] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.333398] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 46.338806] RIP: 0033:0x44783a [ 46.342088] RSP: 002b:00007ffe893bad70 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 [ 46.350001] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000044783a [ 46.357411] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 [ 46.364895] RBP: 00007ffe893bad90 R08: 0000000000000000 R09: 0000000000e58940 [ 46.372327] R10: 0000000000e58c10 R11: 0000000000000246 R12: 0000000000001d39 [ 46.379614] R13: 00000000004060a0 R14: 0000000000000000 R15: 0000000000000000 [ 46.670932] IPVS: ftp: loaded support on port[0] = 21 [ 47.445186] audit: type=1400 audit(1581172897.315:37): avc: denied { create } for pid=7482 comm="syz-executor722" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 [ 47.469798] audit: type=1400 audit(1581172897.315:38): avc: denied { write } for pid=7482 comm="syz-executor722" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 [ 47.493901] audit: type=1400 audit(1581172897.315:39): avc: denied { read } for pid=7482 comm="syz-executor722" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 [ 47.536606] chnl_net:caif_netlink_parms(): no params data found [ 47.578730] bridge0: port 1(bridge_slave_0) entered blocking state [ 47.585610] bridge0: port 1(bridge_slave_0) entered disabled state [ 47.592822] device bridge_slave_0 entered promiscuous mode [ 47.600211] bridge0: port 2(bridge_slave_1) entered blocking state [ 47.606602] bridge0: port 2(bridge_slave_1) entered disabled state [ 47.613816] device bridge_slave_1 entered promiscuous mode [ 47.629111] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 47.638508] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 47.654342] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 47.661728] team0: Port device team_slave_0 added [ 47.667254] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 47.674764] team0: Port device team_slave_1 added [ 47.689044] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 47.695372] 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. [ 47.720808] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 47.731909] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 47.738147] 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. [ 47.763953] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 47.774412] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 47.782161] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 47.861782] device hsr_slave_0 entered promiscuous mode [ 47.900311] device hsr_slave_1 entered promiscuous mode [ 47.980746] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 47.988001] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 48.038700] bridge0: port 2(bridge_slave_1) entered blocking state [ 48.045368] bridge0: port 2(bridge_slave_1) entered forwarding state [ 48.052352] bridge0: port 1(bridge_slave_0) entered blocking state [ 48.058874] bridge0: port 1(bridge_slave_0) entered forwarding state [ 48.089333] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 48.096648] 8021q: adding VLAN 0 to HW filter on device bond0 [ 48.105041] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 48.114644] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 48.133277] bridge0: port 1(bridge_slave_0) entered disabled state [ 48.141318] bridge0: port 2(bridge_slave_1) entered disabled state [ 48.150995] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 48.157126] 8021q: adding VLAN 0 to HW filter on device team0 [ 48.165764] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 48.173374] bridge0: port 1(bridge_slave_0) entered blocking state [ 48.179757] bridge0: port 1(bridge_slave_0) entered forwarding state [ 48.188884] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 48.196632] bridge0: port 2(bridge_slave_1) entered blocking state [ 48.203065] bridge0: port 2(bridge_slave_1) entered forwarding state [ 48.221537] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 48.229408] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 48.237232] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 48.245408] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 48.256363] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 48.267169] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 48.273561] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 48.280818] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 48.294108] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 48.301809] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 48.308614] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 48.319009] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 48.379502] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 48.389250] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 48.422037] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 48.429650] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 48.436371] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 48.446100] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 48.453660] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 48.461097] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 48.470291] device veth0_vlan entered promiscuous mode [ 48.478950] device veth1_vlan entered promiscuous mode [ 48.485495] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 48.494900] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 48.506185] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 48.515748] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 48.523898] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 48.531407] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 48.539957] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 48.549303] device veth0_macvtap entered promiscuous mode [ 48.558148] device veth1_macvtap entered promiscuous mode [ 48.567608] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 48.576727] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 48.586853] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 48.594865] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 48.604752] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 48.612726] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 48.623145] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 48.630576] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 48.638118] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 48.646481] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready executing program [ 49.833324] BTRFS: device fsid fff6f2a2-2997-48ae-b81e-1b00b10efd9a devid 0 transid 0 /dev/loop0 [ 49.843808] FAULT_INJECTION: forcing a failure. [ 49.843808] name failslab, interval 1, probability 0, space 0, times 1 [ 49.855346] CPU: 0 PID: 7523 Comm: syz-executor722 Not tainted 4.14.170-syzkaller #0 [ 49.863235] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.872578] Call Trace: [ 49.875152] dump_stack+0x142/0x197 [ 49.878900] should_fail.cold+0x10f/0x159 [ 49.883046] should_failslab+0xdb/0x130 [ 49.887017] __kmalloc+0x2f0/0x7a0 [ 49.890604] ? btrfs_find_device_by_devspec+0xf0/0xf0 [ 49.895879] ? __btrfs_close_devices+0x323/0xa90 [ 49.900731] __btrfs_close_devices+0x323/0xa90 [ 49.905495] ? btrfs_alloc_device+0x6a0/0x6a0 [ 49.909990] btrfs_close_devices+0x29/0x140 [ 49.914413] btrfs_mount+0x1fd9/0x2b28 [ 49.918339] ? lock_downgrade+0x740/0x740 [ 49.922483] ? btrfs_remount+0x11f0/0x11f0 [ 49.926729] ? rcu_read_lock_sched_held+0x110/0x130 [ 49.931742] ? __lockdep_init_map+0x10c/0x570 [ 49.936225] mount_fs+0x97/0x2a1 [ 49.939690] vfs_kern_mount.part.0+0x5e/0x3d0 [ 49.944177] ? find_held_lock+0x35/0x130 [ 49.948247] vfs_kern_mount+0x40/0x60 [ 49.952244] btrfs_mount+0x3ce/0x2b28 [ 49.956172] ? lock_downgrade+0x740/0x740 [ 49.960309] ? find_held_lock+0x35/0x130 [ 49.964375] ? pcpu_alloc+0x3af/0x1050 [ 49.968267] ? btrfs_remount+0x11f0/0x11f0 [ 49.972499] ? rcu_read_lock_sched_held+0x110/0x130 [ 49.977528] ? __lockdep_init_map+0x10c/0x570 [ 49.982022] ? __lockdep_init_map+0x10c/0x570 [ 49.986504] mount_fs+0x97/0x2a1 [ 49.989868] vfs_kern_mount.part.0+0x5e/0x3d0 [ 49.994359] do_mount+0x417/0x27d0 [ 49.997892] ? copy_mount_options+0x5c/0x2f0 [ 50.002291] ? rcu_read_lock_sched_held+0x110/0x130 [ 50.007417] ? copy_mount_string+0x40/0x40 [ 50.011699] ? copy_mount_options+0x1fe/0x2f0 [ 50.016191] SyS_mount+0xab/0x120 [ 50.019634] ? copy_mnt_ns+0x8c0/0x8c0 [ 50.023518] do_syscall_64+0x1e8/0x640 [ 50.027389] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.032610] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 50.037879] RIP: 0033:0x44b9ca [ 50.041058] RSP: 002b:00007ffe893baa08 EFLAGS: 00000293 ORIG_RAX: 00000000000000a5 [ 50.048843] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000044b9ca [ 50.056106] RDX: 00007ffe893baa50 RSI: 00000000200001c0 RDI: 00007ffe893baa70 [ 50.063687] RBP: 0000000000000000 R08: 00007ffe893baab0 R09: 0000000000000000 [ 50.070996] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 [ 50.078260] R13: 00000000004060a0 R14: 0000000000000000 R15: 0000000000000000 [ 50.089256] ------------[ cut here ]------------ [ 50.094209] kernel BUG at fs/btrfs/volumes.c:895! [ 50.099793] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 50.105184] Modules linked in: [ 50.108369] CPU: 1 PID: 7523 Comm: syz-executor722 Not tainted 4.14.170-syzkaller #0 [ 50.116233] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.125580] task: ffff888077ee8200 task.stack: ffff888079168000 [ 50.131631] RIP: 0010:__btrfs_close_devices+0x7df/0xa90 [ 50.136978] RSP: 0018:ffff88807916f700 EFLAGS: 00010297 [ 50.142337] RAX: ffff888077ee8200 RBX: ffff8880981d9240 RCX: ffff888077ee8a80 [ 50.149598] RDX: 0000000000000000 RSI: ffffffff87f84e60 RDI: 0000000000000286 [ 50.157074] RBP: ffff88807916f7c8 R08: ffff888077ee8200 R09: ffff888077ee8ac8 [ 50.164464] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a10917d0 [ 50.171831] R13: 0000000000000000 R14: ffff8880981d8dc0 R15: dffffc0000000000 [ 50.179178] FS: 0000000000e58940(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 [ 50.187390] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.193257] CR2: 00000000008ed020 CR3: 0000000093374000 CR4: 00000000001406e0 [ 50.200517] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 50.207972] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 50.215245] Call Trace: [ 50.217853] ? btrfs_alloc_device+0x6a0/0x6a0 [ 50.222344] btrfs_close_devices+0x29/0x140 [ 50.226648] btrfs_mount+0x1fd9/0x2b28 [ 50.230535] ? lock_downgrade+0x740/0x740 [ 50.234664] ? btrfs_remount+0x11f0/0x11f0 [ 50.238907] ? rcu_read_lock_sched_held+0x110/0x130 [ 50.243990] ? __lockdep_init_map+0x10c/0x570 [ 50.248482] mount_fs+0x97/0x2a1 [ 50.251843] vfs_kern_mount.part.0+0x5e/0x3d0 [ 50.256341] ? find_held_lock+0x35/0x130 [ 50.260395] vfs_kern_mount+0x40/0x60 [ 50.264185] btrfs_mount+0x3ce/0x2b28 [ 50.267967] ? lock_downgrade+0x740/0x740 [ 50.272105] ? find_held_lock+0x35/0x130 [ 50.276170] ? pcpu_alloc+0x3af/0x1050 [ 50.280046] ? btrfs_remount+0x11f0/0x11f0 [ 50.285465] ? rcu_read_lock_sched_held+0x110/0x130 [ 50.290482] ? __lockdep_init_map+0x10c/0x570 [ 50.295178] ? __lockdep_init_map+0x10c/0x570 [ 50.299674] mount_fs+0x97/0x2a1 [ 50.303045] vfs_kern_mount.part.0+0x5e/0x3d0 [ 50.307525] do_mount+0x417/0x27d0 [ 50.311057] ? copy_mount_options+0x5c/0x2f0 [ 50.315466] ? rcu_read_lock_sched_held+0x110/0x130 [ 50.320554] ? copy_mount_string+0x40/0x40 [ 50.324901] ? copy_mount_options+0x1fe/0x2f0 [ 50.329417] SyS_mount+0xab/0x120 [ 50.332859] ? copy_mnt_ns+0x8c0/0x8c0 [ 50.336751] do_syscall_64+0x1e8/0x640 [ 50.340634] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.345476] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 50.350764] RIP: 0033:0x44b9ca [ 50.353947] RSP: 002b:00007ffe893baa08 EFLAGS: 00000293 ORIG_RAX: 00000000000000a5 [ 50.361690] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000044b9ca [ 50.368953] RDX: 00007ffe893baa50 RSI: 00000000200001c0 RDI: 00007ffe893baa70 [ 50.376361] RBP: 0000000000000000 R08: 00007ffe893baab0 R09: 0000000000000000 [ 50.383796] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 [ 50.391295] R13: 00000000004060a0 R14: 0000000000000000 R15: 0000000000000000 [ 50.398693] Code: 84 c0 74 08 3c 03 0f 8e 59 02 00 00 48 8b 45 80 c7 80 10 01 00 00 00 00 00 00 e9 e2 f8 ff ff e8 08 e1 c2 fe 0f 0b e8 01 e1 c2 fe <0f> 0b 48 89 f7 e8 d7 70 ed fe e9 ad f8 ff ff e8 ed e0 c2 fe 0f [ 50.417892] RIP: __btrfs_close_devices+0x7df/0xa90 RSP: ffff88807916f700 [ 50.426479] ---[ end trace 1c2cdd46ce6dae39 ]--- [ 50.432495] Kernel panic - not syncing: Fatal exception [ 50.439493] Kernel Offset: disabled [ 50.443120] Rebooting in 86400 seconds..