================================================================== BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 kernel/locking/lockdep.c:3295 Read of size 8 at addr ffff888090e674e0 by task kworker/0:0/27950 CPU: 0 PID: 27950 Comm: kworker/0:0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: events sco_sock_timeout 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 __lock_acquire+0x2cb4/0x3ff0 kernel/locking/lockdep.c:3295 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:329 [inline] sco_sock_timeout+0x7b/0x1b0 net/bluetooth/sco.c:95 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 Allocated by task 33: __do_kmalloc_node mm/slab.c:3689 [inline] __kmalloc_node_track_caller+0x4c/0x70 mm/slab.c:3703 __kmalloc_reserve net/core/skbuff.c:137 [inline] __alloc_skb+0xae/0x560 net/core/skbuff.c:205 skb_copy+0x139/0x2f0 net/core/skbuff.c:1358 kauditd_send_multicast_skb+0x56/0x160 kernel/audit.c:806 kauditd_send_queue+0x52/0x170 kernel/audit.c:737 kauditd_thread+0x5c0/0x7a0 kernel/audit.c:868 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Freed by task 33: __cache_free mm/slab.c:3503 [inline] kfree+0xcc/0x210 mm/slab.c:3822 skb_free_head net/core/skbuff.c:563 [inline] pskb_expand_head+0x327/0xf20 net/core/skbuff.c:1506 netlink_trim+0x200/0x250 net/netlink/af_netlink.c:1307 netlink_broadcast_filtered+0x61/0xbc0 net/netlink/af_netlink.c:1504 netlink_broadcast+0x35/0x40 net/netlink/af_netlink.c:1549 nlmsg_multicast include/net/netlink.h:591 [inline] kauditd_send_multicast_skb+0x125/0x160 kernel/audit.c:812 kauditd_send_queue+0x52/0x170 kernel/audit.c:737 kauditd_thread+0x5c0/0x7a0 kernel/audit.c:868 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 ffff888090e67440 which belongs to the cache kmalloc-2048 of size 2048 The buggy address is located 160 bytes inside of 2048-byte region [ffff888090e67440, ffff888090e67c40) The buggy address belongs to the page: page:ffffea0002439980 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0xffff888090e67440 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea0002ab0388 ffffea000140ad08 ffff88813bff0c40 raw: ffff888090e67440 ffff888090e66340 0000000100000002 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888090e67380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888090e67400: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb >ffff888090e67480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888090e67500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888090e67580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================