[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.92' (ECDSA) to the list of known hosts. 2021/08/24 18:16:22 parsed 1 programs 2021/08/24 18:16:22 executed programs: 0 syzkaller login: [ 1584.071865][ T36] audit: type=1400 audit(1629828982.813:8): avc: denied { execmem } for pid=8445 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 1585.412641][ T8446] chnl_net:caif_netlink_parms(): no params data found [ 1585.471405][ T8446] bridge0: port 1(bridge_slave_0) entered blocking state [ 1585.480933][ T8446] bridge0: port 1(bridge_slave_0) entered disabled state [ 1585.488783][ T8446] device bridge_slave_0 entered promiscuous mode [ 1585.498427][ T8446] bridge0: port 2(bridge_slave_1) entered blocking state [ 1585.506680][ T8446] bridge0: port 2(bridge_slave_1) entered disabled state [ 1585.515936][ T8446] device bridge_slave_1 entered promiscuous mode [ 1585.539119][ T8446] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 1585.551423][ T8446] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 1585.575185][ T8446] team0: Port device team_slave_0 added [ 1585.582807][ T8446] team0: Port device team_slave_1 added [ 1585.600891][ T8446] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 1585.607842][ T8446] 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. [ 1585.634253][ T8446] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 1585.647049][ T8446] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 1585.654078][ T8446] 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. [ 1585.680043][ T8446] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 1585.708054][ T8446] device hsr_slave_0 entered promiscuous mode [ 1585.714929][ T8446] device hsr_slave_1 entered promiscuous mode [ 1585.830365][ T8446] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 1585.841235][ T8446] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 1585.851783][ T8446] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 1585.862026][ T8446] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 1585.886156][ T8446] bridge0: port 2(bridge_slave_1) entered blocking state [ 1585.893462][ T8446] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1585.901516][ T8446] bridge0: port 1(bridge_slave_0) entered blocking state [ 1585.908597][ T8446] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1585.957232][ T8446] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1585.971334][ T3162] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1585.984239][ T3162] bridge0: port 1(bridge_slave_0) entered disabled state [ 1585.993283][ T3162] bridge0: port 2(bridge_slave_1) entered disabled state [ 1586.002529][ T3162] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1586.017388][ T8446] 8021q: adding VLAN 0 to HW filter on device team0 [ 1586.029479][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1586.037878][ T7] bridge0: port 1(bridge_slave_0) entered blocking state [ 1586.044970][ T7] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1586.061842][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1586.070264][ T7] bridge0: port 2(bridge_slave_1) entered blocking state [ 1586.077289][ T7] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1586.093631][ T8668] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1586.102838][ T8668] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1586.123757][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1586.132936][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1586.141368][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1586.152694][ T8446] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1586.170765][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 1586.178244][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 1586.192604][ T8446] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1586.212594][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 1586.232381][ T8670] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 1586.242416][ T8670] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 1586.251490][ T8670] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 1586.262543][ T8446] device veth0_vlan entered promiscuous mode [ 1586.275987][ T8446] device veth1_vlan entered promiscuous mode [ 1586.301260][ T8668] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 1586.310651][ T8668] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 1586.320116][ T8668] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 1586.331779][ T8446] device veth0_macvtap entered promiscuous mode [ 1586.344047][ T8446] device veth1_macvtap entered promiscuous mode [ 1586.363988][ T8446] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 1586.371959][ T8670] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 1586.383086][ T8670] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 1586.396783][ T8446] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 1586.405379][ T8670] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 1586.414550][ T8670] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 1586.426814][ T8446] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 1586.435883][ T8446] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 1586.445424][ T8446] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 1586.455208][ T8446] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 1586.551971][ T192] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1586.568607][ T192] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1586.602692][ T8668] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 1586.617502][ T196] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1586.628232][ T196] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1586.638467][ T8668] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 1587.190531][ T8670] Bluetooth: hci0: command 0x0409 tx timeout 2021/08/24 18:16:28 executed programs: 3 [ 1589.259601][ T8586] Bluetooth: hci0: command 0x041b tx timeout [ 1591.349839][ T7] Bluetooth: hci0: command 0x040f tx timeout [ 1593.418881][ T7] Bluetooth: hci0: command 0x0419 tx timeout 2021/08/24 18:16:33 executed programs: 9 [ 1595.499374][ T7] Bluetooth: hci0: command 0x0405 tx timeout 2021/08/24 18:16:38 executed programs: 15 2021/08/24 18:16:43 executed programs: 21 [ 1606.859228][ T3257] ieee802154 phy0 wpan0: encryption failed: -22 [ 1606.865829][ T3257] ieee802154 phy1 wpan1: encryption failed: -22 2021/08/24 18:16:48 executed programs: 27 2021/08/24 18:16:54 executed programs: 33 2021/08/24 18:16:59 executed programs: 39 2021/08/24 18:17:04 executed programs: 45 2021/08/24 18:17:09 executed programs: 51 [ 1632.457159][ T8667] ================================================================== [ 1632.465234][ T8667] BUG: KASAN: use-after-free in __lock_acquire+0x3d86/0x54a0 [ 1632.472716][ T8667] Read of size 8 at addr ffff8880231b90a0 by task kworker/1:3/8667 [ 1632.480596][ T8667] [ 1632.482910][ T8667] CPU: 1 PID: 8667 Comm: kworker/1:3 Not tainted 5.14.0-rc7-syzkaller #0 [ 1632.491314][ T8667] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1632.501364][ T8667] Workqueue: events l2cap_chan_timeout [ 1632.506892][ T8667] Call Trace: [ 1632.510162][ T8667] dump_stack_lvl+0xcd/0x134 [ 1632.514771][ T8667] print_address_description.constprop.0.cold+0x6c/0x2d6 [ 1632.521803][ T8667] ? __lock_acquire+0x3d86/0x54a0 [ 1632.526822][ T8667] ? __lock_acquire+0x3d86/0x54a0 [ 1632.531835][ T8667] kasan_report.cold+0x83/0xdf [ 1632.536594][ T8667] ? __lock_acquire+0x3d86/0x54a0 [ 1632.541605][ T8667] __lock_acquire+0x3d86/0x54a0 [ 1632.546444][ T8667] ? call_rcu_zapped+0xb0/0xb0 [ 1632.551242][ T8667] ? mark_lock+0xef/0x17b0 [ 1632.555651][ T8667] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [ 1632.561483][ T8667] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 1632.567467][ T8667] ? lock_chain_count+0x20/0x20 [ 1632.572309][ T8667] lock_acquire+0x1ab/0x510 [ 1632.576799][ T8667] ? lock_sock_nested+0x40/0x120 [ 1632.581767][ T8667] ? lock_release+0x720/0x720 [ 1632.586434][ T8667] ? del_timer+0xc5/0x110 [ 1632.590806][ T8667] _raw_spin_lock_bh+0x2f/0x40 [ 1632.595562][ T8667] ? lock_sock_nested+0x40/0x120 [ 1632.600488][ T8667] lock_sock_nested+0x40/0x120 [ 1632.605242][ T8667] l2cap_sock_teardown_cb+0xa1/0x660 [ 1632.610523][ T8667] l2cap_chan_del+0xbc/0xa80 [ 1632.615122][ T8667] l2cap_chan_close+0x1b9/0xaf0 [ 1632.619982][ T8667] ? l2cap_rx+0x1fb0/0x1fb0 [ 1632.624480][ T8667] ? lock_release+0x720/0x720 [ 1632.629144][ T8667] ? lock_downgrade+0x6e0/0x6e0 [ 1632.634161][ T8667] l2cap_chan_timeout+0x17e/0x2f0 [ 1632.639177][ T8667] process_one_work+0x98d/0x1630 [ 1632.644148][ T8667] ? pwq_dec_nr_in_flight+0x320/0x320 [ 1632.649515][ T8667] ? rwlock_bug.part.0+0x90/0x90 [ 1632.654445][ T8667] ? _raw_spin_lock_irq+0x41/0x50 [ 1632.659465][ T8667] worker_thread+0x658/0x11f0 [ 1632.664150][ T8667] ? process_one_work+0x1630/0x1630 [ 1632.669341][ T8667] kthread+0x3e5/0x4d0 [ 1632.673439][ T8667] ? set_kthread_struct+0x130/0x130 [ 1632.678632][ T8667] ret_from_fork+0x1f/0x30 [ 1632.683053][ T8667] [ 1632.685365][ T8667] Allocated by task 9113: [ 1632.689673][ T8667] kasan_save_stack+0x1b/0x40 [ 1632.694370][ T8667] __kasan_kmalloc+0xa1/0xd0 [ 1632.698970][ T8667] __kmalloc+0x214/0x4d0 [ 1632.703201][ T8667] sk_prot_alloc+0x110/0x290 [ 1632.707783][ T8667] sk_alloc+0x32/0xbc0 [ 1632.711845][ T8667] l2cap_sock_alloc.constprop.0+0x31/0x230 [ 1632.717647][ T8667] l2cap_sock_create+0x123/0x1f0 [ 1632.722578][ T8667] bt_sock_create+0x17c/0x340 [ 1632.727286][ T8667] __sock_create+0x353/0x790 [ 1632.731866][ T8667] __sys_socket+0xef/0x200 [ 1632.736362][ T8667] __x64_sys_socket+0x6f/0xb0 [ 1632.741031][ T8667] do_syscall_64+0x35/0xb0 [ 1632.745479][ T8667] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 1632.751365][ T8667] [ 1632.753672][ T8667] Freed by task 9103: [ 1632.757638][ T8667] kasan_save_stack+0x1b/0x40 [ 1632.762328][ T8667] kasan_set_track+0x1c/0x30 [ 1632.766907][ T8667] kasan_set_free_info+0x20/0x30 [ 1632.771835][ T8667] __kasan_slab_free+0xd1/0x110 [ 1632.776674][ T8667] kfree+0x10a/0x2c0 [ 1632.780554][ T8667] __sk_destruct+0x6a8/0x900 [ 1632.785138][ T8667] sk_destruct+0xbd/0xe0 [ 1632.789388][ T8667] __sk_free+0xef/0x3d0 [ 1632.793564][ T8667] sk_free+0x78/0xa0 [ 1632.797468][ T8667] l2cap_sock_kill+0x203/0x240 [ 1632.802225][ T8667] l2cap_sock_release+0x184/0x200 [ 1632.807242][ T8667] __sock_release+0xcd/0x280 [ 1632.811822][ T8667] sock_close+0x18/0x20 [ 1632.815969][ T8667] __fput+0x288/0x920 [ 1632.820010][ T8667] task_work_run+0xdd/0x1a0 [ 1632.824504][ T8667] exit_to_user_mode_prepare+0x27e/0x290 [ 1632.830158][ T8667] syscall_exit_to_user_mode+0x19/0x60 [ 1632.835612][ T8667] do_syscall_64+0x42/0xb0 [ 1632.840020][ T8667] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 1632.845906][ T8667] [ 1632.848214][ T8667] The buggy address belongs to the object at ffff8880231b9000 [ 1632.848214][ T8667] which belongs to the cache kmalloc-2k of size 2048 [ 1632.862253][ T8667] The buggy address is located 160 bytes inside of [ 1632.862253][ T8667] 2048-byte region [ffff8880231b9000, ffff8880231b9800) [ 1632.875602][ T8667] The buggy address belongs to the page: [ 1632.881226][ T8667] page:ffffea00008c6e40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x231b9 [ 1632.891365][ T8667] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 1632.898912][ T8667] raw: 00fff00000000200 ffffea000065bf88 ffffea000090a708 ffff888010840800 [ 1632.907488][ T8667] raw: 0000000000000000 ffff8880231b9000 0000000100000001 0000000000000000 [ 1632.916051][ T8667] page dumped because: kasan: bad access detected [ 1632.922448][ T8667] page_owner tracks the page as allocated [ 1632.928143][ T8667] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x242220(__GFP_HIGH|__GFP_ATOMIC|__GFP_NOWARN|__GFP_COMP|__GFP_THISNODE), pid 8749, ts 1591885137396, free_ts 1591884715131 [ 1632.946795][ T8667] get_page_from_freelist+0xa72/0x2f80 [ 1632.952318][ T8667] __alloc_pages+0x1b2/0x500 [ 1632.956904][ T8667] cache_grow_begin+0x75/0x460 [ 1632.961655][ T8667] cache_alloc_refill+0x27f/0x380 [ 1632.966667][ T8667] __kmalloc+0x3d5/0x4d0 [ 1632.970895][ T8667] sk_prot_alloc+0x110/0x290 [ 1632.975478][ T8667] sk_alloc+0x32/0xbc0 [ 1632.979540][ T8667] l2cap_sock_alloc.constprop.0+0x31/0x230 [ 1632.985357][ T8667] l2cap_sock_create+0x123/0x1f0 [ 1632.990295][ T8667] bt_sock_create+0x17c/0x340 [ 1632.994965][ T8667] __sock_create+0x353/0x790 [ 1632.999547][ T8667] __sys_socket+0xef/0x200 [ 1633.003965][ T8667] __x64_sys_socket+0x6f/0xb0 [ 1633.008645][ T8667] do_syscall_64+0x35/0xb0 [ 1633.013072][ T8667] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 1633.018958][ T8667] page last free stack trace: [ 1633.023610][ T8667] free_pcp_prepare+0x2c5/0x780 [ 1633.028456][ T8667] free_unref_page+0x19/0x690 [ 1633.033140][ T8667] __vunmap+0x783/0xb70 [ 1633.037285][ T8667] free_work+0x58/0x70 [ 1633.041342][ T8667] process_one_work+0x98d/0x1630 [ 1633.046279][ T8667] worker_thread+0x658/0x11f0 [ 1633.050947][ T8667] kthread+0x3e5/0x4d0 [ 1633.055005][ T8667] ret_from_fork+0x1f/0x30 [ 1633.059415][ T8667] [ 1633.061730][ T8667] Memory state around the buggy address: [ 1633.067358][ T8667] ffff8880231b8f80: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc [ 1633.075409][ T8667] ffff8880231b9000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1633.083471][ T8667] >ffff8880231b9080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1633.091521][ T8667] ^ [ 1633.096620][ T8667] ffff8880231b9100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1633.104668][ T8667] ffff8880231b9180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1633.112711][ T8667] ================================================================== [ 1633.120764][ T8667] Disabling lock debugging due to kernel taint [ 1633.126892][ T8667] Kernel panic - not syncing: panic_on_warn set ... [ 1633.133474][ T8667] CPU: 1 PID: 8667 Comm: kworker/1:3 Tainted: G B 5.14.0-rc7-syzkaller #0 [ 1633.143264][ T8667] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1633.153334][ T8667] Workqueue: events l2cap_chan_timeout [ 1633.158839][ T8667] Call Trace: [ 1633.162131][ T8667] dump_stack_lvl+0xcd/0x134 [ 1633.166718][ T8667] panic+0x306/0x73d [ 1633.170636][ T8667] ? __warn_printk+0xf3/0xf3 [ 1633.175218][ T8667] ? __lock_acquire+0x3d86/0x54a0 [ 1633.180239][ T8667] ? __lock_acquire+0x3d86/0x54a0 [ 1633.185260][ T8667] ? __lock_acquire+0x3d86/0x54a0 [ 1633.190284][ T8667] end_report.cold+0x5a/0x5a [ 1633.194869][ T8667] kasan_report.cold+0x71/0xdf [ 1633.199629][ T8667] ? __lock_acquire+0x3d86/0x54a0 [ 1633.204657][ T8667] __lock_acquire+0x3d86/0x54a0 [ 1633.209498][ T8667] ? call_rcu_zapped+0xb0/0xb0 [ 1633.214258][ T8667] ? mark_lock+0xef/0x17b0 [ 1633.218674][ T8667] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [ 1633.224473][ T8667] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 1633.230457][ T8667] ? lock_chain_count+0x20/0x20 [ 1633.235297][ T8667] lock_acquire+0x1ab/0x510 [ 1633.239805][ T8667] ? lock_sock_nested+0x40/0x120 [ 1633.244732][ T8667] ? lock_release+0x720/0x720 [ 1633.249395][ T8667] ? del_timer+0xc5/0x110 [ 1633.253717][ T8667] _raw_spin_lock_bh+0x2f/0x40 [ 1633.258474][ T8667] ? lock_sock_nested+0x40/0x120 [ 1633.263400][ T8667] lock_sock_nested+0x40/0x120 [ 1633.268171][ T8667] l2cap_sock_teardown_cb+0xa1/0x660 [ 1633.273453][ T8667] l2cap_chan_del+0xbc/0xa80 [ 1633.278034][ T8667] l2cap_chan_close+0x1b9/0xaf0 [ 1633.282878][ T8667] ? l2cap_rx+0x1fb0/0x1fb0 [ 1633.287373][ T8667] ? lock_release+0x720/0x720 [ 1633.292038][ T8667] ? lock_downgrade+0x6e0/0x6e0 [ 1633.296877][ T8667] l2cap_chan_timeout+0x17e/0x2f0 [ 1633.301894][ T8667] process_one_work+0x98d/0x1630 [ 1633.306824][ T8667] ? pwq_dec_nr_in_flight+0x320/0x320 [ 1633.312189][ T8667] ? rwlock_bug.part.0+0x90/0x90 [ 1633.317117][ T8667] ? _raw_spin_lock_irq+0x41/0x50 [ 1633.322132][ T8667] worker_thread+0x658/0x11f0 [ 1633.326896][ T8667] ? process_one_work+0x1630/0x1630 [ 1633.332085][ T8667] kthread+0x3e5/0x4d0 [ 1633.336144][ T8667] ? set_kthread_struct+0x130/0x130 [ 1633.341519][ T8667] ret_from_fork+0x1f/0x30 [ 1633.347307][ T8667] Kernel Offset: disabled [ 1633.351627][ T8667] Rebooting in 86400 seconds..