bond0 (unregistering): Releasing backup interface bond_slave_1 bond0 (unregistering): Releasing backup interface bond_slave_0 bond0 (unregistering): Released all slaves Bluetooth: hci0 command 0x0c20 tx timeout ================================================================== BUG: KASAN: use-after-free in __queue_work+0xc2f/0xf70 kernel/workqueue.c:1385 Read of size 4 at addr ffff8880a8235e00 by task kworker/0:1/14106 CPU: 0 PID: 14106 Comm: kworker/0:1 Not tainted 4.14.195-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events hci_cmd_timeout Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x194 mm/kasan/report.c:351 kasan_report mm/kasan/report.c:409 [inline] __asan_report_load4_noabort+0x68/0x70 mm/kasan/report.c:429 __queue_work+0xc2f/0xf70 kernel/workqueue.c:1385 queue_work_on+0x159/0x1d0 kernel/workqueue.c:1490 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Allocated by task 2582: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 __do_kmalloc mm/slab.c:3720 [inline] __kmalloc+0x15a/0x400 mm/slab.c:3729 kmalloc include/linux/slab.h:493 [inline] kzalloc include/linux/slab.h:661 [inline] __alloc_workqueue_key+0x10e/0x1080 kernel/workqueue.c:3996 hci_register_dev+0x1a0/0x800 net/bluetooth/hci_core.c:3099 __vhci_create_device+0x28d/0x540 drivers/bluetooth/hci_vhci.c:139 vhci_create_device drivers/bluetooth/hci_vhci.c:163 [inline] vhci_open_timeout+0x35/0x50 drivers/bluetooth/hci_vhci.c:319 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Freed by task 14129: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xc9/0x250 mm/slab.c:3815 __rcu_reclaim kernel/rcu/rcu.h:195 [inline] rcu_do_batch kernel/rcu/tree.c:2699 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x780/0x1180 kernel/rcu/tree.c:2946 __do_softirq+0x254/0xa1d kernel/softirq.c:288 The buggy address belongs to the object at ffff8880a8235c80 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 384 bytes inside of 512-byte region [ffff8880a8235c80, ffff8880a8235e80) The buggy address belongs to the page: page:ffffea0002a08d40 count:1 mapcount:0 mapping:ffff8880a8235000 index:0xffff8880a8235a00 flags: 0xfffe0000000100(slab) raw: 00fffe0000000100 ffff8880a8235000 ffff8880a8235a00 0000000100000001 raw: ffffea00015033a0 ffffea00027f9060 ffff88812fe52940 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a8235d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880a8235d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8880a8235e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880a8235e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880a8235f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================