================================================================== BUG: KASAN: use-after-free in snd_card_do_free sound/core/init.c:612 [inline] BUG: KASAN: use-after-free in release_card_device+0x188/0x198 sound/core/init.c:145 Read of size 1 at addr ffff0000d526cd99 by task syz.3.65/4592 CPU: 1 PID: 4592 Comm: syz.3.65 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026 Call trace: dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf4/0x15c lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0xfc mm/kasan/report.c:524 __asan_report_load1_noabort+0x2c/0x38 mm/kasan/report_generic.c:348 snd_card_do_free sound/core/init.c:612 [inline] release_card_device+0x188/0x198 sound/core/init.c:145 device_release+0x94/0x1b4 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+0x2a8/0x41c lib/kobject.c:729 put_device+0x28/0x40 drivers/base/core.c:3820 snd_card_file_remove+0x2e4/0x340 sound/core/init.c:1147 snd_pcm_release+0x120/0x14c sound/core/pcm_native.c:2939 snd_disconnect_release+0x224/0x298 sound/core/init.c:438 __fput+0x1b4/0x7b0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1f4/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x20f8/0x2c84 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x128 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 The buggy address belongs to the physical page: page:000000005143f5eb refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11526c flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 fffffc00036d8f08 ffff00019f3aa0b0 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000d526cc80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000d526cd00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff0000d526cd80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff0000d526ce00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff0000d526ce80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== ------------[ cut here ]------------ ODEBUG: free active (active state 0) object type: timer_list hint: tun_flow_cleanup+0x0/0x400 drivers/net/tun.c:1371 WARNING: CPU: 0 PID: 4592 at lib/debugobjects.c:518 debug_print_object lib/debugobjects.c:515 [inline] WARNING: CPU: 0 PID: 4592 at lib/debugobjects.c:518 __debug_check_no_obj_freed lib/debugobjects.c:1045 [inline] WARNING: CPU: 0 PID: 4592 at lib/debugobjects.c:518 debug_check_no_obj_freed+0x2d4/0x454 lib/debugobjects.c:1075 Modules linked in: CPU: 0 PID: 4592 Comm: syz.3.65 Tainted: G B syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/07/2026 pstate: 62400005 (nZCv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--) pc : debug_print_object lib/debugobjects.c:515 [inline] pc : __debug_check_no_obj_freed lib/debugobjects.c:1045 [inline] pc : debug_check_no_obj_freed+0x2d4/0x454 lib/debugobjects.c:1075 lr : debug_print_object lib/debugobjects.c:515 [inline] lr : __debug_check_no_obj_freed lib/debugobjects.c:1045 [inline] lr : debug_check_no_obj_freed+0x2d4/0x454 lib/debugobjects.c:1075 sp : ffff800021607670 x29: ffff8000216076a0 x28: ffff0000d229ad40 x27: 0000000000000000 x26: ffff800011d1b280 x25: ffff0000d526f540 x24: ffff80000c8ea820 x23: 1ffff0000391055c x22: ffff0000d5270000 x21: dfff800000000000 x20: ffff800011d1b288 x19: ffff0000d526c000 x18: 1fffe00033e6df7e x17: ffff80001539d000 x16: ffff800008043b30 x15: 0000000040000000 x14: 0000000000000001 x13: 1fffe00033e70670 x12: 0000000000000000 x11: ff00800008048e14 x10: 0000000040000000 x9 : 6f4d917883a45900 x8 : 6f4d917883a45900 x7 : ffff800011cfc160 x6 : ffff80000825ab50 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff800021607220 x1 : 0000000000000000 x0 : ffff80000825abe4 Call trace: debug_print_object lib/debugobjects.c:515 [inline] __debug_check_no_obj_freed lib/debugobjects.c:1045 [inline] debug_check_no_obj_freed+0x2d4/0x454 lib/debugobjects.c:1075 free_pages_prepare mm/page_alloc.c:1493 [inline] free_pcp_prepare mm/page_alloc.c:1537 [inline] free_unref_page_prepare+0x740/0xb24 mm/page_alloc.c:3414 free_unref_page+0x7c/0x3a0 mm/page_alloc.c:3509 free_the_page mm/page_alloc.c:781 [inline] __free_pages+0x1a0/0x1cc mm/page_alloc.c:5747 free_large_kmalloc+0xc8/0x158 mm/slab_common.c:913 kfree+0xf4/0x1a8 mm/slab_common.c:982 snd_card_do_free sound/core/init.c:613 [inline] release_card_device+0x130/0x198 sound/core/init.c:145 device_release+0x94/0x1b4 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+0x2a8/0x41c lib/kobject.c:729 put_device+0x28/0x40 drivers/base/core.c:3820 snd_card_file_remove+0x2e4/0x340 sound/core/init.c:1147 snd_pcm_release+0x120/0x14c sound/core/pcm_native.c:2939 snd_disconnect_release+0x224/0x298 sound/core/init.c:438 __fput+0x1b4/0x7b0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1f4/0x280 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x20f8/0x2c84 arch/arm64/kernel/signal.c:1151 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x128 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 12063 hardirqs last enabled at (12063): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1374 [inline] hardirqs last enabled at (12063): [] finish_lock_switch+0xb0/0x1c8 kernel/sched/core.c:5005 hardirqs last disabled at (12062): [] __schedule+0x294/0x1a6c kernel/sched/core.c:6461 softirqs last enabled at (11732): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (11732): [] handle_softirqs+0xb1c/0xc90 kernel/softirq.c:624 softirqs last disabled at (11561): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]---