Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.77' (ECDSA) to the list of known hosts. 2021/01/28 13:21:26 parsed 1 programs 2021/01/28 13:21:26 executed programs: 0 syzkaller login: [ 29.938088] IPVS: ftp: loaded support on port[0] = 21 [ 30.020867] chnl_net:caif_netlink_parms(): no params data found [ 30.137302] bridge0: port 1(bridge_slave_0) entered blocking state [ 30.143929] bridge0: port 1(bridge_slave_0) entered disabled state [ 30.150811] device bridge_slave_0 entered promiscuous mode [ 30.158132] bridge0: port 2(bridge_slave_1) entered blocking state [ 30.164998] bridge0: port 2(bridge_slave_1) entered disabled state [ 30.172069] device bridge_slave_1 entered promiscuous mode [ 30.188009] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 30.196576] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 30.213763] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 30.220866] team0: Port device team_slave_0 added [ 30.226504] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 30.233672] team0: Port device team_slave_1 added [ 30.248186] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 30.254576] 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. [ 30.280086] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 30.291423] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 30.297725] 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. [ 30.322971] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 30.333494] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 30.340717] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 30.358552] device hsr_slave_0 entered promiscuous mode [ 30.364152] device hsr_slave_1 entered promiscuous mode [ 30.369952] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 30.377635] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 30.435817] bridge0: port 2(bridge_slave_1) entered blocking state [ 30.442237] bridge0: port 2(bridge_slave_1) entered forwarding state [ 30.449091] bridge0: port 1(bridge_slave_0) entered blocking state [ 30.455496] bridge0: port 1(bridge_slave_0) entered forwarding state [ 30.483182] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 30.489282] 8021q: adding VLAN 0 to HW filter on device bond0 [ 30.498250] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 30.508344] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 30.516728] bridge0: port 1(bridge_slave_0) entered disabled state [ 30.534285] bridge0: port 2(bridge_slave_1) entered disabled state [ 30.544888] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 30.550949] 8021q: adding VLAN 0 to HW filter on device team0 [ 30.559373] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 30.567303] bridge0: port 1(bridge_slave_0) entered blocking state [ 30.573702] bridge0: port 1(bridge_slave_0) entered forwarding state [ 30.582543] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 30.590170] bridge0: port 2(bridge_slave_1) entered blocking state [ 30.596628] bridge0: port 2(bridge_slave_1) entered forwarding state [ 30.613042] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 30.621190] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 30.630358] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 30.643625] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 30.653933] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 30.664760] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 30.671402] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 30.678969] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 30.686720] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 30.697546] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 30.707964] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 30.715203] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 30.722615] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 30.770818] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 30.780037] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 30.810633] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 30.818016] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 30.824713] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 30.834631] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 30.841984] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 30.848729] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 30.857981] device veth0_vlan entered promiscuous mode [ 30.866795] device veth1_vlan entered promiscuous mode [ 30.873159] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 30.881117] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 30.891664] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 30.900420] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 30.908001] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 30.915617] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 30.924751] device veth0_macvtap entered promiscuous mode [ 30.930710] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 30.939649] device veth1_macvtap entered promiscuous mode [ 30.948332] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 30.957434] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 30.966799] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 30.973980] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 30.982628] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 30.991940] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 31.001990] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 31.009073] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 31.971038] Bluetooth: hci0 command 0x0409 tx timeout 2021/01/28 13:21:31 executed programs: 172 [ 34.049423] Bluetooth: hci0 command 0x041b tx timeout [ 36.139448] Bluetooth: hci0 command 0x040f tx timeout [ 38.207813] Bluetooth: hci0 command 0x0419 tx timeout 2021/01/28 13:21:36 executed programs: 499 2021/01/28 13:21:41 executed programs: 1013 [ 48.648937] ================================================================== [ 48.656323] BUG: KASAN: use-after-free in __lock_acquire+0x2c57/0x3f20 [ 48.662965] Read of size 8 at addr ffff8880a5962460 by task syz-executor.0/8009 [ 48.670387] [ 48.671993] CPU: 1 PID: 8009 Comm: syz-executor.0 Not tainted 4.14.217-syzkaller #0 [ 48.679759] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 48.689088] Call Trace: [ 48.691657] dump_stack+0x1b2/0x281 [ 48.695274] print_address_description.cold+0x54/0x1d3 [ 48.700562] kasan_report_error.cold+0x8a/0x191 [ 48.705206] ? __lock_acquire+0x2c57/0x3f20 [ 48.709539] __asan_report_load8_noabort+0x68/0x70 [ 48.714458] ? __lock_acquire+0x2c57/0x3f20 [ 48.718752] __lock_acquire+0x2c57/0x3f20 [ 48.722873] ? lock_acquire+0x170/0x3f0 [ 48.726834] ? lock_downgrade+0x740/0x740 [ 48.730970] ? trace_hardirqs_on+0x10/0x10 [ 48.735196] ? debug_object_assert_init+0x22d/0x2d0 [ 48.740189] ? hci_conn_hash_flush+0x19c/0x260 [ 48.744747] ? debug_object_active_state+0x330/0x330 [ 48.749829] ? lock_acquire+0x170/0x3f0 [ 48.753776] ? l2cap_conn_del+0x363/0x690 [ 48.757896] lock_acquire+0x170/0x3f0 [ 48.761671] ? lock_sock_nested+0x39/0x100 [ 48.765881] _raw_spin_lock_bh+0x2f/0x40 [ 48.769927] ? lock_sock_nested+0x39/0x100 [ 48.774145] lock_sock_nested+0x39/0x100 [ 48.778182] l2cap_sock_teardown_cb+0x93/0x650 [ 48.782754] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 48.787745] l2cap_chan_del+0xaf/0x950 [ 48.791618] l2cap_conn_del+0x36e/0x690 [ 48.795582] ? l2cap_conn_del+0x690/0x690 [ 48.799700] l2cap_disconn_cfm+0x7c/0xb0 [ 48.803738] hci_conn_hash_flush+0x127/0x260 [ 48.808122] hci_dev_do_close+0x535/0xca0 [ 48.812243] ? __fsnotify_inode_delete+0x20/0x20 [ 48.816974] hci_unregister_dev+0x17f/0x8c0 [ 48.821269] ? fcntl_setlk+0xdb0/0xdb0 [ 48.825131] ? vhci_close_dev+0x50/0x50 [ 48.829092] vhci_release+0x70/0xe0 [ 48.832692] __fput+0x25f/0x7a0 [ 48.835947] task_work_run+0x11f/0x190 [ 48.839809] do_exit+0xa44/0x2850 [ 48.843238] ? mm_update_next_owner+0x5b0/0x5b0 [ 48.847878] ? vfs_write+0x319/0x4d0 [ 48.851581] ? SyS_write+0x14d/0x210 [ 48.855270] do_group_exit+0x100/0x2e0 [ 48.859147] SyS_exit_group+0x19/0x20 [ 48.862925] ? do_group_exit+0x2e0/0x2e0 [ 48.866961] do_syscall_64+0x1d5/0x640 [ 48.870823] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 48.876088] RIP: 0033:0x45e219 [ 48.879253] RSP: 002b:00007ffd43319ae8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 48.886934] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045e219 [ 48.894178] RDX: 0000000000417ab1 RSI: 00000000016b9df0 RDI: 0000000000000043 [ 48.901421] RBP: 00000000004c3d3e R08: 000000000000000b R09: 0000000000000000 [ 48.908664] R10: 0000000001d48940 R11: 0000000000000246 R12: 0000000000001342 [ 48.915906] R13: 0000000000000006 R14: 0000000000000032 R15: 000000000000be1a [ 48.923168] [ 48.924770] Allocated by task 14082: [ 48.928459] kasan_kmalloc+0xeb/0x160 [ 48.932231] __kmalloc+0x15a/0x400 [ 48.935746] sk_prot_alloc+0x1ba/0x290 [ 48.939622] sk_alloc+0x36/0xcd0 [ 48.942963] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 48.948040] l2cap_sock_create+0xf0/0x1a0 [ 48.952173] bt_sock_create+0x13b/0x280 [ 48.956127] __sock_create+0x303/0x620 [ 48.959993] SyS_socket+0xd1/0x1b0 [ 48.963515] do_syscall_64+0x1d5/0x640 [ 48.967382] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 48.972540] [ 48.974143] Freed by task 14081: [ 48.977483] kasan_slab_free+0xc3/0x1a0 [ 48.981430] kfree+0xc9/0x250 [ 48.984511] __sk_destruct+0x5e3/0x760 [ 48.988367] __sk_free+0xd9/0x2d0 [ 48.991793] sk_free+0x2b/0x40 [ 48.994961] l2cap_sock_kill.part.0+0x106/0x130 [ 48.999601] l2cap_sock_release+0x1cd/0x280 [ 49.003896] __sock_release+0xcd/0x2b0 [ 49.007755] sock_close+0x15/0x20 [ 49.011218] __fput+0x25f/0x7a0 [ 49.014469] task_work_run+0x11f/0x190 [ 49.018328] exit_to_usermode_loop+0x1ad/0x200 [ 49.022881] do_syscall_64+0x4a3/0x640 [ 49.026742] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 49.031901] [ 49.033510] The buggy address belongs to the object at ffff8880a59623c0 [ 49.033510] which belongs to the cache kmalloc-2048 of size 2048 [ 49.046348] The buggy address is located 160 bytes inside of [ 49.046348] 2048-byte region [ffff8880a59623c0, ffff8880a5962bc0) [ 49.058325] The buggy address belongs to the page: [ 49.063225] page:ffffea0002965880 count:1 mapcount:0 mapping:ffff8880a59623c0 index:0x0 compound_mapcount: 0 [ 49.073164] flags: 0xfff00000008100(slab|head) [ 49.077717] raw: 00fff00000008100 ffff8880a59623c0 0000000000000000 0000000100000003 [ 49.085571] raw: ffffea0002d4a120 ffffea00024865a0 ffff88813fe80c40 0000000000000000 [ 49.093421] page dumped because: kasan: bad access detected [ 49.099101] [ 49.100699] Memory state around the buggy address: [ 49.105600] ffff8880a5962300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 49.112951] ffff8880a5962380: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 49.120282] >ffff8880a5962400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 49.127612] ^ [ 49.134076] ffff8880a5962480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 49.141407] ffff8880a5962500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 49.148736] ================================================================== [ 49.156065] Disabling lock debugging due to kernel taint [ 49.161485] Kernel panic - not syncing: panic_on_warn set ... [ 49.161485] [ 49.168834] CPU: 1 PID: 8009 Comm: syz-executor.0 Tainted: G B 4.14.217-syzkaller #0 [ 49.177814] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 49.187141] Call Trace: [ 49.189708] dump_stack+0x1b2/0x281 [ 49.193308] panic+0x1f9/0x42d [ 49.196494] ? add_taint.cold+0x16/0x16 [ 49.200442] ? lock_downgrade+0x740/0x740 [ 49.204563] kasan_end_report+0x43/0x49 [ 49.208509] kasan_report_error.cold+0xa7/0x191 [ 49.213151] ? __lock_acquire+0x2c57/0x3f20 [ 49.217443] __asan_report_load8_noabort+0x68/0x70 [ 49.222345] ? __lock_acquire+0x2c57/0x3f20 [ 49.226638] __lock_acquire+0x2c57/0x3f20 [ 49.230759] ? lock_acquire+0x170/0x3f0 [ 49.234704] ? lock_downgrade+0x740/0x740 [ 49.238825] ? trace_hardirqs_on+0x10/0x10 [ 49.243035] ? debug_object_assert_init+0x22d/0x2d0 [ 49.248041] ? hci_conn_hash_flush+0x19c/0x260 [ 49.252712] ? debug_object_active_state+0x330/0x330 [ 49.257800] ? lock_acquire+0x170/0x3f0 [ 49.261757] ? l2cap_conn_del+0x363/0x690 [ 49.265898] lock_acquire+0x170/0x3f0 [ 49.269681] ? lock_sock_nested+0x39/0x100 [ 49.273895] _raw_spin_lock_bh+0x2f/0x40 [ 49.277962] ? lock_sock_nested+0x39/0x100 [ 49.282205] lock_sock_nested+0x39/0x100 [ 49.286242] l2cap_sock_teardown_cb+0x93/0x650 [ 49.290797] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 49.295786] l2cap_chan_del+0xaf/0x950 [ 49.299644] l2cap_conn_del+0x36e/0x690 [ 49.303592] ? l2cap_conn_del+0x690/0x690 [ 49.307712] l2cap_disconn_cfm+0x7c/0xb0 [ 49.311766] hci_conn_hash_flush+0x127/0x260 [ 49.316157] hci_dev_do_close+0x535/0xca0 [ 49.320284] ? __fsnotify_inode_delete+0x20/0x20 [ 49.325016] hci_unregister_dev+0x17f/0x8c0 [ 49.329314] ? fcntl_setlk+0xdb0/0xdb0 [ 49.333177] ? vhci_close_dev+0x50/0x50 [ 49.337128] vhci_release+0x70/0xe0 [ 49.340730] __fput+0x25f/0x7a0 [ 49.343984] task_work_run+0x11f/0x190 [ 49.347847] do_exit+0xa44/0x2850 [ 49.351274] ? mm_update_next_owner+0x5b0/0x5b0 [ 49.355922] ? vfs_write+0x319/0x4d0 [ 49.359607] ? SyS_write+0x14d/0x210 [ 49.363293] do_group_exit+0x100/0x2e0 [ 49.367154] SyS_exit_group+0x19/0x20 [ 49.370927] ? do_group_exit+0x2e0/0x2e0 [ 49.374961] do_syscall_64+0x1d5/0x640 [ 49.378826] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 49.383987] RIP: 0033:0x45e219 [ 49.387150] RSP: 002b:00007ffd43319ae8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 49.395004] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045e219 [ 49.402248] RDX: 0000000000417ab1 RSI: 00000000016b9df0 RDI: 0000000000000043 [ 49.409490] RBP: 00000000004c3d3e R08: 000000000000000b R09: 0000000000000000 [ 49.416732] R10: 0000000001d48940 R11: 0000000000000246 R12: 0000000000001342 [ 49.423976] R13: 0000000000000006 R14: 0000000000000032 R15: 000000000000be1a [ 49.431271] Kernel Offset: disabled [ 49.434881] Rebooting in 86400 seconds..