. [ 36.324686] audit: type=1800 audit(1583235602.668:34): pid=7322 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: [ 40.392287] random: sshd: uninitialized urandom read (32 bytes read) [ 40.651564] audit: type=1400 audit(1583235607.028:35): avc: denied { map } for pid=7494 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 [ 40.696979] random: sshd: uninitialized urandom read (32 bytes read) [ 41.426187] random: sshd: uninitialized urandom read (32 bytes read) [ 109.702655] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.175' (ECDSA) to the list of known hosts. [ 115.235243] random: sshd: uninitialized urandom read (32 bytes read) [ 115.449429] audit: type=1400 audit(1583235681.818:36): avc: denied { map } for pid=7506 comm="syz-execprog" path="/root/syz-execprog" 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 2020/03/03 11:41:21 parsed 1 programs [ 116.024733] random: cc1: uninitialized urandom read (8 bytes read) 2020/03/03 11:41:23 executed programs: 0 [ 116.834092] audit: type=1400 audit(1583235683.208:37): avc: denied { map } for pid=7506 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=1130 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 [ 117.171177] IPVS: ftp: loaded support on port[0] = 21 [ 118.175468] chnl_net:caif_netlink_parms(): no params data found [ 118.229046] bridge0: port 1(bridge_slave_0) entered blocking state [ 118.236120] bridge0: port 1(bridge_slave_0) entered disabled state [ 118.243972] device bridge_slave_0 entered promiscuous mode [ 118.251879] bridge0: port 2(bridge_slave_1) entered blocking state [ 118.258416] bridge0: port 2(bridge_slave_1) entered disabled state [ 118.265642] device bridge_slave_1 entered promiscuous mode [ 118.282525] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 118.291574] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 118.309165] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 118.316515] team0: Port device team_slave_0 added [ 118.322363] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 118.329622] team0: Port device team_slave_1 added [ 118.344627] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 118.351069] 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. [ 118.376377] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 118.387299] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 118.393660] 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. [ 118.419301] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 118.430850] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 118.440939] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 118.502153] device hsr_slave_0 entered promiscuous mode [ 118.571038] device hsr_slave_1 entered promiscuous mode [ 118.611063] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 118.618281] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 118.669144] audit: type=1400 audit(1583235685.038:38): avc: denied { create } for pid=7523 comm="syz-executor.0" 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 [ 118.694347] audit: type=1400 audit(1583235685.038:39): avc: denied { write } for pid=7523 comm="syz-executor.0" 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 [ 118.714087] bridge0: port 2(bridge_slave_1) entered blocking state [ 118.719446] audit: type=1400 audit(1583235685.068:40): avc: denied { read } for pid=7523 comm="syz-executor.0" 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 [ 118.725217] bridge0: port 2(bridge_slave_1) entered forwarding state [ 118.755983] bridge0: port 1(bridge_slave_0) entered blocking state [ 118.762423] bridge0: port 1(bridge_slave_0) entered forwarding state [ 118.796494] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 118.803380] 8021q: adding VLAN 0 to HW filter on device bond0 [ 118.812902] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 118.822890] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 118.842393] bridge0: port 1(bridge_slave_0) entered disabled state [ 118.849509] bridge0: port 2(bridge_slave_1) entered disabled state [ 118.859808] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 118.866168] 8021q: adding VLAN 0 to HW filter on device team0 [ 118.875610] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 118.883283] bridge0: port 1(bridge_slave_0) entered blocking state [ 118.889745] bridge0: port 1(bridge_slave_0) entered forwarding state [ 118.911328] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 118.918955] bridge0: port 2(bridge_slave_1) entered blocking state [ 118.925371] bridge0: port 2(bridge_slave_1) entered forwarding state [ 118.932590] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 118.941711] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 118.949435] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 118.957895] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 118.967973] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 118.977544] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 118.983895] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 118.996721] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 119.005217] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 119.012019] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 119.023615] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 119.085923] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 119.096370] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 119.134229] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 119.142587] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 119.149175] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 119.158722] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 119.166638] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 119.173726] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 119.181336] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 119.190773] device veth0_vlan entered promiscuous mode [ 119.199906] device veth1_vlan entered promiscuous mode [ 119.216035] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 119.226255] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 119.233591] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 119.241872] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 119.252072] device veth0_macvtap entered promiscuous mode [ 119.258579] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 119.267397] device veth1_macvtap entered promiscuous mode [ 119.273920] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 119.283619] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 119.292691] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 119.302749] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 119.309845] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 119.318905] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 119.326407] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 119.333687] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 119.341904] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 119.353362] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 119.360498] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 119.367514] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 119.375472] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 121.379953] ------------[ cut here ]------------ [ 121.384732] kernel BUG at drivers/dma-buf/dma-buf.c:68! [ 121.391596] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 121.396951] Modules linked in: [ 121.400136] CPU: 0 PID: 7780 Comm: syz-executor.0 Not tainted 4.14.172-syzkaller #0 [ 121.408044] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 121.417388] task: ffff88809f26e140 task.stack: ffff888097500000 [ 121.423436] RIP: 0010:dma_buf_release+0x313/0x5c0 [ 121.428270] RSP: 0018:ffff888097507dc0 EFLAGS: 00010297 [ 121.433618] RAX: ffff88809f26e140 RBX: ffff88808f3270c0 RCX: 1ffffffff14cb674 [ 121.442622] RDX: 0000000000000000 RSI: ffff88808f3270c0 RDI: ffff88808f872178 [ 121.449881] RBP: ffff88808f872000 R08: 0000000000000000 R09: 0000000000000000 [ 121.457154] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808f3270e8 [ 121.464414] R13: ffff88808f32713c R14: ffffffff83a4c360 R15: ffff88808f3270d0 [ 121.471674] FS: 0000000002739940(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 [ 121.479891] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 121.485757] CR2: 000000000076c000 CR3: 000000009746d000 CR4: 00000000001406f0 [ 121.493021] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 121.500397] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 121.507651] Call Trace: [ 121.510229] ? ima_file_free+0x4f/0x330 [ 121.514186] ? dma_buf_debug_show+0xee0/0xee0 [ 121.518664] __fput+0x25f/0x790 [ 121.521941] task_work_run+0x113/0x190 [ 121.525811] exit_to_usermode_loop+0x1d6/0x220 [ 121.530382] do_syscall_64+0x4a3/0x640 [ 121.534310] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 121.539512] RIP: 0033:0x416011 [ 121.542682] RSP: 002b:00007ffd7703d720 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 [ 121.550397] RAX: 0000000000000000 RBX: 0000000000000009 RCX: 0000000000416011 [ 121.557650] RDX: 0000000000000000 RSI: 0000000000000081 RDI: 0000000000000008 [ 121.564904] RBP: 0000000000000000 R08: 0000000000000000 R09: 01ffffffffffffff [ 121.572193] R10: 0000000000770938 R11: 0000000000000293 R12: 000000000076bf20 [ 121.579463] R13: 0000000000770948 R14: 0000000000000000 R15: 000000000076bf2c [ 121.586765] Code: 31 e4 e8 61 1f ad fd 48 89 ef e8 49 a9 de fd e8 d4 7e b5 fd 44 89 e0 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 bd 7e b5 fd <0f> 0b e8 b6 7e b5 fd e8 01 2c a6 fd 48 8d bd 38 02 00 00 48 b8 [ 121.605888] RIP: dma_buf_release+0x313/0x5c0 RSP: ffff888097507dc0 [ 121.613371] ---[ end trace dcfc34e4eb362004 ]--- [ 121.618144] Kernel panic - not syncing: Fatal exception [ 121.626024] Kernel Offset: disabled [ 121.629680] Rebooting in 86400 seconds..