[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.54' (ECDSA) to the list of known hosts. 2021/07/15 03:56:21 parsed 1 programs 2021/07/15 03:56:21 executed programs: 0 syzkaller login: [ 1580.900357] IPVS: ftp: loaded support on port[0] = 21 [ 1581.017653] chnl_net:caif_netlink_parms(): no params data found [ 1581.111339] bridge0: port 1(bridge_slave_0) entered blocking state [ 1581.118469] bridge0: port 1(bridge_slave_0) entered disabled state [ 1581.126302] device bridge_slave_0 entered promiscuous mode [ 1581.134499] bridge0: port 2(bridge_slave_1) entered blocking state [ 1581.141151] bridge0: port 2(bridge_slave_1) entered disabled state [ 1581.148536] device bridge_slave_1 entered promiscuous mode [ 1581.167024] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 1581.176198] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 1581.196254] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 1581.204246] team0: Port device team_slave_0 added [ 1581.210420] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 1581.217806] team0: Port device team_slave_1 added [ 1581.237162] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 1581.243914] 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. [ 1581.269247] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 1581.281067] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 1581.287325] 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. [ 1581.312680] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 1581.323473] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 1581.331198] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 1581.351843] device hsr_slave_0 entered promiscuous mode [ 1581.357742] device hsr_slave_1 entered promiscuous mode [ 1581.364419] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 1581.371878] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 1581.443165] bridge0: port 2(bridge_slave_1) entered blocking state [ 1581.450101] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1581.457518] bridge0: port 1(bridge_slave_0) entered blocking state [ 1581.463986] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1581.498067] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 1581.505618] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1581.514372] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 1581.524539] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1581.533440] bridge0: port 1(bridge_slave_0) entered disabled state [ 1581.540963] bridge0: port 2(bridge_slave_1) entered disabled state [ 1581.547897] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1581.559703] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 1581.565795] 8021q: adding VLAN 0 to HW filter on device team0 [ 1581.575990] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1581.584410] bridge0: port 1(bridge_slave_0) entered blocking state [ 1581.590858] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1581.600956] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1581.608901] bridge0: port 2(bridge_slave_1) entered blocking state [ 1581.615269] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1581.635556] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 1581.645720] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 1581.656896] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 1581.664799] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1581.672893] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1581.681117] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1581.689262] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1581.697222] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1581.704515] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1581.719313] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 1581.727651] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 1581.734864] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 1581.746028] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1581.760348] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 1581.770399] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 1581.807060] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 1581.814953] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 1581.822729] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 1581.833141] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 1581.841701] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 1581.848987] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 1581.857984] device veth0_vlan entered promiscuous mode [ 1581.867977] device veth1_vlan entered promiscuous mode [ 1581.874166] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 1581.883321] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 1581.895057] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 1581.905588] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 1581.913290] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 1581.920977] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 1581.930859] device veth0_macvtap entered promiscuous mode [ 1581.937036] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 1581.945870] device veth1_macvtap entered promiscuous mode [ 1581.954903] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 1581.964738] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 1581.976158] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 1581.983951] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 1581.993271] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 1582.003806] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 1582.011241] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 1582.017862] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 1582.025957] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 1582.144235] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 1582.151233] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1582.159516] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1582.166906] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 1582.190259] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 1582.196601] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1582.204770] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1582.212945] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 1582.939939] Bluetooth: hci0: command 0x0409 tx timeout [ 1585.018383] Bluetooth: hci0: command 0x041b tx timeout 2021/07/15 03:56:27 executed programs: 4 [ 1587.098568] Bluetooth: hci0: command 0x040f tx timeout [ 1589.177766] Bluetooth: hci0: command 0x0419 tx timeout 2021/07/15 03:56:32 executed programs: 10 [ 1591.267663] Bluetooth: hci0: command 0x0405 tx timeout 2021/07/15 03:56:37 executed programs: 16 2021/07/15 03:56:42 executed programs: 22 2021/07/15 03:56:47 executed programs: 28 [ 1608.617671] ieee802154 phy0 wpan0: encryption failed: -22 [ 1608.623418] ieee802154 phy1 wpan1: encryption failed: -22 2021/07/15 03:56:52 executed programs: 34 2021/07/15 03:56:57 executed programs: 40 2021/07/15 03:57:02 executed programs: 46 2021/07/15 03:57:07 executed programs: 52 2021/07/15 03:57:12 executed programs: 58 [ 1631.655557] ================================================================== [ 1631.662959] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 1631.669644] Read of size 8 at addr ffff8880b5b574e0 by task kworker/1:0/19 [ 1631.676642] [ 1631.678316] CPU: 1 PID: 19 Comm: kworker/1:0 Not tainted 4.19.197-syzkaller #0 [ 1631.685733] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1631.695198] Workqueue: events l2cap_chan_timeout [ 1631.699977] Call Trace: [ 1631.702586] dump_stack+0x1fc/0x2ef [ 1631.706330] print_address_description.cold+0x54/0x219 [ 1631.711709] kasan_report_error.cold+0x8a/0x1b9 [ 1631.716487] ? __lock_acquire+0x2cb4/0x3ff0 [ 1631.721243] __asan_report_load8_noabort+0x88/0x90 [ 1631.726268] ? __lock_acquire+0x2cb4/0x3ff0 [ 1631.730687] __lock_acquire+0x2cb4/0x3ff0 [ 1631.734868] ? trace_hardirqs_off+0x64/0x200 [ 1631.739626] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 1631.744803] ? debug_object_assert_init+0x242/0x2e0 [ 1631.749995] ? mark_held_locks+0xf0/0xf0 [ 1631.754035] ? debug_object_free+0x380/0x380 [ 1631.758430] ? mark_held_locks+0xf0/0xf0 [ 1631.762583] ? __save_stack_trace+0x9f/0x190 [ 1631.766989] ? del_timer+0xc3/0x100 [ 1631.770650] lock_acquire+0x170/0x3c0 [ 1631.774568] ? lock_sock_nested+0x3b/0x110 [ 1631.778898] _raw_spin_lock_bh+0x2f/0x40 [ 1631.782975] ? lock_sock_nested+0x3b/0x110 [ 1631.787192] lock_sock_nested+0x3b/0x110 [ 1631.791264] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 1631.795857] l2cap_chan_del+0xbc/0xa50 [ 1631.799733] ? rcu_nmi_exit+0xb3/0x180 [ 1631.803692] l2cap_chan_close+0x1b5/0x950 [ 1631.807835] ? __set_monitor_timer+0x200/0x200 [ 1631.812503] ? __lock_acquire+0x2853/0x3ff0 [ 1631.816812] ? check_preemption_disabled+0x41/0x280 [ 1631.821828] l2cap_chan_timeout+0x17e/0x2f0 [ 1631.826579] process_one_work+0x864/0x1570 [ 1631.830916] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 1631.835578] worker_thread+0x64c/0x1130 [ 1631.839552] ? process_one_work+0x1570/0x1570 [ 1631.844034] kthread+0x33f/0x460 [ 1631.847414] ? kthread_park+0x180/0x180 [ 1631.851495] ret_from_fork+0x24/0x30 [ 1631.855299] [ 1631.856929] Allocated by task 8429: [ 1631.860734] __kmalloc+0x15a/0x3c0 [ 1631.864269] sk_prot_alloc+0x1e2/0x2d0 [ 1631.868138] sk_alloc+0x36/0xec0 [ 1631.871489] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 1631.876591] l2cap_sock_create+0x123/0x1f0 [ 1631.880968] bt_sock_create+0x154/0x2a0 [ 1631.884945] __sock_create+0x3d8/0x740 [ 1631.888830] __sys_socket+0xef/0x200 [ 1631.892536] __x64_sys_socket+0x6f/0xb0 [ 1631.896504] do_syscall_64+0xf9/0x620 [ 1631.900380] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1631.905550] [ 1631.907246] Freed by task 8429: [ 1631.910527] kfree+0xcc/0x210 [ 1631.913733] __sk_destruct+0x684/0x8a0 [ 1631.917733] __sk_free+0x165/0x3b0 [ 1631.921431] sk_free+0x3b/0x50 [ 1631.924706] l2cap_sock_kill.part.0+0x124/0x150 [ 1631.929390] l2cap_sock_release+0x1e6/0x290 [ 1631.933713] __sock_release+0xcd/0x2a0 [ 1631.937604] sock_close+0x15/0x20 [ 1631.941044] __fput+0x2ce/0x890 [ 1631.944325] task_work_run+0x148/0x1c0 [ 1631.948220] get_signal+0x1b64/0x1f70 [ 1631.952125] do_signal+0x8f/0x1670 [ 1631.955762] exit_to_usermode_loop+0x204/0x2a0 [ 1631.960528] do_syscall_64+0x538/0x620 [ 1631.964435] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1631.969626] [ 1631.971433] The buggy address belongs to the object at ffff8880b5b57440 [ 1631.971433] which belongs to the cache kmalloc-2048 of size 2048 [ 1631.985691] The buggy address is located 160 bytes inside of [ 1631.985691] 2048-byte region [ffff8880b5b57440, ffff8880b5b57c40) [ 1631.997817] The buggy address belongs to the page: [ 1632.002737] page:ffffea0002d6d580 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 [ 1632.012692] flags: 0xfff00000008100(slab|head) [ 1632.017280] raw: 00fff00000008100 ffffea0002d67a88 ffffea0002d6d988 ffff88813bff0c40 [ 1632.025151] raw: 0000000000000000 ffff8880b5b56340 0000000100000003 0000000000000000 [ 1632.033012] page dumped because: kasan: bad access detected [ 1632.038700] [ 1632.040320] Memory state around the buggy address: [ 1632.045244] ffff8880b5b57380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 1632.052605] ffff8880b5b57400: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 1632.059990] >ffff8880b5b57480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.067346] ^ [ 1632.073820] ffff8880b5b57500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.081339] ffff8880b5b57580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.088692] ================================================================== [ 1632.096049] Disabling lock debugging due to kernel taint [ 1632.101573] Kernel panic - not syncing: panic_on_warn set ... [ 1632.101573] [ 1632.108962] CPU: 1 PID: 19 Comm: kworker/1:0 Tainted: G B 4.19.197-syzkaller #0 [ 1632.117839] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1632.127514] Workqueue: events l2cap_chan_timeout [ 1632.132312] Call Trace: [ 1632.134897] dump_stack+0x1fc/0x2ef [ 1632.138518] panic+0x26a/0x50e [ 1632.141772] ? __warn_printk+0xf3/0xf3 [ 1632.145675] ? lock_downgrade+0x720/0x720 [ 1632.149850] ? print_shadow_for_address+0xb8/0x114 [ 1632.154773] ? trace_hardirqs_off+0x64/0x200 [ 1632.159175] kasan_end_report+0x43/0x49 [ 1632.163146] kasan_report_error.cold+0xa7/0x1b9 [ 1632.167816] ? __lock_acquire+0x2cb4/0x3ff0 [ 1632.172136] __asan_report_load8_noabort+0x88/0x90 [ 1632.177069] ? __lock_acquire+0x2cb4/0x3ff0 [ 1632.181375] __lock_acquire+0x2cb4/0x3ff0 [ 1632.185534] ? trace_hardirqs_off+0x64/0x200 [ 1632.189942] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 1632.195037] ? debug_object_assert_init+0x242/0x2e0 [ 1632.200049] ? mark_held_locks+0xf0/0xf0 [ 1632.204093] ? debug_object_free+0x380/0x380 [ 1632.208483] ? mark_held_locks+0xf0/0xf0 [ 1632.212526] ? __save_stack_trace+0x9f/0x190 [ 1632.217127] ? del_timer+0xc3/0x100 [ 1632.220754] lock_acquire+0x170/0x3c0 [ 1632.224546] ? lock_sock_nested+0x3b/0x110 [ 1632.229590] _raw_spin_lock_bh+0x2f/0x40 [ 1632.233648] ? lock_sock_nested+0x3b/0x110 [ 1632.237977] lock_sock_nested+0x3b/0x110 [ 1632.242213] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 1632.246793] l2cap_chan_del+0xbc/0xa50 [ 1632.250683] ? rcu_nmi_exit+0xb3/0x180 [ 1632.254559] l2cap_chan_close+0x1b5/0x950 [ 1632.258710] ? __set_monitor_timer+0x200/0x200 [ 1632.263375] ? __lock_acquire+0x2853/0x3ff0 [ 1632.267694] ? check_preemption_disabled+0x41/0x280 [ 1632.272721] l2cap_chan_timeout+0x17e/0x2f0 [ 1632.277224] process_one_work+0x864/0x1570 [ 1632.281762] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 1632.286426] worker_thread+0x64c/0x1130 [ 1632.290466] ? process_one_work+0x1570/0x1570 [ 1632.295287] kthread+0x33f/0x460 [ 1632.298682] ? kthread_park+0x180/0x180 [ 1632.303065] ret_from_fork+0x24/0x30 [ 1632.308170] Kernel Offset: disabled [ 1632.311921] Rebooting in 86400 seconds..