==================================================================
BUG: KASAN: use-after-free in __mutex_waiter_is_first kernel/locking/mutex.c:199 [inline]
BUG: KASAN: use-after-free in __mutex_lock_common kernel/locking/mutex.c:694 [inline]
BUG: KASAN: use-after-free in __mutex_lock+0x1861/0x1b90 kernel/locking/mutex.c:776
Read of size 8 at addr ffff888053fb40a8 by task khidpd_15c30006/22170
CPU: 0 UID: 0 PID: 22170 Comm: khidpd_15c30006 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x156/0x4c9 mm/kasan/report.c:482
kasan_report+0xdf/0x1a0 mm/kasan/report.c:595
__mutex_waiter_is_first kernel/locking/mutex.c:199 [inline]
__mutex_lock_common kernel/locking/mutex.c:694 [inline]
__mutex_lock+0x1861/0x1b90 kernel/locking/mutex.c:776
l2cap_unregister_user+0x71/0x240 net/bluetooth/l2cap_core.c:1729
hidp_session_thread+0x459/0x680 net/bluetooth/hidp/core.c:1304
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x53fb4
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
raw: 0000000000000000 0000000080130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
head: 0000000000000000 0000000080130013 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00014fed01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 14725, tgid 14725 (kworker/u8:22), ts 1656661632613, free_ts 1656577721316
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1e1/0x250 mm/page_alloc.c:1884
prep_new_page mm/page_alloc.c:1892 [inline]
get_page_from_freelist+0xe3d/0x2e10 mm/page_alloc.c:3945
__alloc_frozen_pages_noprof+0x26c/0x2410 mm/page_alloc.c:5240
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
alloc_slab_page mm/slub.c:3075 [inline]
allocate_slab mm/slub.c:3248 [inline]
new_slab+0x2c4/0x440 mm/slub.c:3302
___slab_alloc+0xda3/0x1ca0 mm/slub.c:4656
__slab_alloc.isra.0+0x63/0x110 mm/slub.c:4779
__slab_alloc_node mm/slub.c:4855 [inline]
slab_alloc_node mm/slub.c:5251 [inline]
kmem_cache_alloc_node_noprof+0x51e/0x880 mm/slub.c:5315
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:586
__alloc_skb+0x186/0x410 net/core/skbuff.c:690
alloc_skb include/linux/skbuff.h:1383 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
inet6_rt_notify+0x1d2/0x4c0 net/ipv6/route.c:6356
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
page last free pid 21659 tgid 21659 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1433 [inline]
__free_frozen_pages+0x822/0x1130 mm/page_alloc.c:2973
hci_release_dev+0x4ef/0x630 net/bluetooth/hci_core.c:2776
bt_host_release+0x6a/0xb0 net/bluetooth/hci_sysfs.c:87
device_release+0xa4/0x240 drivers/base/core.c:2565
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x1f7/0x640 lib/kobject.c:737
put_device+0x1f/0x30 drivers/base/core.c:3797
vhci_release+0x185/0x230 drivers/bluetooth/hci_vhci.c:691
__fput+0x3ff/0xb40 fs/file_table.c:468
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x829/0x2a30 kernel/exit.c:971
do_group_exit+0xd5/0x2a0 kernel/exit.c:1112
get_signal+0x1ec7/0x21e0 kernel/signal.c:3034
arch_do_signal_or_restart+0x91/0x7a0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:41 [inline]
exit_to_user_mode_loop+0x86/0x4b0 kernel/entry/common.c:75
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
do_syscall_64+0x4fe/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff888053fb3f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888053fb4000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888053fb4080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888053fb4100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888053fb4180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline]
BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x23b/0x260 kernel/locking/spinlock_debug.c:115
Read of size 4 at addr ffff888053fb4064 by task khidpd_15c30006/22170
CPU: 0 UID: 0 PID: 22170 Comm: khidpd_15c30006 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x156/0x4c9 mm/kasan/report.c:482
kasan_report+0xdf/0x1a0 mm/kasan/report.c:595
debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline]
do_raw_spin_lock+0x23b/0x260 kernel/locking/spinlock_debug.c:115
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline]
_raw_spin_lock_irqsave+0x42/0x60 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline]
set_task_blocked_on include/linux/sched.h:2169 [inline]
__mutex_lock_common kernel/locking/mutex.c:701 [inline]
__mutex_lock+0xcc7/0x1b90 kernel/locking/mutex.c:776
l2cap_unregister_user+0x71/0x240 net/bluetooth/l2cap_core.c:1729
hidp_session_thread+0x459/0x680 net/bluetooth/hidp/core.c:1304
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Allocated by task 14725:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:340 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:366
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4953 [inline]
slab_alloc_node mm/slub.c:5263 [inline]
kmem_cache_alloc_node_noprof+0x303/0x880 mm/slub.c:5315
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:586
__alloc_skb+0x186/0x410 net/core/skbuff.c:690
alloc_skb include/linux/skbuff.h:1383 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
inet6_rt_notify+0x1d2/0x4c0 net/ipv6/route.c:6356
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
addrconf_dad_work+0x83c/0x1360 net/ipv6/addrconf.c:4268
process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x5da/0xe40 kernel/workqueue.c:3421
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Freed by task 14725:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:253 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2540 [inline]
slab_free mm/slub.c:6674 [inline]
kmem_cache_free+0x143/0x720 mm/slub.c:6789
skb_kfree_head net/core/skbuff.c:1066 [inline]
skb_kfree_head net/core/skbuff.c:1063 [inline]
skb_free_head+0x1c6/0x220 net/core/skbuff.c:1080
skb_release_data+0x540/0x700 net/core/skbuff.c:1107
skb_release_all net/core/skbuff.c:1182 [inline]
__kfree_skb net/core/skbuff.c:1196 [inline]
consume_skb net/core/skbuff.c:1429 [inline]
consume_skb+0xc4/0x110 net/core/skbuff.c:1423
netlink_broadcast_filtered+0x3cc/0xf50 net/netlink/af_netlink.c:1535
nlmsg_multicast_filtered include/net/netlink.h:1165 [inline]
nlmsg_multicast include/net/netlink.h:1184 [inline]
nlmsg_notify+0xb1/0x290 net/netlink/af_netlink.c:2593
inet6_rt_notify+0x2d8/0x4c0 net/ipv6/route.c:6374
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
addrconf_dad_work+0x83c/0x1360 net/ipv6/addrconf.c:4268
process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x5da/0xe40 kernel/workqueue.c:3421
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
The buggy address belongs to the object at ffff888053fb4000
which belongs to the cache skbuff_small_head of size 704
The buggy address is located 100 bytes inside of
freed 704-byte region [ffff888053fb4000, ffff888053fb42c0)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x53fb4
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
head: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00014fed01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 14725, tgid 14725 (kworker/u8:22), ts 1656661632613, free_ts 1656577721316
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1e1/0x250 mm/page_alloc.c:1884
prep_new_page mm/page_alloc.c:1892 [inline]
get_page_from_freelist+0xe3d/0x2e10 mm/page_alloc.c:3945
__alloc_frozen_pages_noprof+0x26c/0x2410 mm/page_alloc.c:5240
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
alloc_slab_page mm/slub.c:3075 [inline]
allocate_slab mm/slub.c:3248 [inline]
new_slab+0x2c4/0x440 mm/slub.c:3302
___slab_alloc+0xda3/0x1ca0 mm/slub.c:4656
__slab_alloc.isra.0+0x63/0x110 mm/slub.c:4779
__slab_alloc_node mm/slub.c:4855 [inline]
slab_alloc_node mm/slub.c:5251 [inline]
kmem_cache_alloc_node_noprof+0x51e/0x880 mm/slub.c:5315
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:586
__alloc_skb+0x186/0x410 net/core/skbuff.c:690
alloc_skb include/linux/skbuff.h:1383 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
inet6_rt_notify+0x1d2/0x4c0 net/ipv6/route.c:6356
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
page last free pid 21659 tgid 21659 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1433 [inline]
__free_frozen_pages+0x822/0x1130 mm/page_alloc.c:2973
hci_release_dev+0x4ef/0x630 net/bluetooth/hci_core.c:2776
bt_host_release+0x6a/0xb0 net/bluetooth/hci_sysfs.c:87
device_release+0xa4/0x240 drivers/base/core.c:2565
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x1f7/0x640 lib/kobject.c:737
put_device+0x1f/0x30 drivers/base/core.c:3797
vhci_release+0x185/0x230 drivers/bluetooth/hci_vhci.c:691
__fput+0x3ff/0xb40 fs/file_table.c:468
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x829/0x2a30 kernel/exit.c:971
do_group_exit+0xd5/0x2a0 kernel/exit.c:1112
get_signal+0x1ec7/0x21e0 kernel/signal.c:3034
arch_do_signal_or_restart+0x91/0x7a0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:41 [inline]
exit_to_user_mode_loop+0x86/0x4b0 kernel/entry/common.c:75
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
do_syscall_64+0x4fe/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff888053fb3f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888053fb3f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888053fb4000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888053fb4080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888053fb4100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:87 [inline]
BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x248/0x260 kernel/locking/spinlock_debug.c:115
Read of size 8 at addr ffff888053fb4070 by task khidpd_15c30006/22170
CPU: 0 UID: 0 PID: 22170 Comm: khidpd_15c30006 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x156/0x4c9 mm/kasan/report.c:482
kasan_report+0xdf/0x1a0 mm/kasan/report.c:595
debug_spin_lock_before kernel/locking/spinlock_debug.c:87 [inline]
do_raw_spin_lock+0x248/0x260 kernel/locking/spinlock_debug.c:115
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline]
_raw_spin_lock_irqsave+0x42/0x60 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline]
set_task_blocked_on include/linux/sched.h:2169 [inline]
__mutex_lock_common kernel/locking/mutex.c:701 [inline]
__mutex_lock+0xcc7/0x1b90 kernel/locking/mutex.c:776
l2cap_unregister_user+0x71/0x240 net/bluetooth/l2cap_core.c:1729
hidp_session_thread+0x459/0x680 net/bluetooth/hidp/core.c:1304
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Allocated by task 14725:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:340 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:366
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4953 [inline]
slab_alloc_node mm/slub.c:5263 [inline]
kmem_cache_alloc_node_noprof+0x303/0x880 mm/slub.c:5315
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:586
__alloc_skb+0x186/0x410 net/core/skbuff.c:690
alloc_skb include/linux/skbuff.h:1383 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
inet6_rt_notify+0x1d2/0x4c0 net/ipv6/route.c:6356
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
addrconf_dad_work+0x83c/0x1360 net/ipv6/addrconf.c:4268
process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x5da/0xe40 kernel/workqueue.c:3421
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Freed by task 14725:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:253 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2540 [inline]
slab_free mm/slub.c:6674 [inline]
kmem_cache_free+0x143/0x720 mm/slub.c:6789
skb_kfree_head net/core/skbuff.c:1066 [inline]
skb_kfree_head net/core/skbuff.c:1063 [inline]
skb_free_head+0x1c6/0x220 net/core/skbuff.c:1080
skb_release_data+0x540/0x700 net/core/skbuff.c:1107
skb_release_all net/core/skbuff.c:1182 [inline]
__kfree_skb net/core/skbuff.c:1196 [inline]
consume_skb net/core/skbuff.c:1429 [inline]
consume_skb+0xc4/0x110 net/core/skbuff.c:1423
netlink_broadcast_filtered+0x3cc/0xf50 net/netlink/af_netlink.c:1535
nlmsg_multicast_filtered include/net/netlink.h:1165 [inline]
nlmsg_multicast include/net/netlink.h:1184 [inline]
nlmsg_notify+0xb1/0x290 net/netlink/af_netlink.c:2593
inet6_rt_notify+0x2d8/0x4c0 net/ipv6/route.c:6374
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
addrconf_dad_work+0x83c/0x1360 net/ipv6/addrconf.c:4268
process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x5da/0xe40 kernel/workqueue.c:3421
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
The buggy address belongs to the object at ffff888053fb4000
which belongs to the cache skbuff_small_head of size 704
The buggy address is located 112 bytes inside of
freed 704-byte region [ffff888053fb4000, ffff888053fb42c0)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x53fb4
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
head: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00014fed01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 14725, tgid 14725 (kworker/u8:22), ts 1656661632613, free_ts 1656577721316
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1e1/0x250 mm/page_alloc.c:1884
prep_new_page mm/page_alloc.c:1892 [inline]
get_page_from_freelist+0xe3d/0x2e10 mm/page_alloc.c:3945
__alloc_frozen_pages_noprof+0x26c/0x2410 mm/page_alloc.c:5240
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
alloc_slab_page mm/slub.c:3075 [inline]
allocate_slab mm/slub.c:3248 [inline]
new_slab+0x2c4/0x440 mm/slub.c:3302
___slab_alloc+0xda3/0x1ca0 mm/slub.c:4656
__slab_alloc.isra.0+0x63/0x110 mm/slub.c:4779
__slab_alloc_node mm/slub.c:4855 [inline]
slab_alloc_node mm/slub.c:5251 [inline]
kmem_cache_alloc_node_noprof+0x51e/0x880 mm/slub.c:5315
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:586
__alloc_skb+0x186/0x410 net/core/skbuff.c:690
alloc_skb include/linux/skbuff.h:1383 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
inet6_rt_notify+0x1d2/0x4c0 net/ipv6/route.c:6356
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
page last free pid 21659 tgid 21659 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1433 [inline]
__free_frozen_pages+0x822/0x1130 mm/page_alloc.c:2973
hci_release_dev+0x4ef/0x630 net/bluetooth/hci_core.c:2776
bt_host_release+0x6a/0xb0 net/bluetooth/hci_sysfs.c:87
device_release+0xa4/0x240 drivers/base/core.c:2565
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x1f7/0x640 lib/kobject.c:737
put_device+0x1f/0x30 drivers/base/core.c:3797
vhci_release+0x185/0x230 drivers/bluetooth/hci_vhci.c:691
__fput+0x3ff/0xb40 fs/file_table.c:468
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x829/0x2a30 kernel/exit.c:971
do_group_exit+0xd5/0x2a0 kernel/exit.c:1112
get_signal+0x1ec7/0x21e0 kernel/signal.c:3034
arch_do_signal_or_restart+0x91/0x7a0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:41 [inline]
exit_to_user_mode_loop+0x86/0x4b0 kernel/entry/common.c:75
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
do_syscall_64+0x4fe/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff888053fb3f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888053fb3f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888053fb4000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888053fb4080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888053fb4100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in debug_spin_lock_before kernel/locking/spinlock_debug.c:88 [inline]
BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x231/0x260 kernel/locking/spinlock_debug.c:115
Read of size 4 at addr ffff888053fb4068 by task khidpd_15c30006/22170
CPU: 0 UID: 0 PID: 22170 Comm: khidpd_15c30006 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x156/0x4c9 mm/kasan/report.c:482
kasan_report+0xdf/0x1a0 mm/kasan/report.c:595
debug_spin_lock_before kernel/locking/spinlock_debug.c:88 [inline]
do_raw_spin_lock+0x231/0x260 kernel/locking/spinlock_debug.c:115
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline]
_raw_spin_lock_irqsave+0x42/0x60 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline]
set_task_blocked_on include/linux/sched.h:2169 [inline]
__mutex_lock_common kernel/locking/mutex.c:701 [inline]
__mutex_lock+0xcc7/0x1b90 kernel/locking/mutex.c:776
l2cap_unregister_user+0x71/0x240 net/bluetooth/l2cap_core.c:1729
hidp_session_thread+0x459/0x680 net/bluetooth/hidp/core.c:1304
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Allocated by task 14725:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:340 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:366
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4953 [inline]
slab_alloc_node mm/slub.c:5263 [inline]
kmem_cache_alloc_node_noprof+0x303/0x880 mm/slub.c:5315
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:586
__alloc_skb+0x186/0x410 net/core/skbuff.c:690
alloc_skb include/linux/skbuff.h:1383 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
inet6_rt_notify+0x1d2/0x4c0 net/ipv6/route.c:6356
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
addrconf_dad_work+0x83c/0x1360 net/ipv6/addrconf.c:4268
process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x5da/0xe40 kernel/workqueue.c:3421
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Freed by task 14725:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:253 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2540 [inline]
slab_free mm/slub.c:6674 [inline]
kmem_cache_free+0x143/0x720 mm/slub.c:6789
skb_kfree_head net/core/skbuff.c:1066 [inline]
skb_kfree_head net/core/skbuff.c:1063 [inline]
skb_free_head+0x1c6/0x220 net/core/skbuff.c:1080
skb_release_data+0x540/0x700 net/core/skbuff.c:1107
skb_release_all net/core/skbuff.c:1182 [inline]
__kfree_skb net/core/skbuff.c:1196 [inline]
consume_skb net/core/skbuff.c:1429 [inline]
consume_skb+0xc4/0x110 net/core/skbuff.c:1423
netlink_broadcast_filtered+0x3cc/0xf50 net/netlink/af_netlink.c:1535
nlmsg_multicast_filtered include/net/netlink.h:1165 [inline]
nlmsg_multicast include/net/netlink.h:1184 [inline]
nlmsg_notify+0xb1/0x290 net/netlink/af_netlink.c:2593
inet6_rt_notify+0x2d8/0x4c0 net/ipv6/route.c:6374
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
addrconf_dad_work+0x83c/0x1360 net/ipv6/addrconf.c:4268
process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x5da/0xe40 kernel/workqueue.c:3421
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
The buggy address belongs to the object at ffff888053fb4000
which belongs to the cache skbuff_small_head of size 704
The buggy address is located 104 bytes inside of
freed 704-byte region [ffff888053fb4000, ffff888053fb42c0)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x53fb4
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
head: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00014fed01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 14725, tgid 14725 (kworker/u8:22), ts 1656661632613, free_ts 1656577721316
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1e1/0x250 mm/page_alloc.c:1884
prep_new_page mm/page_alloc.c:1892 [inline]
get_page_from_freelist+0xe3d/0x2e10 mm/page_alloc.c:3945
__alloc_frozen_pages_noprof+0x26c/0x2410 mm/page_alloc.c:5240
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
alloc_slab_page mm/slub.c:3075 [inline]
allocate_slab mm/slub.c:3248 [inline]
new_slab+0x2c4/0x440 mm/slub.c:3302
___slab_alloc+0xda3/0x1ca0 mm/slub.c:4656
__slab_alloc.isra.0+0x63/0x110 mm/slub.c:4779
__slab_alloc_node mm/slub.c:4855 [inline]
slab_alloc_node mm/slub.c:5251 [inline]
kmem_cache_alloc_node_noprof+0x51e/0x880 mm/slub.c:5315
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:586
__alloc_skb+0x186/0x410 net/core/skbuff.c:690
alloc_skb include/linux/skbuff.h:1383 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
inet6_rt_notify+0x1d2/0x4c0 net/ipv6/route.c:6356
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
page last free pid 21659 tgid 21659 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1433 [inline]
__free_frozen_pages+0x822/0x1130 mm/page_alloc.c:2973
hci_release_dev+0x4ef/0x630 net/bluetooth/hci_core.c:2776
bt_host_release+0x6a/0xb0 net/bluetooth/hci_sysfs.c:87
device_release+0xa4/0x240 drivers/base/core.c:2565
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x1f7/0x640 lib/kobject.c:737
put_device+0x1f/0x30 drivers/base/core.c:3797
vhci_release+0x185/0x230 drivers/bluetooth/hci_vhci.c:691
__fput+0x3ff/0xb40 fs/file_table.c:468
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x829/0x2a30 kernel/exit.c:971
do_group_exit+0xd5/0x2a0 kernel/exit.c:1112
get_signal+0x1ec7/0x21e0 kernel/signal.c:3034
arch_do_signal_or_restart+0x91/0x7a0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:41 [inline]
exit_to_user_mode_loop+0x86/0x4b0 kernel/entry/common.c:75
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
do_syscall_64+0x4fe/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff888053fb3f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888053fb3f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888053fb4000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888053fb4080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888053fb4100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
==================================================================
BUG: KASAN: slab-use-after-free in instrument_atomic_read_write include/linux/instrumented.h:96 [inline]
BUG: KASAN: slab-use-after-free in atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1300 [inline]
BUG: KASAN: slab-use-after-free in queued_spin_lock include/asm-generic/qspinlock.h:111 [inline]
BUG: KASAN: slab-use-after-free in do_raw_spin_lock+0x119/0x260 kernel/locking/spinlock_debug.c:116
Write of size 4 at addr ffff888053fb4060 by task khidpd_15c30006/22170
CPU: 0 UID: 0 PID: 22170 Comm: khidpd_15c30006 Tainted: G B syzkaller #0 PREEMPT(full)
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0x156/0x4c9 mm/kasan/report.c:482
kasan_report+0xdf/0x1a0 mm/kasan/report.c:595
check_region_inline mm/kasan/generic.c:186 [inline]
kasan_check_range+0x10f/0x1e0 mm/kasan/generic.c:200
instrument_atomic_read_write include/linux/instrumented.h:96 [inline]
atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1300 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:111 [inline]
do_raw_spin_lock+0x119/0x260 kernel/locking/spinlock_debug.c:116
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline]
_raw_spin_lock_irqsave+0x42/0x60 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline]
set_task_blocked_on include/linux/sched.h:2169 [inline]
__mutex_lock_common kernel/locking/mutex.c:701 [inline]
__mutex_lock+0xcc7/0x1b90 kernel/locking/mutex.c:776
l2cap_unregister_user+0x71/0x240 net/bluetooth/l2cap_core.c:1729
hidp_session_thread+0x459/0x680 net/bluetooth/hidp/core.c:1304
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Allocated by task 14725:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
unpoison_slab_object mm/kasan/common.c:340 [inline]
__kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:366
kasan_slab_alloc include/linux/kasan.h:253 [inline]
slab_post_alloc_hook mm/slub.c:4953 [inline]
slab_alloc_node mm/slub.c:5263 [inline]
kmem_cache_alloc_node_noprof+0x303/0x880 mm/slub.c:5315
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:586
__alloc_skb+0x186/0x410 net/core/skbuff.c:690
alloc_skb include/linux/skbuff.h:1383 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
inet6_rt_notify+0x1d2/0x4c0 net/ipv6/route.c:6356
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
addrconf_dad_work+0x83c/0x1360 net/ipv6/addrconf.c:4268
process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x5da/0xe40 kernel/workqueue.c:3421
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Freed by task 14725:
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
kasan_save_free_info+0x3b/0x70 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:253 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:285
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2540 [inline]
slab_free mm/slub.c:6674 [inline]
kmem_cache_free+0x143/0x720 mm/slub.c:6789
skb_kfree_head net/core/skbuff.c:1066 [inline]
skb_kfree_head net/core/skbuff.c:1063 [inline]
skb_free_head+0x1c6/0x220 net/core/skbuff.c:1080
skb_release_data+0x540/0x700 net/core/skbuff.c:1107
skb_release_all net/core/skbuff.c:1182 [inline]
__kfree_skb net/core/skbuff.c:1196 [inline]
consume_skb net/core/skbuff.c:1429 [inline]
consume_skb+0xc4/0x110 net/core/skbuff.c:1423
netlink_broadcast_filtered+0x3cc/0xf50 net/netlink/af_netlink.c:1535
nlmsg_multicast_filtered include/net/netlink.h:1165 [inline]
nlmsg_multicast include/net/netlink.h:1184 [inline]
nlmsg_notify+0xb1/0x290 net/netlink/af_netlink.c:2593
inet6_rt_notify+0x2d8/0x4c0 net/ipv6/route.c:6374
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
addrconf_dad_work+0x83c/0x1360 net/ipv6/addrconf.c:4268
process_one_work+0x9c2/0x1840 kernel/workqueue.c:3257
process_scheduled_works kernel/workqueue.c:3340 [inline]
worker_thread+0x5da/0xe40 kernel/workqueue.c:3421
kthread+0x3b3/0x730 kernel/kthread.c:463
ret_from_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
The buggy address belongs to the object at ffff888053fb4000
which belongs to the cache skbuff_small_head of size 704
The buggy address is located 96 bytes inside of
freed 704-byte region [ffff888053fb4000, ffff888053fb42c0)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x53fb4
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801eaecc80 dead000000000122 0000000000000000
head: 0000000000000000 0000000000130013 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea00014fed01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 14725, tgid 14725 (kworker/u8:22), ts 1656661632613, free_ts 1656577721316
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1e1/0x250 mm/page_alloc.c:1884
prep_new_page mm/page_alloc.c:1892 [inline]
get_page_from_freelist+0xe3d/0x2e10 mm/page_alloc.c:3945
__alloc_frozen_pages_noprof+0x26c/0x2410 mm/page_alloc.c:5240
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2486
alloc_slab_page mm/slub.c:3075 [inline]
allocate_slab mm/slub.c:3248 [inline]
new_slab+0x2c4/0x440 mm/slub.c:3302
___slab_alloc+0xda3/0x1ca0 mm/slub.c:4656
__slab_alloc.isra.0+0x63/0x110 mm/slub.c:4779
__slab_alloc_node mm/slub.c:4855 [inline]
slab_alloc_node mm/slub.c:5251 [inline]
kmem_cache_alloc_node_noprof+0x51e/0x880 mm/slub.c:5315
kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:586
__alloc_skb+0x186/0x410 net/core/skbuff.c:690
alloc_skb include/linux/skbuff.h:1383 [inline]
nlmsg_new include/net/netlink.h:1055 [inline]
inet6_rt_notify+0x1d2/0x4c0 net/ipv6/route.c:6356
fib6_add_rt2node+0x1c11/0x3bc0 net/ipv6/ip6_fib.c:1280
fib6_add+0x60e/0x1d20 net/ipv6/ip6_fib.c:1533
__ip6_ins_rt net/ipv6/route.c:1351 [inline]
ip6_ins_rt+0xb5/0x110 net/ipv6/route.c:1361
__ipv6_ifa_notify+0xbf1/0xf90 net/ipv6/addrconf.c:6283
ipv6_ifa_notify net/ipv6/addrconf.c:6322 [inline]
addrconf_dad_completed+0x195/0xff0 net/ipv6/addrconf.c:4320
page last free pid 21659 tgid 21659 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1433 [inline]
__free_frozen_pages+0x822/0x1130 mm/page_alloc.c:2973
hci_release_dev+0x4ef/0x630 net/bluetooth/hci_core.c:2776
bt_host_release+0x6a/0xb0 net/bluetooth/hci_sysfs.c:87
device_release+0xa4/0x240 drivers/base/core.c:2565
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x1f7/0x640 lib/kobject.c:737
put_device+0x1f/0x30 drivers/base/core.c:3797
vhci_release+0x185/0x230 drivers/bluetooth/hci_vhci.c:691
__fput+0x3ff/0xb40 fs/file_table.c:468
task_work_run+0x150/0x240 kernel/task_work.c:233
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x829/0x2a30 kernel/exit.c:971
do_group_exit+0xd5/0x2a0 kernel/exit.c:1112
get_signal+0x1ec7/0x21e0 kernel/signal.c:3034
arch_do_signal_or_restart+0x91/0x7a0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:41 [inline]
exit_to_user_mode_loop+0x86/0x4b0 kernel/entry/common.c:75
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
do_syscall_64+0x4fe/0xf80 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff888053fb3f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888053fb3f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888053fb4000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888053fb4080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888053fb4100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================