Warning: Permanently added '10.128.0.249' (ECDSA) to the list of known hosts. 2021/08/20 16:07:01 parsed 1 programs 2021/08/20 16:07:02 executed programs: 0 syzkaller login: [ 412.207986][ T35] audit: type=1400 audit(1629475622.039:8): avc: denied { execmem } for pid=8477 comm="syz-executor.0" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 413.526990][ T8478] chnl_net:caif_netlink_parms(): no params data found [ 413.580323][ T8478] bridge0: port 1(bridge_slave_0) entered blocking state [ 413.588893][ T8478] bridge0: port 1(bridge_slave_0) entered disabled state [ 413.597695][ T8478] device bridge_slave_0 entered promiscuous mode [ 413.607126][ T8478] bridge0: port 2(bridge_slave_1) entered blocking state [ 413.614921][ T8478] bridge0: port 2(bridge_slave_1) entered disabled state [ 413.624276][ T8478] device bridge_slave_1 entered promiscuous mode [ 413.647447][ T8478] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 413.659100][ T8478] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 413.684353][ T8478] team0: Port device team_slave_0 added [ 413.691475][ T8478] team0: Port device team_slave_1 added [ 413.710271][ T8478] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 413.717581][ T8478] 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. [ 413.743986][ T8478] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 413.756761][ T8478] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 413.763817][ T8478] 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. [ 413.789836][ T8478] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 413.818492][ T8478] device hsr_slave_0 entered promiscuous mode [ 413.825222][ T8478] device hsr_slave_1 entered promiscuous mode [ 413.939221][ T8478] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 413.950122][ T8478] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 413.961922][ T8478] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 413.973766][ T8478] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 413.998891][ T8478] bridge0: port 2(bridge_slave_1) entered blocking state [ 414.006052][ T8478] bridge0: port 2(bridge_slave_1) entered forwarding state [ 414.014068][ T8478] bridge0: port 1(bridge_slave_0) entered blocking state [ 414.021148][ T8478] bridge0: port 1(bridge_slave_0) entered forwarding state [ 414.070006][ T8478] 8021q: adding VLAN 0 to HW filter on device bond0 [ 414.085224][ T56] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 414.096977][ T56] bridge0: port 1(bridge_slave_0) entered disabled state [ 414.106483][ T56] bridge0: port 2(bridge_slave_1) entered disabled state [ 414.115386][ T56] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 414.130416][ T8478] 8021q: adding VLAN 0 to HW filter on device team0 [ 414.144012][ T8701] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 414.154369][ T8701] bridge0: port 1(bridge_slave_0) entered blocking state [ 414.161401][ T8701] bridge0: port 1(bridge_slave_0) entered forwarding state [ 414.173314][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 414.181943][ T8618] bridge0: port 2(bridge_slave_1) entered blocking state [ 414.189017][ T8618] bridge0: port 2(bridge_slave_1) entered forwarding state [ 414.217436][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 414.225899][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 414.234828][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 414.244011][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 414.252656][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 414.264335][ T8478] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 414.282873][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 414.290263][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 414.304085][ T8478] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 414.326814][ T8701] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 414.349788][ T8478] device veth0_vlan entered promiscuous mode [ 414.357594][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 414.366337][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 414.375541][ T8618] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 414.389301][ T8478] device veth1_vlan entered promiscuous mode [ 414.411857][ T8478] device veth0_macvtap entered promiscuous mode [ 414.421017][ T8699] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 414.429924][ T8699] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 414.438888][ T8699] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 414.448661][ T8699] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 414.460749][ T8478] device veth1_macvtap entered promiscuous mode [ 414.478185][ T8478] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 414.485651][ T8701] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 414.495504][ T8701] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 414.507437][ T8478] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 414.515823][ T8701] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 414.524363][ T8701] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 414.536393][ T8478] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 414.546079][ T8478] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 414.555657][ T8478] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 414.565230][ T8478] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 414.665943][ T8643] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 414.678587][ T8643] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 414.710953][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 414.724439][ T194] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 414.734524][ T194] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 414.747669][ T7] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 415.293682][ T7] Bluetooth: hci0: command 0x0409 tx timeout 2021/08/20 16:07:07 executed programs: 3 [ 417.373063][ T7] Bluetooth: hci0: command 0x041b tx timeout [ 419.462378][ T8704] Bluetooth: hci0: command 0x040f tx timeout [ 421.532209][ T3164] Bluetooth: hci0: command 0x0419 tx timeout 2021/08/20 16:07:12 executed programs: 9 [ 423.622168][ T8704] Bluetooth: hci0: command 0x0405 tx timeout 2021/08/20 16:07:17 executed programs: 15 2021/08/20 16:07:22 executed programs: 21 2021/08/20 16:07:28 executed programs: 27 [ 439.612594][ T3258] ieee802154 phy0 wpan0: encryption failed: -22 [ 439.619115][ T3258] ieee802154 phy1 wpan1: encryption failed: -22 2021/08/20 16:07:33 executed programs: 33 2021/08/20 16:07:38 executed programs: 39 2021/08/20 16:07:43 executed programs: 45 [ 457.531851][ T8704] ================================================================== [ 457.539961][ T8704] BUG: KASAN: use-after-free in __lock_acquire+0x3d86/0x54a0 [ 457.547456][ T8704] Read of size 8 at addr ffff888028a000a0 by task kworker/0:5/8704 [ 457.555357][ T8704] [ 457.557676][ T8704] CPU: 0 PID: 8704 Comm: kworker/0:5 Not tainted 5.14.0-rc6-syzkaller #0 [ 457.566080][ T8704] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 457.576125][ T8704] Workqueue: events l2cap_chan_timeout [ 457.581678][ T8704] Call Trace: [ 457.584947][ T8704] dump_stack_lvl+0xcd/0x134 [ 457.589561][ T8704] print_address_description.constprop.0.cold+0x6c/0x2d6 [ 457.596592][ T8704] ? __lock_acquire+0x3d86/0x54a0 [ 457.601611][ T8704] ? __lock_acquire+0x3d86/0x54a0 [ 457.606626][ T8704] kasan_report.cold+0x83/0xdf [ 457.611385][ T8704] ? __lock_acquire+0x3d86/0x54a0 [ 457.616398][ T8704] __lock_acquire+0x3d86/0x54a0 [ 457.621240][ T8704] ? call_rcu_zapped+0xb0/0xb0 [ 457.625999][ T8704] ? mark_lock+0xef/0x17b0 [ 457.630405][ T8704] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [ 457.636286][ T8704] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 457.642255][ T8704] ? lock_chain_count+0x20/0x20 [ 457.647097][ T8704] lock_acquire+0x1ab/0x510 [ 457.651606][ T8704] ? lock_sock_nested+0x40/0x120 [ 457.656577][ T8704] ? lock_release+0x720/0x720 [ 457.661257][ T8704] ? del_timer+0xc5/0x110 [ 457.665613][ T8704] _raw_spin_lock_bh+0x2f/0x40 [ 457.670371][ T8704] ? lock_sock_nested+0x40/0x120 [ 457.675299][ T8704] lock_sock_nested+0x40/0x120 [ 457.680055][ T8704] l2cap_sock_teardown_cb+0xa1/0x660 [ 457.685345][ T8704] l2cap_chan_del+0xbc/0xa80 [ 457.690188][ T8704] l2cap_chan_close+0x1b9/0xaf0 [ 457.695048][ T8704] ? l2cap_rx+0x1fb0/0x1fb0 [ 457.699546][ T8704] ? lock_release+0x720/0x720 [ 457.704227][ T8704] ? lock_downgrade+0x6e0/0x6e0 [ 457.709069][ T8704] ? do_raw_spin_lock+0x120/0x2b0 [ 457.714085][ T8704] l2cap_chan_timeout+0x17e/0x2f0 [ 457.719120][ T8704] process_one_work+0x98d/0x1630 [ 457.724125][ T8704] ? pwq_dec_nr_in_flight+0x320/0x320 [ 457.729492][ T8704] ? rwlock_bug.part.0+0x90/0x90 [ 457.734426][ T8704] ? __sanitizer_cov_trace_const_cmp1+0x22/0x80 [ 457.740690][ T8704] ? __sanitizer_cov_trace_const_cmp8+0x1d/0x70 [ 457.746924][ T8704] ? move_linked_works+0x1ec/0x2f0 [ 457.752032][ T8704] worker_thread+0x658/0x11f0 [ 457.756703][ T8704] ? process_one_work+0x1630/0x1630 [ 457.761907][ T8704] kthread+0x3e5/0x4d0 [ 457.766000][ T8704] ? set_kthread_struct+0x130/0x130 [ 457.771193][ T8704] ret_from_fork+0x1f/0x30 [ 457.775613][ T8704] [ 457.777920][ T8704] Allocated by task 9126: [ 457.782245][ T8704] kasan_save_stack+0x1b/0x40 [ 457.786943][ T8704] __kasan_kmalloc+0x98/0xc0 [ 457.791523][ T8704] kmem_cache_alloc_trace+0x1e4/0x480 [ 457.796881][ T8704] l2cap_chan_create+0x40/0x570 [ 457.801740][ T8704] l2cap_sock_alloc.constprop.0+0x185/0x230 [ 457.807627][ T8704] l2cap_sock_create+0x123/0x1f0 [ 457.812560][ T8704] bt_sock_create+0x17c/0x340 [ 457.817288][ T8704] __sock_create+0x353/0x790 [ 457.821903][ T8704] __sys_socket+0xef/0x200 [ 457.826325][ T8704] __x64_sys_socket+0x6f/0xb0 [ 457.830997][ T8704] do_syscall_64+0x35/0xb0 [ 457.835419][ T8704] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 457.841316][ T8704] [ 457.843623][ T8704] Freed by task 9126: [ 457.847584][ T8704] kasan_save_stack+0x1b/0x40 [ 457.852250][ T8704] kasan_set_track+0x1c/0x30 [ 457.856831][ T8704] kasan_set_free_info+0x20/0x30 [ 457.861793][ T8704] __kasan_slab_free+0xcd/0x100 [ 457.866629][ T8704] kfree+0x106/0x2c0 [ 457.870509][ T8704] l2cap_chan_put+0x22b/0x2d0 [ 457.875174][ T8704] l2cap_sock_release+0x194/0x200 [ 457.880189][ T8704] __sock_release+0xcd/0x280 [ 457.884766][ T8704] sock_close+0x18/0x20 [ 457.888910][ T8704] __fput+0x288/0x920 [ 457.892937][ T8704] task_work_run+0xdd/0x1a0 [ 457.897426][ T8704] get_signal+0x1b35/0x2160 [ 457.901949][ T8704] arch_do_signal_or_restart+0x2a9/0x1c40 [ 457.907694][ T8704] exit_to_user_mode_prepare+0x17d/0x290 [ 457.913339][ T8704] syscall_exit_to_user_mode+0x19/0x60 [ 457.918785][ T8704] do_syscall_64+0x42/0xb0 [ 457.923204][ T8704] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 457.929088][ T8704] [ 457.931405][ T8704] The buggy address belongs to the object at ffff888028a00000 [ 457.931405][ T8704] which belongs to the cache kmalloc-2k of size 2048 [ 457.945440][ T8704] The buggy address is located 160 bytes inside of [ 457.945440][ T8704] 2048-byte region [ffff888028a00000, ffff888028a00800) [ 457.958794][ T8704] The buggy address belongs to the page: [ 457.964404][ T8704] page:ffffea0000a28000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x28a00 [ 457.974551][ T8704] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 457.982102][ T8704] raw: 00fff00000000200 ffffea0000d52908 ffffea0000652408 ffff888010840800 [ 457.990674][ T8704] raw: 0000000000000000 ffff888028a00000 0000000100000001 0000000000000000 [ 457.999238][ T8704] page dumped because: kasan: bad access detected [ 458.005630][ T8704] page_owner tracks the page as allocated [ 458.011593][ T8704] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x242220(__GFP_HIGH|__GFP_ATOMIC|__GFP_NOWARN|__GFP_COMP|__GFP_THISNODE), pid 8752, ts 417387021137, free_ts 417386072291 [ 458.030075][ T8704] get_page_from_freelist+0xa72/0x2f80 [ 458.035563][ T8704] __alloc_pages+0x1b2/0x500 [ 458.040144][ T8704] cache_grow_begin+0x75/0x460 [ 458.044896][ T8704] cache_alloc_refill+0x27f/0x380 [ 458.049906][ T8704] __kmalloc+0x3d5/0x4d0 [ 458.054134][ T8704] sk_prot_alloc+0x110/0x290 [ 458.058716][ T8704] sk_alloc+0x32/0xbc0 [ 458.062777][ T8704] l2cap_sock_alloc.constprop.0+0x31/0x230 [ 458.068578][ T8704] l2cap_sock_create+0x123/0x1f0 [ 458.073508][ T8704] bt_sock_create+0x17c/0x340 [ 458.078174][ T8704] __sock_create+0x353/0x790 [ 458.082751][ T8704] __sys_socket+0xef/0x200 [ 458.087156][ T8704] __x64_sys_socket+0x6f/0xb0 [ 458.091822][ T8704] do_syscall_64+0x35/0xb0 [ 458.096242][ T8704] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 458.102125][ T8704] page last free stack trace: [ 458.106782][ T8704] free_pcp_prepare+0x2c5/0x780 [ 458.111629][ T8704] free_unref_page+0x19/0x690 [ 458.116299][ T8704] __mmdrop+0xcb/0x3f0 [ 458.120416][ T8704] __mmput+0x3b4/0x470 [ 458.124491][ T8704] mmput+0x58/0x60 [ 458.128204][ T8704] do_exit+0xae2/0x2a60 [ 458.132376][ T8704] do_group_exit+0x125/0x310 [ 458.137051][ T8704] __x64_sys_exit_group+0x3a/0x50 [ 458.142070][ T8704] do_syscall_64+0x35/0xb0 [ 458.146490][ T8704] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 458.152375][ T8704] [ 458.154685][ T8704] Memory state around the buggy address: [ 458.160298][ T8704] ffff8880289fff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 458.168345][ T8704] ffff888028a00000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 458.176391][ T8704] >ffff888028a00080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 458.184434][ T8704] ^ [ 458.189523][ T8704] ffff888028a00100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 458.197564][ T8704] ffff888028a00180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 458.205605][ T8704] ================================================================== [ 458.213642][ T8704] Disabling lock debugging due to kernel taint [ 458.219774][ T8704] Kernel panic - not syncing: panic_on_warn set ... [ 458.226346][ T8704] CPU: 0 PID: 8704 Comm: kworker/0:5 Tainted: G B 5.14.0-rc6-syzkaller #0 [ 458.236142][ T8704] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 458.246198][ T8704] Workqueue: events l2cap_chan_timeout [ 458.251655][ T8704] Call Trace: [ 458.254921][ T8704] dump_stack_lvl+0xcd/0x134 [ 458.259503][ T8704] panic+0x306/0x73d [ 458.263436][ T8704] ? __warn_printk+0xf3/0xf3 [ 458.268019][ T8704] ? __lock_acquire+0x3d86/0x54a0 [ 458.273032][ T8704] ? __lock_acquire+0x3d86/0x54a0 [ 458.278050][ T8704] ? __lock_acquire+0x3d86/0x54a0 [ 458.283072][ T8704] end_report.cold+0x5a/0x5a [ 458.287661][ T8704] kasan_report.cold+0x71/0xdf [ 458.292420][ T8704] ? __lock_acquire+0x3d86/0x54a0 [ 458.297436][ T8704] __lock_acquire+0x3d86/0x54a0 [ 458.302283][ T8704] ? call_rcu_zapped+0xb0/0xb0 [ 458.307044][ T8704] ? mark_lock+0xef/0x17b0 [ 458.311451][ T8704] ? _raw_spin_unlock_irqrestore+0x3d/0x70 [ 458.317260][ T8704] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 458.323227][ T8704] ? lock_chain_count+0x20/0x20 [ 458.328065][ T8704] lock_acquire+0x1ab/0x510 [ 458.332559][ T8704] ? lock_sock_nested+0x40/0x120 [ 458.337485][ T8704] ? lock_release+0x720/0x720 [ 458.342150][ T8704] ? del_timer+0xc5/0x110 [ 458.346472][ T8704] _raw_spin_lock_bh+0x2f/0x40 [ 458.351226][ T8704] ? lock_sock_nested+0x40/0x120 [ 458.356163][ T8704] lock_sock_nested+0x40/0x120 [ 458.360916][ T8704] l2cap_sock_teardown_cb+0xa1/0x660 [ 458.366196][ T8704] l2cap_chan_del+0xbc/0xa80 [ 458.370780][ T8704] l2cap_chan_close+0x1b9/0xaf0 [ 458.375638][ T8704] ? l2cap_rx+0x1fb0/0x1fb0 [ 458.380138][ T8704] ? lock_release+0x720/0x720 [ 458.384802][ T8704] ? lock_downgrade+0x6e0/0x6e0 [ 458.389644][ T8704] ? do_raw_spin_lock+0x120/0x2b0 [ 458.394660][ T8704] l2cap_chan_timeout+0x17e/0x2f0 [ 458.399680][ T8704] process_one_work+0x98d/0x1630 [ 458.404614][ T8704] ? pwq_dec_nr_in_flight+0x320/0x320 [ 458.409990][ T8704] ? rwlock_bug.part.0+0x90/0x90 [ 458.414918][ T8704] ? __sanitizer_cov_trace_const_cmp1+0x22/0x80 [ 458.421146][ T8704] ? __sanitizer_cov_trace_const_cmp8+0x1d/0x70 [ 458.427375][ T8704] ? move_linked_works+0x1ec/0x2f0 [ 458.432478][ T8704] worker_thread+0x658/0x11f0 [ 458.437156][ T8704] ? process_one_work+0x1630/0x1630 [ 458.442342][ T8704] kthread+0x3e5/0x4d0 [ 458.446399][ T8704] ? set_kthread_struct+0x130/0x130 [ 458.451585][ T8704] ret_from_fork+0x1f/0x30 [ 458.457263][ T8704] Kernel Offset: disabled [ 458.461572][ T8704] Rebooting in 86400 seconds..