================================================================== BUG: KASAN: use-after-free in hlist_move_list include/linux/list.h:1014 [inline] BUG: KASAN: use-after-free in collect_expired_timers kernel/time/timer.c:1625 [inline] BUG: KASAN: use-after-free in __run_timers+0x340/0x9f0 kernel/time/timer.c:1861 Write of size 8 at addr ffff88810d2cca00 by task kauditd/28 CPU: 1 PID: 28 Comm: kauditd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 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_move_list include/linux/list.h:1014 [inline] collect_expired_timers kernel/time/timer.c:1625 [inline] __run_timers+0x340/0x9f0 kernel/time/timer.c:1861 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1888 handle_softirqs+0x1d7/0x600 kernel/softirq.c:642 __do_softirq kernel/softirq.c:680 [inline] invoke_softirq kernel/softirq.c:497 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729 irq_exit_rcu+0x9/0x10 kernel/softirq.c:741 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:console_emit_next_record+0x8a1/0xab0 kernel/printk/printk.c:2797 Code: de 48 81 e6 00 02 00 00 31 ff e8 4a 89 19 00 48 81 e3 00 02 00 00 75 07 e8 7c 84 19 00 eb 06 e8 75 84 19 00 fb 0f b6 5c 24 17 <66> 43 c7 44 25 20 f8 f8 43 c6 44 25 22 f8 4f 89 74 25 10 66 43 c7 RSP: 0018:ffffc900001df800 EFLAGS: 00000293 RAX: ffffffff8157e79b RBX: 0000000000000001 RCX: ffff88810033bcc0 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc900001df9f0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200003bef0 R12: dffffc0000000000 R13: 1ffff9200003bf0c R14: f8f8f8f8f8f8f8f8 R15: ffffc900001dfa3f console_flush_all kernel/printk/printk.c:-1 [inline] console_unlock+0x246/0x560 kernel/printk/printk.c:2917 vprintk_emit+0x14d/0x420 kernel/printk/printk.c:2308 vprintk_default+0x26/0x30 kernel/printk/printk.c:2323 vprintk+0x7a/0x80 kernel/printk/printk_safe.c:45 _printk+0xda/0x128 kernel/printk/printk.c:2333 kauditd_printk_skb kernel/audit.c:547 [inline] kauditd_hold_skb+0x1c1/0x210 kernel/audit.c:582 kauditd_send_queue+0x2b6/0x300 kernel/audit.c:767 kauditd_thread+0x4dc/0x740 kernel/audit.c:891 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Allocated by task 696: 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+0x3d6/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 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+0x648/0x740 net/bluetooth/hci_core.c:-1 hci_sock_ioctl+0x41e/0x7f0 net/bluetooth/hci_sock.c:1096 sock_do_ioctl+0x114/0x330 net/socket.c:1194 sock_ioctl+0x4ca/0x720 net/socket.c:1311 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 ffff88810d2cc000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 2560 bytes inside of 8192-byte region [ffff88810d2cc000, ffff88810d2ce000) The buggy address belongs to the physical page: page:ffffea000434b200 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88810d2cc000 pfn:0x10d2c8 head:ffffea000434b200 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 ffffea0004643808 ffffea000436f008 ffff888100043500 raw: ffff88810d2cc000 0000000000020001 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 0xd2000(__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 2140941148, free_ts 0 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f5/0x210 mm/page_alloc.c:2643 prep_new_page+0x1c/0x110 mm/page_alloc.c:2650 get_page_from_freelist+0x2d12/0x2d80 mm/page_alloc.c:4554 __alloc_pages+0x1d9/0x480 mm/page_alloc.c:5868 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 __do_kmalloc_node mm/slab_common.c:937 [inline] __kmalloc_node+0xa1/0x1e0 mm/slab_common.c:945 kmalloc_node include/linux/slab.h:589 [inline] kvmalloc_node+0x28a/0x460 mm/util.c:592 kvzalloc_node include/linux/slab.h:720 [inline] sbitmap_init_node+0x43b/0x580 lib/sbitmap.c:113 scsi_realloc_sdev_budget_map+0x24e/0x3a0 drivers/scsi/scsi_scan.c:246 scsi_alloc_sdev+0x7ee/0xac0 drivers/scsi/scsi_scan.c:357 scsi_probe_and_add_lun+0x192/0x3c40 drivers/scsi/scsi_scan.c:1188 __scsi_scan_target+0x1ea/0xc20 drivers/scsi/scsi_scan.c:1724 page_owner free stack trace missing Memory state around the buggy address: ffff88810d2cc900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88810d2cc980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88810d2cca00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88810d2cca80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88810d2ccb00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ------------[ cut here ]------------ WARNING: CPU: 1 PID: 28 at kernel/workqueue.c:1448 __queue_work+0xb37/0xd30 kernel/workqueue.c:1448 Modules linked in: CPU: 1 PID: 28 Comm: kauditd Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:__queue_work+0xb37/0xd30 kernel/workqueue.c:1448 Code: e9 9e fd ff ff 48 8b 4d b8 80 e1 07 80 c1 03 38 c1 0f 8c ce fd ff ff 48 8b 7d b8 e8 f3 6e 6e 00 e9 c0 fd ff ff e8 39 41 29 00 <0f> 0b e9 a1 fe ff ff e8 2d 41 29 00 c6 05 ac 41 47 06 01 48 8b 75 RSP: 0018:ffffc900001b0c70 EFLAGS: 00010046 RAX: ffffffff81482ad7 RBX: 0000000000010000 RCX: ffff88810033bcc0 RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffffc900001b0d08 R08: 0000000000000003 R09: 0000000000000004 R10: 0000000000000000 R11: fffff520000361a0 R12: dffffc0000000000 R13: ffff888131512000 R14: ffff88810d2cc9c8 R15: 0000000000000008 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2de696 CR3: 0000000126bf1000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: delayed_work_timer_fn+0x61/0x80 kernel/workqueue.c:1653 call_timer_fn+0x46/0x2a0 kernel/time/timer.c:1553 expire_timers kernel/time/timer.c:1599 [inline] __run_timers+0x689/0x9f0 kernel/time/timer.c:1875 run_timer_softirq+0x6a/0xf0 kernel/time/timer.c:1888 handle_softirqs+0x1d7/0x600 kernel/softirq.c:642 __do_softirq kernel/softirq.c:680 [inline] invoke_softirq kernel/softirq.c:497 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:729 irq_exit_rcu+0x9/0x10 kernel/softirq.c:741 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa9/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:console_emit_next_record+0x8a1/0xab0 kernel/printk/printk.c:2797 Code: de 48 81 e6 00 02 00 00 31 ff e8 4a 89 19 00 48 81 e3 00 02 00 00 75 07 e8 7c 84 19 00 eb 06 e8 75 84 19 00 fb 0f b6 5c 24 17 <66> 43 c7 44 25 20 f8 f8 43 c6 44 25 22 f8 4f 89 74 25 10 66 43 c7 RSP: 0018:ffffc900001df800 EFLAGS: 00000293 RAX: ffffffff8157e79b RBX: 0000000000000001 RCX: ffff88810033bcc0 RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000 RBP: ffffc900001df9f0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200003bef0 R12: dffffc0000000000 R13: 1ffff9200003bf0c R14: f8f8f8f8f8f8f8f8 R15: ffffc900001dfa3f console_flush_all kernel/printk/printk.c:-1 [inline] console_unlock+0x246/0x560 kernel/printk/printk.c:2917 vprintk_emit+0x14d/0x420 kernel/printk/printk.c:2308 vprintk_default+0x26/0x30 kernel/printk/printk.c:2323 vprintk+0x7a/0x80 kernel/printk/printk_safe.c:45 _printk+0xda/0x128 kernel/printk/printk.c:2333 kauditd_printk_skb kernel/audit.c:547 [inline] kauditd_hold_skb+0x1c1/0x210 kernel/audit.c:582 kauditd_send_queue+0x2b6/0x300 kernel/audit.c:767 kauditd_thread+0x4dc/0x740 kernel/audit.c:891 kthread+0x281/0x320 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: de 48 81 fimuls -0x7f(%rax) 3: e6 00 out %al,$0x0 5: 02 00 add (%rax),%al 7: 00 31 add %dh,(%rcx) 9: ff ljmp (bad) a: e8 4a 89 19 00 call 0x198959 f: 48 81 e3 00 02 00 00 and $0x200,%rbx 16: 75 07 jne 0x1f 18: e8 7c 84 19 00 call 0x198499 1d: eb 06 jmp 0x25 1f: e8 75 84 19 00 call 0x198499 24: fb sti 25: 0f b6 5c 24 17 movzbl 0x17(%rsp),%ebx * 2a: 66 43 c7 44 25 20 f8 movw $0xf8f8,0x20(%r13,%r12,1) <-- trapping instruction 31: f8 32: 43 c6 44 25 22 f8 movb $0xf8,0x22(%r13,%r12,1) 38: 4f 89 74 25 10 mov %r14,0x10(%r13,%r12,1) 3d: 66 data16 3e: 43 rex.XB 3f: c7 .byte 0xc7