================================================================== BUG: KASAN: slab-out-of-bounds in __list_del_entry_valid_or_report+0x1d4/0x200 lib/list_debug.c:62 Read of size 8 at addr ffff88807adf1558 by task syz.2.355/7917 CPU: 1 UID: 0 PID: 7917 Comm: syz.2.355 Not tainted 6.15.0-rc7-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xc3/0x670 mm/kasan/report.c:521 kasan_report+0xe0/0x110 mm/kasan/report.c:634 __list_del_entry_valid_or_report+0x1d4/0x200 lib/list_debug.c:62 __list_del_entry_valid include/linux/list.h:124 [inline] __list_del_entry include/linux/list.h:215 [inline] list_del_init include/linux/list.h:287 [inline] bt_accept_unlink+0x34/0x2e0 net/bluetooth/af_bluetooth.c:256 l2cap_sock_teardown_cb+0x1a3/0x3c0 net/bluetooth/l2cap_sock.c:1613 l2cap_chan_del+0xbd/0x8f0 net/bluetooth/l2cap_core.c:655 l2cap_conn_del+0x37a/0x730 net/bluetooth/l2cap_core.c:1786 l2cap_disconn_cfm net/bluetooth/l2cap_core.c:7300 [inline] l2cap_disconn_cfm+0x96/0xd0 net/bluetooth/l2cap_core.c:7293 hci_disconn_cfm include/net/bluetooth/hci_core.h:2068 [inline] hci_conn_hash_flush+0x10e/0x260 net/bluetooth/hci_conn.c:2534 hci_dev_close_sync+0x602/0x11d0 net/bluetooth/hci_sync.c:5225 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:483 hci_unregister_dev+0x213/0x620 net/bluetooth/hci_core.c:2678 vhci_release+0x79/0xf0 drivers/bluetooth/hci_vhci.c:665 __fput+0x402/0xb70 fs/file_table.c:465 task_work_run+0x150/0x240 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xafb/0x2c30 kernel/exit.c:953 do_group_exit+0xd3/0x2a0 kernel/exit.c:1102 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x260 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f395618e969 Code: Unable to access opcode bytes at 0x7f395618e93f. RSP: 002b:00007f395702d038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: 0000000000010106 RBX: 00007f39563b6160 RCX: 00007f395618e969 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000007 RBP: 00007f3956210ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f39563b6160 R15: 00007ffe6ff08c18 Allocated by task 6213: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4327 [inline] __kmalloc_node_track_caller_noprof+0x221/0x510 mm/slub.c:4346 kmalloc_reserve+0xef/0x2c0 net/core/skbuff.c:599 __alloc_skb+0x166/0x380 net/core/skbuff.c:668 alloc_skb include/linux/skbuff.h:1340 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x2b1/0xcf0 drivers/net/netdevsim/dev.c:851 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Freed by task 6213: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x51/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2380 [inline] slab_free mm/slub.c:4642 [inline] kfree+0x2b6/0x4d0 mm/slub.c:4841 skb_kfree_head net/core/skbuff.c:1058 [inline] skb_free_head+0x108/0x1d0 net/core/skbuff.c:1070 skb_release_data+0x7a5/0x960 net/core/skbuff.c:1097 skb_release_all net/core/skbuff.c:1162 [inline] __kfree_skb net/core/skbuff.c:1176 [inline] consume_skb net/core/skbuff.c:1408 [inline] consume_skb+0xbf/0x100 net/core/skbuff.c:1402 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline] nsim_dev_trap_report_work+0x8bd/0xcf0 drivers/net/netdevsim/dev.c:851 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff88807adf0000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 1368 bytes to the right of allocated 4096-byte region [ffff88807adf0000, ffff88807adf1000) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7adf0 head: order:3 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 ffff88801b442140 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000040004 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801b442140 dead000000000122 0000000000000000 head: 0000000000000000 0000000000040004 00000000f5000000 0000000000000000 head: 00fff00000000003 ffffea0001eb7c01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6213, tgid 6213 (kworker/u8:13), ts 419402935004, free_ts 418396619251 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x181/0x1b0 mm/page_alloc.c:1714 prep_new_page mm/page_alloc.c:1722 [inline] get_page_from_freelist+0x135c/0x3920 mm/page_alloc.c:3684 __alloc_frozen_pages_noprof+0x263/0x23a0 mm/page_alloc.c:4966 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2301 alloc_slab_page mm/slub.c:2450 [inline] allocate_slab mm/slub.c:2618 [inline] new_slab+0x244/0x340 mm/slub.c:2672 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948 __slab_alloc_node mm/slub.c:4023 [inline] slab_alloc_node mm/slub.c:4184 [inline] __do_kmalloc_node mm/slub.c:4326 [inline] __kmalloc_node_track_caller_noprof+0x2ee/0x510 mm/slub.c:4346 kmalloc_reserve+0xef/0x2c0 net/core/skbuff.c:599 __alloc_skb+0x166/0x380 net/core/skbuff.c:668 alloc_skb include/linux/skbuff.h:1340 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x2b1/0xcf0 drivers/net/netdevsim/dev.c:851 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 page last free pid 7929 tgid 7919 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1258 [inline] __free_frozen_pages+0x69d/0xff0 mm/page_alloc.c:2721 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4147 [inline] slab_alloc_node mm/slub.c:4196 [inline] kmem_cache_alloc_node_noprof+0x1d5/0x3b0 mm/slub.c:4248 __alloc_skb+0x2b2/0x380 net/core/skbuff.c:658 alloc_skb include/linux/skbuff.h:1340 [inline] alloc_skb_with_frags+0xe0/0x860 net/core/skbuff.c:6639 sock_alloc_send_pskb+0x7fb/0x990 net/core/sock.c:2954 sock_alloc_send_skb include/net/sock.h:1832 [inline] __ip_append_data+0x21a2/0x41e0 net/ipv4/ip_output.c:1119 ip_make_skb+0x27f/0x300 net/ipv4/ip_output.c:1567 udp_sendmsg+0x189a/0x29e0 net/ipv4/udp.c:1478 udpv6_sendmsg+0x1097/0x3070 net/ipv6/udp.c:1542 inet6_sendmsg+0x105/0x140 net/ipv6/af_inet6.c:659 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] ____sys_sendmsg+0x705/0xc70 net/socket.c:2566 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2620 __sys_sendmmsg+0x200/0x420 net/socket.c:2709 Memory state around the buggy address: ffff88807adf1400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807adf1480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88807adf1500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88807adf1580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807adf1600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== slab kmalloc-4k start ffff88807adf0000 pointer offset 5464 size 4096 ================================================================== BUG: KASAN: slab-out-of-bounds in __list_del_entry_valid_or_report+0x1f8/0x200 lib/list_debug.c:62 Read of size 8 at addr ffff88807adf1558 by task syz.2.355/7917 CPU: 1 UID: 0 PID: 7917 Comm: syz.2.355 Tainted: G B 6.15.0-rc7-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xc3/0x670 mm/kasan/report.c:521 kasan_report+0xe0/0x110 mm/kasan/report.c:634 __list_del_entry_valid_or_report+0x1f8/0x200 lib/list_debug.c:62 __list_del_entry_valid include/linux/list.h:124 [inline] __list_del_entry include/linux/list.h:215 [inline] list_del_init include/linux/list.h:287 [inline] bt_accept_unlink+0x34/0x2e0 net/bluetooth/af_bluetooth.c:256 l2cap_sock_teardown_cb+0x1a3/0x3c0 net/bluetooth/l2cap_sock.c:1613 l2cap_chan_del+0xbd/0x8f0 net/bluetooth/l2cap_core.c:655 l2cap_conn_del+0x37a/0x730 net/bluetooth/l2cap_core.c:1786 l2cap_disconn_cfm net/bluetooth/l2cap_core.c:7300 [inline] l2cap_disconn_cfm+0x96/0xd0 net/bluetooth/l2cap_core.c:7293 hci_disconn_cfm include/net/bluetooth/hci_core.h:2068 [inline] hci_conn_hash_flush+0x10e/0x260 net/bluetooth/hci_conn.c:2534 hci_dev_close_sync+0x602/0x11d0 net/bluetooth/hci_sync.c:5225 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:483 hci_unregister_dev+0x213/0x620 net/bluetooth/hci_core.c:2678 vhci_release+0x79/0xf0 drivers/bluetooth/hci_vhci.c:665 __fput+0x402/0xb70 fs/file_table.c:465 task_work_run+0x150/0x240 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xafb/0x2c30 kernel/exit.c:953 do_group_exit+0xd3/0x2a0 kernel/exit.c:1102 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x260 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f395618e969 Code: Unable to access opcode bytes at 0x7f395618e93f. RSP: 002b:00007f395702d038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: 0000000000010106 RBX: 00007f39563b6160 RCX: 00007f395618e969 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000007 RBP: 00007f3956210ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f39563b6160 R15: 00007ffe6ff08c18 Allocated by task 6213: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4327 [inline] __kmalloc_node_track_caller_noprof+0x221/0x510 mm/slub.c:4346 kmalloc_reserve+0xef/0x2c0 net/core/skbuff.c:599 __alloc_skb+0x166/0x380 net/core/skbuff.c:668 alloc_skb include/linux/skbuff.h:1340 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x2b1/0xcf0 drivers/net/netdevsim/dev.c:851 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Freed by task 6213: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x51/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2380 [inline] slab_free mm/slub.c:4642 [inline] kfree+0x2b6/0x4d0 mm/slub.c:4841 skb_kfree_head net/core/skbuff.c:1058 [inline] skb_free_head+0x108/0x1d0 net/core/skbuff.c:1070 skb_release_data+0x7a5/0x960 net/core/skbuff.c:1097 skb_release_all net/core/skbuff.c:1162 [inline] __kfree_skb net/core/skbuff.c:1176 [inline] consume_skb net/core/skbuff.c:1408 [inline] consume_skb+0xbf/0x100 net/core/skbuff.c:1402 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline] nsim_dev_trap_report_work+0x8bd/0xcf0 drivers/net/netdevsim/dev.c:851 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff88807adf0000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 1368 bytes to the right of allocated 4096-byte region [ffff88807adf0000, ffff88807adf1000) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7adf0 head: order:3 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 ffff88801b442140 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000040004 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801b442140 dead000000000122 0000000000000000 head: 0000000000000000 0000000000040004 00000000f5000000 0000000000000000 head: 00fff00000000003 ffffea0001eb7c01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6213, tgid 6213 (kworker/u8:13), ts 419402935004, free_ts 418396619251 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x181/0x1b0 mm/page_alloc.c:1714 prep_new_page mm/page_alloc.c:1722 [inline] get_page_from_freelist+0x135c/0x3920 mm/page_alloc.c:3684 __alloc_frozen_pages_noprof+0x263/0x23a0 mm/page_alloc.c:4966 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2301 alloc_slab_page mm/slub.c:2450 [inline] allocate_slab mm/slub.c:2618 [inline] new_slab+0x244/0x340 mm/slub.c:2672 ___slab_alloc+0xd9c/0x1940 mm/slub.c:3858 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3948 __slab_alloc_node mm/slub.c:4023 [inline] slab_alloc_node mm/slub.c:4184 [inline] __do_kmalloc_node mm/slub.c:4326 [inline] __kmalloc_node_track_caller_noprof+0x2ee/0x510 mm/slub.c:4346 kmalloc_reserve+0xef/0x2c0 net/core/skbuff.c:599 __alloc_skb+0x166/0x380 net/core/skbuff.c:668 alloc_skb include/linux/skbuff.h:1340 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x2b1/0xcf0 drivers/net/netdevsim/dev.c:851 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 page last free pid 7929 tgid 7919 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1258 [inline] __free_frozen_pages+0x69d/0xff0 mm/page_alloc.c:2721 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4e/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4147 [inline] slab_alloc_node mm/slub.c:4196 [inline] kmem_cache_alloc_node_noprof+0x1d5/0x3b0 mm/slub.c:4248 __alloc_skb+0x2b2/0x380 net/core/skbuff.c:658 alloc_skb include/linux/skbuff.h:1340 [inline] alloc_skb_with_frags+0xe0/0x860 net/core/skbuff.c:6639 sock_alloc_send_pskb+0x7fb/0x990 net/core/sock.c:2954 sock_alloc_send_skb include/net/sock.h:1832 [inline] __ip_append_data+0x21a2/0x41e0 net/ipv4/ip_output.c:1119 ip_make_skb+0x27f/0x300 net/ipv4/ip_output.c:1567 udp_sendmsg+0x189a/0x29e0 net/ipv4/udp.c:1478 udpv6_sendmsg+0x1097/0x3070 net/ipv6/udp.c:1542 inet6_sendmsg+0x105/0x140 net/ipv6/af_inet6.c:659 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg net/socket.c:727 [inline] ____sys_sendmsg+0x705/0xc70 net/socket.c:2566 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2620 __sys_sendmmsg+0x200/0x420 net/socket.c:2709 Memory state around the buggy address: ffff88807adf1400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807adf1480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88807adf1500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88807adf1580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88807adf1600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== list_del corruption. prev->next should be ffff888056404558, but was 0000000000000000. (prev=ffff88807adf1558) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 7917 Comm: syz.2.355 Tainted: G B 6.15.0-rc7-syzkaller #0 PREEMPT(full) Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:__list_del_entry_valid_or_report+0x17a/0x200 lib/list_debug.c:62 Code: 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8d 00 00 00 48 8b 55 00 48 89 e9 48 89 de 48 c7 c7 80 92 f4 8b e8 e7 54 c6 fc 90 <0f> 0b 4c 89 e7 e8 9c 26 29 fd 48 89 ea 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc900047ef7e8 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff888056404558 RCX: ffffffff819aa5d9 RDX: 0000000000000000 RSI: ffffffff819b2466 RDI: 0000000000000005 RBP: ffff88807adf1558 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 6c65645f7473696c R12: ffff88807adf1558 R13: ffff888056404560 R14: ffff88807adf1000 R15: ffff888056402010 FS: 0000000000000000(0000) GS:ffff8881249e0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f721fae7d60 CR3: 000000002ff30000 CR4: 0000000000350ef0 Call Trace: __list_del_entry_valid include/linux/list.h:124 [inline] __list_del_entry include/linux/list.h:215 [inline] list_del_init include/linux/list.h:287 [inline] bt_accept_unlink+0x34/0x2e0 net/bluetooth/af_bluetooth.c:256 l2cap_sock_teardown_cb+0x1a3/0x3c0 net/bluetooth/l2cap_sock.c:1613 l2cap_chan_del+0xbd/0x8f0 net/bluetooth/l2cap_core.c:655 l2cap_conn_del+0x37a/0x730 net/bluetooth/l2cap_core.c:1786 l2cap_disconn_cfm net/bluetooth/l2cap_core.c:7300 [inline] l2cap_disconn_cfm+0x96/0xd0 net/bluetooth/l2cap_core.c:7293 hci_disconn_cfm include/net/bluetooth/hci_core.h:2068 [inline] hci_conn_hash_flush+0x10e/0x260 net/bluetooth/hci_conn.c:2534 hci_dev_close_sync+0x602/0x11d0 net/bluetooth/hci_sync.c:5225 hci_dev_do_close+0x2e/0x90 net/bluetooth/hci_core.c:483 hci_unregister_dev+0x213/0x620 net/bluetooth/hci_core.c:2678 vhci_release+0x79/0xf0 drivers/bluetooth/hci_vhci.c:665 __fput+0x402/0xb70 fs/file_table.c:465 task_work_run+0x150/0x240 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xafb/0x2c30 kernel/exit.c:953 do_group_exit+0xd3/0x2a0 kernel/exit.c:1102 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x260 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f395618e969 Code: Unable to access opcode bytes at 0x7f395618e93f. RSP: 002b:00007f395702d038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: 0000000000010106 RBX: 00007f39563b6160 RCX: 00007f395618e969 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000007 RBP: 00007f3956210ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f39563b6160 R15: 00007ffe6ff08c18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0x17a/0x200 lib/list_debug.c:62 Code: 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8d 00 00 00 48 8b 55 00 48 89 e9 48 89 de 48 c7 c7 80 92 f4 8b e8 e7 54 c6 fc 90 <0f> 0b 4c 89 e7 e8 9c 26 29 fd 48 89 ea 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc900047ef7e8 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff888056404558 RCX: ffffffff819aa5d9 RDX: 0000000000000000 RSI: ffffffff819b2466 RDI: 0000000000000005 RBP: ffff88807adf1558 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 6c65645f7473696c R12: ffff88807adf1558 R13: ffff888056404560 R14: ffff88807adf1000 R15: ffff888056402010 FS: 0000000000000000(0000) GS:ffff8881249e0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c9cd0da660 CR3: 000000000e180000 CR4: 0000000000350ef0