[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.19' (ECDSA) to the list of known hosts. 2020/04/07 21:03:58 parsed 1 programs 2020/04/07 21:04:00 executed programs: 0 syzkaller login: [ 41.340816] audit: type=1400 audit(1586293440.148:8): avc: denied { execmem } for pid=6458 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 41.370305] IPVS: ftp: loaded support on port[0] = 21 [ 41.460666] chnl_net:caif_netlink_parms(): no params data found [ 41.569674] bridge0: port 1(bridge_slave_0) entered blocking state [ 41.576271] bridge0: port 1(bridge_slave_0) entered disabled state [ 41.584294] device bridge_slave_0 entered promiscuous mode [ 41.592163] bridge0: port 2(bridge_slave_1) entered blocking state [ 41.599146] bridge0: port 2(bridge_slave_1) entered disabled state [ 41.606167] device bridge_slave_1 entered promiscuous mode [ 41.624166] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 41.633165] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 41.652863] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 41.660374] team0: Port device team_slave_0 added [ 41.665975] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 41.673866] team0: Port device team_slave_1 added [ 41.690025] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 41.696443] 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. [ 41.722544] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 41.734236] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 41.740570] 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. [ 41.765883] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 41.778330] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 41.785776] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 41.840353] device hsr_slave_0 entered promiscuous mode [ 41.877807] device hsr_slave_1 entered promiscuous mode [ 41.918116] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 41.925269] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 41.997488] bridge0: port 2(bridge_slave_1) entered blocking state [ 42.003948] bridge0: port 2(bridge_slave_1) entered forwarding state [ 42.010907] bridge0: port 1(bridge_slave_0) entered blocking state [ 42.017391] bridge0: port 1(bridge_slave_0) entered forwarding state [ 42.055161] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 42.061798] 8021q: adding VLAN 0 to HW filter on device bond0 [ 42.070447] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 42.081133] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 42.089813] bridge0: port 1(bridge_slave_0) entered disabled state [ 42.096951] bridge0: port 2(bridge_slave_1) entered disabled state [ 42.105177] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 42.115803] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 42.122907] 8021q: adding VLAN 0 to HW filter on device team0 [ 42.132598] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 42.141728] bridge0: port 1(bridge_slave_0) entered blocking state [ 42.148283] bridge0: port 1(bridge_slave_0) entered forwarding state [ 42.158936] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 42.166586] bridge0: port 2(bridge_slave_1) entered blocking state [ 42.173012] bridge0: port 2(bridge_slave_1) entered forwarding state [ 42.188237] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 42.196407] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 42.206866] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 42.221439] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 42.231587] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 42.242879] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 42.250610] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 42.258658] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 42.266762] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 42.280591] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 42.289300] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 42.296151] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 42.309308] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 42.323186] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 42.333423] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 42.371596] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 42.378899] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 42.385448] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 42.398557] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 42.406201] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 42.413821] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 42.423230] device veth0_vlan entered promiscuous mode [ 42.432932] device veth1_vlan entered promiscuous mode [ 42.439516] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 42.448635] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 42.455224] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 42.463774] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 42.476280] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 42.485527] IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready [ 42.492491] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready [ 42.500536] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 42.511316] device veth0_macvtap entered promiscuous mode [ 42.518756] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 42.527033] device veth1_macvtap entered promiscuous mode [ 42.533600] IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready [ 42.542700] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 42.552966] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 42.562521] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 42.570130] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 42.576924] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 42.584470] IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready [ 42.592211] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 42.600118] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 42.611006] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 42.618323] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 42.624896] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 42.632924] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 42.798305] ================================================================== [ 42.805819] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 42.812322] Read of size 8 at addr ffff8880a091cce0 by task syz-executor.0/6689 [ 42.819765] [ 42.821383] CPU: 0 PID: 6689 Comm: syz-executor.0 Not tainted 4.19.114-syzkaller #0 [ 42.829207] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.838550] Call Trace: [ 42.841132] dump_stack+0x188/0x20d [ 42.844847] ? __list_add_valid+0x93/0xa0 [ 42.848983] print_address_description.cold+0x7c/0x212 [ 42.854253] ? __list_add_valid+0x93/0xa0 [ 42.858408] kasan_report.cold+0x88/0x2b9 [ 42.862550] __list_add_valid+0x93/0xa0 [ 42.866513] rdma_listen+0x609/0x880 [ 42.870216] ucma_listen+0x14d/0x1c0 [ 42.873917] ? ucma_notify+0x190/0x190 [ 42.877800] ? __might_fault+0x192/0x1d0 [ 42.881849] ? _copy_from_user+0xd2/0x140 [ 42.885985] ? ucma_notify+0x190/0x190 [ 42.889860] ucma_write+0x285/0x350 [ 42.893485] ? ucma_open+0x280/0x280 [ 42.897319] ? __fget+0x319/0x510 [ 42.900784] __vfs_write+0xf7/0x760 [ 42.904440] ? ucma_open+0x280/0x280 [ 42.908149] ? kernel_read+0x110/0x110 [ 42.912042] ? __inode_security_revalidate+0xd3/0x120 [ 42.917234] ? avc_policy_seqno+0x9/0x70 [ 42.921285] ? selinux_file_permission+0x87/0x520 [ 42.926122] ? security_file_permission+0x84/0x220 [ 42.931065] vfs_write+0x206/0x550 [ 42.934598] ksys_write+0x12b/0x2a0 [ 42.938215] ? __ia32_sys_read+0xb0/0xb0 [ 42.942262] ? __ia32_sys_clock_settime+0x260/0x260 [ 42.947278] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 42.952034] ? trace_hardirqs_off_caller+0x55/0x210 [ 42.957040] ? do_syscall_64+0x21/0x620 [ 42.961003] do_syscall_64+0xf9/0x620 [ 42.964797] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.969969] RIP: 0033:0x45c889 [ 42.973145] Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 42.992045] RSP: 002b:00007f68e4963c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 42.999742] RAX: ffffffffffffffda RBX: 00007f68e49646d4 RCX: 000000000045c889 [ 43.006998] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 43.014261] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 43.021515] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 43.028783] R13: 0000000000000cc0 R14: 00000000004cee8e R15: 000000000076bf0c [ 43.036050] [ 43.037674] Allocated by task 6682: [ 43.041288] kasan_kmalloc+0xbf/0xe0 [ 43.044991] kmem_cache_alloc_trace+0x14d/0x7a0 [ 43.049730] __rdma_create_id+0x5b/0x630 [ 43.053779] ucma_create_id+0x1cb/0x5a0 [ 43.057738] ucma_write+0x285/0x350 [ 43.061356] __vfs_write+0xf7/0x760 [ 43.064968] vfs_write+0x206/0x550 [ 43.068503] ksys_write+0x12b/0x2a0 [ 43.072116] do_syscall_64+0xf9/0x620 [ 43.075907] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.081087] [ 43.082697] Freed by task 6682: [ 43.085962] __kasan_slab_free+0xf7/0x140 [ 43.090107] kfree+0xce/0x220 [ 43.093210] ucma_close+0x10b/0x320 [ 43.096823] __fput+0x2cd/0x890 [ 43.100089] task_work_run+0x13f/0x1b0 [ 43.103982] exit_to_usermode_loop+0x25a/0x2b0 [ 43.108566] do_syscall_64+0x538/0x620 [ 43.112498] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.117676] [ 43.119297] The buggy address belongs to the object at ffff8880a091cb00 [ 43.119297] which belongs to the cache kmalloc-2048 of size 2048 [ 43.132118] The buggy address is located 480 bytes inside of [ 43.132118] 2048-byte region [ffff8880a091cb00, ffff8880a091d300) [ 43.144080] The buggy address belongs to the page: [ 43.148999] page:ffffea0002824700 count:1 mapcount:0 mapping:ffff88812c3dcc40 index:0x0 compound_mapcount: 0 [ 43.158955] flags: 0xfffe0000008100(slab|head) [ 43.163538] raw: 00fffe0000008100 ffffea0002113488 ffffea0002119108 ffff88812c3dcc40 [ 43.171499] raw: 0000000000000000 ffff8880a091c280 0000000100000003 0000000000000000 [ 43.179366] page dumped because: kasan: bad access detected [ 43.185063] [ 43.186675] Memory state around the buggy address: [ 43.191599] ffff8880a091cb80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.199029] ffff8880a091cc00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.206380] >ffff8880a091cc80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.213828] ^ [ 43.220424] ffff8880a091cd00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.227818] ffff8880a091cd80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 43.235160] ================================================================== [ 43.242535] Disabling lock debugging due to kernel taint [ 43.251508] Kernel panic - not syncing: panic_on_warn set ... [ 43.251508] [ 43.258997] CPU: 1 PID: 6689 Comm: syz-executor.0 Tainted: G B 4.19.114-syzkaller #0 [ 43.268186] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.277553] Call Trace: [ 43.280151] dump_stack+0x188/0x20d [ 43.283788] panic+0x26a/0x50e [ 43.287137] ? __warn_printk+0xf3/0xf3 [ 43.291145] ? preempt_schedule_common+0x4a/0xc0 [ 43.295893] ? __list_add_valid+0x93/0xa0 [ 43.300039] ? ___preempt_schedule+0x16/0x18 [ 43.304445] ? trace_hardirqs_on+0x55/0x210 [ 43.308778] ? __list_add_valid+0x93/0xa0 [ 43.312913] kasan_end_report+0x43/0x49 [ 43.316886] kasan_report.cold+0xa4/0x2b9 [ 43.321037] __list_add_valid+0x93/0xa0 [ 43.325010] rdma_listen+0x609/0x880 [ 43.328724] ucma_listen+0x14d/0x1c0 [ 43.332422] ? ucma_notify+0x190/0x190 [ 43.336311] ? __might_fault+0x192/0x1d0 [ 43.340370] ? _copy_from_user+0xd2/0x140 [ 43.344504] ? ucma_notify+0x190/0x190 [ 43.348386] ucma_write+0x285/0x350 [ 43.351999] ? ucma_open+0x280/0x280 [ 43.355695] ? __fget+0x319/0x510 [ 43.359173] __vfs_write+0xf7/0x760 [ 43.362795] ? ucma_open+0x280/0x280 [ 43.366493] ? kernel_read+0x110/0x110 [ 43.370369] ? __inode_security_revalidate+0xd3/0x120 [ 43.375544] ? avc_policy_seqno+0x9/0x70 [ 43.379615] ? selinux_file_permission+0x87/0x520 [ 43.384460] ? security_file_permission+0x84/0x220 [ 43.389387] vfs_write+0x206/0x550 [ 43.392928] ksys_write+0x12b/0x2a0 [ 43.396542] ? __ia32_sys_read+0xb0/0xb0 [ 43.400593] ? __ia32_sys_clock_settime+0x260/0x260 [ 43.405611] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 43.410368] ? trace_hardirqs_off_caller+0x55/0x210 [ 43.415458] ? do_syscall_64+0x21/0x620 [ 43.419440] do_syscall_64+0xf9/0x620 [ 43.423248] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.428444] RIP: 0033:0x45c889 [ 43.431631] Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 43.451399] RSP: 002b:00007f68e4963c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 43.459200] RAX: ffffffffffffffda RBX: 00007f68e49646d4 RCX: 000000000045c889 [ 43.466524] RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000003 [ 43.473797] RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 [ 43.481075] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff [ 43.488343] R13: 0000000000000cc0 R14: 00000000004cee8e R15: 000000000076bf0c [ 43.497107] Kernel Offset: disabled [ 43.500804] Rebooting in 86400 seconds..