Out of memory (oom_kill_allocating_task): Kill process 8078 (syz-fuzzer) score 0 or sacrifice child
Killed process 8106 (syz-executor.3) total-vm:48476kB, anon-rss:360kB, file-rss:4kB, shmem-rss:0kB
oom_reaper: reaped process 8106 (syz-executor.3), now anon-rss:0kB, file-rss:14336kB, shmem-rss:0kB
==================================================================
BUG: KASAN: use-after-free in __list_del_entry_valid+0xe0/0xf0 lib/list_debug.c:51
Read of size 8 at addr ffff8880a762ac60 by task syz-executor.3/8111

CPU: 1 PID: 8111 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256
 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354
 kasan_report mm/kasan/report.c:412 [inline]
 __asan_report_load8_noabort+0x88/0x90 mm/kasan/report.c:433
 __list_del_entry_valid+0xe0/0xf0 lib/list_debug.c:51
 __list_del_entry include/linux/list.h:117 [inline]
 list_del include/linux/list.h:125 [inline]
 klist_release lib/klist.c:190 [inline]
 kref_put include/linux/kref.h:70 [inline]
 klist_dec_and_del+0x97/0x480 lib/klist.c:207
 klist_put+0x7a/0x150 lib/klist.c:218
 device_del+0x162/0xaf0 drivers/base/core.c:2321
 hci_conn_del_sysfs+0xdc/0x180 net/bluetooth/hci_sysfs.c:78
 hci_conn_cleanup+0x24b/0x550 net/bluetooth/hci_conn.c:128
 hci_conn_del+0x2a0/0x780 net/bluetooth/hci_conn.c:611
 hci_conn_hash_flush+0x19c/0x260 net/bluetooth/hci_conn.c:1513
 hci_dev_do_close+0x6bc/0x1020 net/bluetooth/hci_core.c:1687
 hci_unregister_dev+0x14f/0x460 net/bluetooth/hci_core.c:3288
 vhci_release+0x70/0xe0 drivers/bluetooth/hci_vhci.c:354
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbf3/0x2be0 kernel/exit.c:870
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7efd83c2dc9c
Code: Bad RIP value.
RSP: 002b:00007ffcf8592620 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffe00 RBX: 00007ffcf85926d0 RCX: 00007efd83c2dc9c
RDX: 0000000000000040 RSI: 00007efd83d8a020 RDI: 00000000000000f9
RBP: 0000000000000003 R08: 0000000000000000 R09: ff00000000000000
R10: 0000000000000010 R11: 0000000000000246 R12: 0000000000000032
R13: 00000000000dc998 R14: 0000000000000002 R15: 00007ffcf8592710

Allocated by task 7:
 kmem_cache_alloc_trace+0x12f/0x380 mm/slab.c:3625
 kmalloc include/linux/slab.h:515 [inline]
 batadv_forw_packet_alloc+0x386/0x460 net/batman-adv/send.c:537
 batadv_iv_ogm_aggregate_new+0x134/0x4d0 net/batman-adv/bat_iv_ogm.c:749
 batadv_iv_ogm_queue_add net/batman-adv/bat_iv_ogm.c:857 [inline]
 batadv_iv_ogm_schedule_buff+0xeb2/0x1340 net/batman-adv/bat_iv_ogm.c:1032
 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:1052 [inline]
 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:1045 [inline]
 batadv_iv_send_outstanding_bat_ogm_packet+0x68c/0x7a0 net/batman-adv/bat_iv_ogm.c:1871
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

Freed by task 8863:
 __cache_free mm/slab.c:3503 [inline]
 kfree+0xcc/0x210 mm/slab.c:3822
 batadv_iv_send_outstanding_bat_ogm_packet+0x2bd/0x7a0 net/batman-adv/bat_iv_ogm.c:1877
 process_one_work+0x864/0x1570 kernel/workqueue.c:2153
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

The buggy address belongs to the object at ffff8880a762ac00
 which belongs to the cache kmalloc-256 of size 256
The buggy address is located 96 bytes inside of
 256-byte region [ffff8880a762ac00, ffff8880a762ad00)
The buggy address belongs to the page:
page:ffffea00029d8a80 count:1 mapcount:0 mapping:ffff88813bff07c0 index:0x0
flags: 0xfff00000000100(slab)
raw: 00fff00000000100 ffffea00028d4248 ffffea00025298c8 ffff88813bff07c0
raw: 0000000000000000 ffff8880a762a0c0 000000010000000c 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff8880a762ab00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8880a762ab80: 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff8880a762ac00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                                       ^
 ffff8880a762ac80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8880a762ad00: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb
==================================================================