bridge0: port 1(bridge_slave_0) entered blocking state bridge0: port 1(bridge_slave_0) entered forwarding state ================================================================== BUG: KASAN: use-after-free in hlist_add_head include/linux/list.h:930 [inline] BUG: KASAN: use-after-free in enqueue_timer+0xae/0x480 kernel/time/timer.c:611 Write of size 8 at addr ffff88813a578a00 by task syz-executor/1099 CPU: 0 PID: 1099 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0x110/0x170 lib/dump_stack.c:106 print_address_description+0x71/0x200 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:420 kasan_report+0x122/0x150 mm/kasan/report.c:524 __asan_report_store8_noabort+0x17/0x20 mm/kasan/report_generic.c:356 hlist_add_head include/linux/list.h:930 [inline] enqueue_timer+0xae/0x480 kernel/time/timer.c:611 internal_add_timer kernel/time/timer.c:640 [inline] __mod_timer+0x84c/0xc00 kernel/time/timer.c:1137 add_timer+0x68/0x80 kernel/time/timer.c:1250 __queue_delayed_work+0x173/0x200 kernel/workqueue.c:1686 mod_delayed_work_on+0x74/0xe0 kernel/workqueue.c:1749 mod_delayed_work include/linux/workqueue.h:540 [inline] addrconf_mod_dad_work+0x7d/0x120 net/ipv6/addrconf.c:335 addrconf_dad_kick net/ipv6/addrconf.c:4055 [inline] addrconf_dad_run+0x3f0/0x5a0 net/ipv6/addrconf.c:4356 addrconf_notify+0x865/0xe40 net/ipv6/addrconf.c:3715 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xa1/0x110 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:2022 [inline] call_netdevice_notifiers_extack net/core/dev.c:2060 [inline] call_netdevice_notifiers net/core/dev.c:2074 [inline] __dev_notify_flags+0x2c1/0x560 net/core/dev.c:8718 dev_change_flags+0xe8/0x1a0 net/core/dev.c:8756 do_setlink+0xbad/0x3f70 net/core/rtnetlink.c:2833 __rtnl_newlink net/core/rtnetlink.c:3608 [inline] rtnl_newlink+0x177f/0x20b0 net/core/rtnetlink.c:3655 rtnetlink_rcv_msg+0xb3b/0xe00 net/core/rtnetlink.c:6150 netlink_rcv_skb+0x20f/0x460 net/netlink/af_netlink.c:2521 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6168 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x8ab/0xa30 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x8b9/0xbd0 net/netlink/af_netlink.c:1873 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] __sys_sendto+0x4ac/0x660 net/socket.c:2142 __do_sys_sendto net/socket.c:2154 [inline] __se_sys_sendto net/socket.c:2150 [inline] __x64_sys_sendto+0xe5/0x100 net/socket.c:2150 x64_sys_call+0x83/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:45 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f5a05557997 Code: 48 89 fa 4c 89 df e8 a8 56 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffefe6c74c0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00005555676d9500 RCX: 00007f5a05557997 RDX: 000000000000002c RSI: 00007f5a06344670 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffefe6c7524 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f5a06344670 R15: 0000000000000000 Allocated by task 1037: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_alloc_info+0x25/0x30 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:380 [inline] __kasan_kmalloc+0x95/0xb0 mm/kasan/common.c:389 kasan_kmalloc include/linux/kasan.h:212 [inline] __do_kmalloc_node mm/slab_common.c:938 [inline] __kmalloc+0xb1/0x1e0 mm/slab_common.c:951 kmalloc include/linux/slab.h:568 [inline] kzalloc include/linux/slab.h:699 [inline] hci_alloc_dev_priv+0x27/0x1bd0 net/bluetooth/hci_core.c:2433 hci_alloc_dev include/net/bluetooth/hci_core.h:1505 [inline] hci_uart_register_dev drivers/bluetooth/hci_ldisc.c:641 [inline] hci_uart_set_proto drivers/bluetooth/hci_ldisc.c:719 [inline] hci_uart_tty_ioctl+0x3c8/0xa20 drivers/bluetooth/hci_ldisc.c:774 tty_ioctl+0x8ef/0xc60 drivers/tty/tty_io.c:2785 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856 x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Freed by task 1037: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x31/0x50 mm/kasan/generic.c:516 ____kasan_slab_free+0x132/0x180 mm/kasan/common.c:242 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:250 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1750 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1776 slab_free mm/slub.c:3712 [inline] __kmem_cache_free+0xb7/0x1b0 mm/slub.c:3728 kfree+0x6f/0xf0 mm/slab_common.c:990 hci_release_dev+0x12a3/0x13b0 net/bluetooth/hci_core.c:2761 bt_host_release+0x82/0x90 net/bluetooth/hci_sysfs.c:85 device_release+0xa4/0x1d0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:681 [inline] kobject_release lib/kobject.c:712 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x19d/0x280 lib/kobject.c:729 put_device+0x1f/0x30 drivers/base/core.c:3806 hci_dev_put include/net/bluetooth/hci_core.h:1465 [inline] hci_dev_cmd+0x279/0x740 net/bluetooth/hci_core.c:795 hci_sock_ioctl+0x41e/0x7f0 net/bluetooth/hci_sock.c:1096 sock_do_ioctl+0x114/0x330 net/socket.c:1191 sock_ioctl+0x4bd/0x710 net/socket.c:1310 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856 x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496 insert_work+0x51/0x300 kernel/workqueue.c:1368 __queue_work+0x9b1/0xd30 kernel/workqueue.c:1527 queue_work_on+0xde/0x150 kernel/workqueue.c:1555 queue_work include/linux/workqueue.h:510 [inline] hci_cmd_sync_run net/bluetooth/hci_sync.c:140 [inline] __hci_cmd_sync_sk+0xa7f/0xd30 net/bluetooth/hci_sync.c:162 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:253 [inline] __hci_cmd_sync_status net/bluetooth/hci_sync.c:277 [inline] hci_cmd_sync_status+0x53/0x120 net/bluetooth/hci_sync.c:288 hci_dev_cmd+0x35b/0x740 net/bluetooth/hci_core.c:749 hci_sock_ioctl+0x41e/0x7f0 net/bluetooth/hci_sock.c:1096 sock_do_ioctl+0x114/0x330 net/socket.c:1191 sock_ioctl+0x4bd/0x710 net/socket.c:1310 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856 x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Second to last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xb6/0xc0 mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:496 insert_work+0x51/0x300 kernel/workqueue.c:1368 __queue_work+0x9b1/0xd30 kernel/workqueue.c:1527 queue_work_on+0xde/0x150 kernel/workqueue.c:1555 queue_work include/linux/workqueue.h:510 [inline] hci_cmd_timeout+0x191/0x200 net/bluetooth/hci_core.c:1468 process_one_work+0x71f/0xc40 kernel/workqueue.c:2302 worker_thread+0xa29/0x11e0 kernel/workqueue.c:2449 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 The buggy address belongs to the object at ffff88813a578000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 2560 bytes inside of 8192-byte region [ffff88813a578000, ffff88813a57a000) The buggy address belongs to the physical page: page:ffffea0004e95e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x13a578 head:ffffea0004e95e00 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 ffffea0004eada00 dead000000000004 ffff888100043500 raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 601, tgid 601 (syz.0.77), ts 349660714236, free_ts 346501854889 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2670 prep_new_page+0x1c/0x110 mm/page_alloc.c:2677 get_page_from_freelist+0x2d12/0x2d80 mm/page_alloc.c:4583 __alloc_pages+0x1fa/0x610 mm/page_alloc.c:5924 alloc_slab_page+0x6e/0xf0 include/linux/gfp.h:-1 allocate_slab mm/slub.c:1967 [inline] new_slab+0x98/0x3d0 mm/slub.c:2020 ___slab_alloc+0x6bd/0xb20 mm/slub.c:3177 __slab_alloc+0x5e/0xa0 mm/slub.c:3263 slab_alloc_node mm/slub.c:3348 [inline] __kmem_cache_alloc_node+0x203/0x2c0 mm/slub.c:3423 kmalloc_trace+0x29/0xb0 mm/slab_common.c:1028 kmalloc include/linux/slab.h:563 [inline] audit_log_d_path+0xc6/0x240 kernel/audit.c:2151 audit_log_d_path_exe+0x42/0x70 kernel/audit.c:2222 audit_log_task+0x214/0x300 kernel/auditsc.c:2948 audit_seccomp+0x7f/0x160 kernel/auditsc.c:2995 seccomp_log kernel/seccomp.c:994 [inline] __seccomp_filter+0xb74/0x1af0 kernel/seccomp.c:1278 __secure_computing+0xea/0x290 kernel/seccomp.c:1340 page last free stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] free_pages_prepare mm/page_alloc.c:1578 [inline] free_pcp_prepare mm/page_alloc.c:1652 [inline] free_unref_page_prepare+0x742/0x750 mm/page_alloc.c:3618 free_unref_page+0x95/0x540 mm/page_alloc.c:3716 free_the_page mm/page_alloc.c:863 [inline] __free_pages+0x67/0x100 mm/page_alloc.c:6014 __vunmap+0x9c0/0xb80 mm/vmalloc.c:2739 __vfree mm/vmalloc.c:2788 [inline] vfree+0x61/0x90 mm/vmalloc.c:2819 htable_put+0x5fb/0x650 net/netfilter/xt_hashlimit.c:432 hashlimit_mt_destroy+0x5c/0x70 net/netfilter/xt_hashlimit.c:977 cleanup_match net/ipv6/netfilter/ip6_tables.c:479 [inline] cleanup_entry+0x165/0x370 net/ipv6/netfilter/ip6_tables.c:663 translate_table+0x1eb8/0x20a0 net/ipv6/netfilter/ip6_tables.c:746 do_replace net/ipv6/netfilter/ip6_tables.c:1156 [inline] do_ip6t_set_ctl+0x9e7/0xe00 net/ipv6/netfilter/ip6_tables.c:1646 nf_setsockopt+0x284/0x2b0 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x170/0x1a0 net/ipv6/ipv6_sockglue.c:1030 rawv6_setsockopt+0x29e/0x660 net/ipv6/raw.c:1052 sock_common_setsockopt+0xb1/0xc0 net/core/sock.c:3707 __sys_setsockopt+0x2ff/0x4e0 net/socket.c:2277 __do_sys_setsockopt net/socket.c:2288 [inline] __se_sys_setsockopt net/socket.c:2285 [inline] __x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2285 Memory state around the buggy address: ffff88813a578900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88813a578980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88813a578a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88813a578a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88813a578b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================