Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.55' (ECDSA) to the list of known hosts. syzkaller login: [ 27.692547] IPVS: ftp: loaded support on port[0] = 21 [ 27.758594] chnl_net:caif_netlink_parms(): no params data found [ 27.863716] bridge0: port 1(bridge_slave_0) entered blocking state [ 27.870793] bridge0: port 1(bridge_slave_0) entered disabled state [ 27.877687] device bridge_slave_0 entered promiscuous mode [ 27.885300] bridge0: port 2(bridge_slave_1) entered blocking state [ 27.892096] bridge0: port 2(bridge_slave_1) entered disabled state [ 27.898999] device bridge_slave_1 entered promiscuous mode [ 27.915400] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 27.924445] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 27.941891] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 27.948967] team0: Port device team_slave_0 added [ 27.954866] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 27.962286] team0: Port device team_slave_1 added [ 27.976375] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 27.982659] 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. [ 28.008487] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 28.020642] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 28.026863] 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. [ 28.053025] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 28.063812] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 28.071507] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 28.089247] device hsr_slave_0 entered promiscuous mode [ 28.094795] device hsr_slave_1 entered promiscuous mode [ 28.101179] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 28.108053] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 28.166614] bridge0: port 2(bridge_slave_1) entered blocking state [ 28.173023] bridge0: port 2(bridge_slave_1) entered forwarding state [ 28.179814] bridge0: port 1(bridge_slave_0) entered blocking state [ 28.186156] bridge0: port 1(bridge_slave_0) entered forwarding state [ 28.213595] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 28.220569] 8021q: adding VLAN 0 to HW filter on device bond0 [ 28.228015] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 28.236820] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 28.255698] bridge0: port 1(bridge_slave_0) entered disabled state [ 28.262724] bridge0: port 2(bridge_slave_1) entered disabled state [ 28.272559] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 28.278610] 8021q: adding VLAN 0 to HW filter on device team0 [ 28.286839] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 28.294523] bridge0: port 1(bridge_slave_0) entered blocking state [ 28.300912] bridge0: port 1(bridge_slave_0) entered forwarding state [ 28.310267] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 28.317821] bridge0: port 2(bridge_slave_1) entered blocking state [ 28.324209] bridge0: port 2(bridge_slave_1) entered forwarding state [ 28.339761] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 28.347365] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 28.356104] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 28.364097] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 28.373558] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 28.384152] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 28.390186] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 28.397100] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 28.408575] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 28.418417] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 28.425201] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 28.433485] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 28.474875] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 28.484727] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 28.513976] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 28.521368] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 28.527739] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 28.536558] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 28.544260] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 28.551208] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 28.559735] device veth0_vlan entered promiscuous mode [ 28.567560] device veth1_vlan entered promiscuous mode [ 28.573866] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 28.582230] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 28.593024] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 28.601940] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 28.609463] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 28.616535] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 28.625778] device veth0_macvtap entered promiscuous mode [ 28.631827] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 28.641114] device veth1_macvtap entered promiscuous mode [ 28.650004] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 28.659492] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 28.670030] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 28.676684] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 28.684976] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 28.694291] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 28.701270] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 28.748660] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 29.767658] ================================================================== [ 29.775155] BUG: KASAN: use-after-free in __list_add_valid+0x93/0xa0 [ 29.781629] Read of size 8 at addr ffff8880ae704698 by task syz-executor284/8898 [ 29.789149] [ 29.790784] CPU: 1 PID: 8898 Comm: syz-executor284 Not tainted 4.14.290-syzkaller #0 [ 29.798642] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 29.807977] Call Trace: [ 29.810562] dump_stack+0x1b2/0x281 [ 29.814169] print_address_description.cold+0x54/0x1d3 [ 29.819437] kasan_report_error.cold+0x8a/0x191 [ 29.824113] ? __list_add_valid+0x93/0xa0 [ 29.828237] __asan_report_load8_noabort+0x68/0x70 [ 29.833156] ? __list_add_valid+0x93/0xa0 [ 29.837299] __list_add_valid+0x93/0xa0 [ 29.841283] rdma_listen+0x656/0x9b0 [ 29.844984] ucma_listen+0x10b/0x170 [ 29.848680] ? ucma_bind_ip+0x150/0x150 [ 29.852633] ? _copy_from_user+0x96/0x100 [ 29.856757] ? ucma_bind_ip+0x150/0x150 [ 29.860730] ucma_write+0x206/0x2c0 [ 29.864335] ? ucma_set_ib_path+0x510/0x510 [ 29.868636] ? __switch_to_xtra+0x93/0x12f0 [ 29.872935] ? finish_task_switch+0x178/0x610 [ 29.877411] __vfs_write+0xe4/0x630 [ 29.881016] ? ucma_set_ib_path+0x510/0x510 [ 29.885315] ? lock_downgrade+0x740/0x740 [ 29.889439] ? kernel_read+0x110/0x110 [ 29.893306] ? common_file_perm+0x3ee/0x580 [ 29.897608] ? _raw_spin_unlock_irq+0x5a/0x80 [ 29.902086] ? security_file_permission+0x82/0x1e0 [ 29.906996] ? rw_verify_area+0xe1/0x2a0 [ 29.911035] vfs_write+0x17f/0x4d0 [ 29.914553] SyS_write+0xf2/0x210 [ 29.917998] ? SyS_read+0x210/0x210 [ 29.921607] ? do_syscall_64+0x4c/0x640 [ 29.925573] ? SyS_read+0x210/0x210 [ 29.929178] do_syscall_64+0x1d5/0x640 [ 29.933055] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.938227] RIP: 0033:0x7efc89da5b79 [ 29.941936] RSP: 002b:00007ffd804db7f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 29.949629] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007efc89da5b79 [ 29.956890] RDX: 0000000000000010 RSI: 0000000020000540 RDI: 0000000000000003 [ 29.964138] RBP: 0000000000000000 R08: 000000000000000d R09: 000000000000000d [ 29.971383] R10: 000000000000000d R11: 0000000000000246 R12: 00007ffd804db810 [ 29.978734] R13: 00000000000f4240 R14: 000000000000745a R15: 00007ffd804db804 [ 29.985986] [ 29.987591] Allocated by task 8870: [ 29.991202] kasan_kmalloc+0xeb/0x160 [ 29.994978] kmem_cache_alloc_trace+0x131/0x3d0 [ 29.999621] rdma_create_id+0x57/0x4c0 [ 30.003483] ucma_create_id+0x18b/0x500 [ 30.007434] ucma_write+0x206/0x2c0 [ 30.011037] __vfs_write+0xe4/0x630 [ 30.014638] vfs_write+0x17f/0x4d0 [ 30.018159] SyS_write+0xf2/0x210 [ 30.021591] do_syscall_64+0x1d5/0x640 [ 30.025475] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.030636] [ 30.032238] Freed by task 8870: [ 30.035493] kasan_slab_free+0xc3/0x1a0 [ 30.039440] kfree+0xc9/0x250 [ 30.042528] ucma_close+0x11a/0x340 [ 30.046140] __fput+0x25f/0x7a0 [ 30.049393] task_work_run+0x11f/0x190 [ 30.053255] exit_to_usermode_loop+0x1ad/0x200 [ 30.057815] do_syscall_64+0x4a3/0x640 [ 30.061684] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.066849] [ 30.068456] The buggy address belongs to the object at ffff8880ae7044c0 [ 30.068456] which belongs to the cache kmalloc-1024 of size 1024 [ 30.081310] The buggy address is located 472 bytes inside of [ 30.081310] 1024-byte region [ffff8880ae7044c0, ffff8880ae7048c0) [ 30.093244] The buggy address belongs to the page: [ 30.098149] page:ffffea0002b9c100 count:1 mapcount:0 mapping:ffff8880ae704040 index:0x0 compound_mapcount: 0 [ 30.108091] flags: 0xfff00000008100(slab|head) [ 30.112649] raw: 00fff00000008100 ffff8880ae704040 0000000000000000 0000000100000007 [ 30.120508] raw: ffffea00024f72a0 ffffea0002b0a020 ffff88813fe74ac0 0000000000000000 [ 30.128381] page dumped because: kasan: bad access detected [ 30.134067] [ 30.135669] Memory state around the buggy address: [ 30.140571] ffff8880ae704580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.147918] ffff8880ae704600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.155258] >ffff8880ae704680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.162592] ^ [ 30.166729] ffff8880ae704700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.174064] ffff8880ae704780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 30.181396] ================================================================== [ 30.188755] Disabling lock debugging due to kernel taint [ 30.199256] Kernel panic - not syncing: panic_on_warn set ... [ 30.199256] [ 30.206632] CPU: 1 PID: 8898 Comm: syz-executor284 Tainted: G B 4.14.290-syzkaller #0 [ 30.215714] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 30.225051] Call Trace: [ 30.227616] dump_stack+0x1b2/0x281 [ 30.231219] panic+0x1f9/0x42d [ 30.234394] ? add_taint.cold+0x16/0x16 [ 30.238346] ? ___preempt_schedule+0x16/0x18 [ 30.242730] kasan_end_report+0x43/0x49 [ 30.246678] kasan_report_error.cold+0xa7/0x191 [ 30.251324] ? __list_add_valid+0x93/0xa0 [ 30.255457] __asan_report_load8_noabort+0x68/0x70 [ 30.260362] ? __list_add_valid+0x93/0xa0 [ 30.264485] __list_add_valid+0x93/0xa0 [ 30.268437] rdma_listen+0x656/0x9b0 [ 30.272128] ucma_listen+0x10b/0x170 [ 30.275818] ? ucma_bind_ip+0x150/0x150 [ 30.279769] ? _copy_from_user+0x96/0x100 [ 30.283889] ? ucma_bind_ip+0x150/0x150 [ 30.287857] ucma_write+0x206/0x2c0 [ 30.291460] ? ucma_set_ib_path+0x510/0x510 [ 30.295754] ? __switch_to_xtra+0x93/0x12f0 [ 30.300050] ? finish_task_switch+0x178/0x610 [ 30.304525] __vfs_write+0xe4/0x630 [ 30.308127] ? ucma_set_ib_path+0x510/0x510 [ 30.312422] ? lock_downgrade+0x740/0x740 [ 30.316544] ? kernel_read+0x110/0x110 [ 30.320405] ? common_file_perm+0x3ee/0x580 [ 30.324794] ? _raw_spin_unlock_irq+0x5a/0x80 [ 30.329267] ? security_file_permission+0x82/0x1e0 [ 30.334220] ? rw_verify_area+0xe1/0x2a0 [ 30.338257] vfs_write+0x17f/0x4d0 [ 30.341771] SyS_write+0xf2/0x210 [ 30.345199] ? SyS_read+0x210/0x210 [ 30.348805] ? do_syscall_64+0x4c/0x640 [ 30.352757] ? SyS_read+0x210/0x210 [ 30.356363] do_syscall_64+0x1d5/0x640 [ 30.360230] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.365392] RIP: 0033:0x7efc89da5b79 [ 30.369074] RSP: 002b:00007ffd804db7f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 30.376754] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007efc89da5b79 [ 30.384011] RDX: 0000000000000010 RSI: 0000000020000540 RDI: 0000000000000003 [ 30.391255] RBP: 0000000000000000 R08: 000000000000000d R09: 000000000000000d [ 30.398503] R10: 000000000000000d R11: 0000000000000246 R12: 00007ffd804db810 [ 30.405750] R13: 00000000000f4240 R14: 000000000000745a R15: 00007ffd804db804 [ 30.413169] Kernel Offset: disabled [ 30.416773] Rebooting in 86400 seconds..