================================================================== BUG: KASAN: slab-use-after-free in tasklet_action_common+0x318/0x3d0 kernel/softirq.c:988 Read of size 8 at addr ffff88813b9f7158 by task ksoftirqd/0/14 CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 tasklet_action_common+0x318/0x3d0 kernel/softirq.c:988 handle_softirqs+0x209/0xa00 kernel/softirq.c:669 run_ksoftirqd kernel/softirq.c:1133 [inline] run_ksoftirqd+0x38/0x60 kernel/softirq.c:1125 smpboot_thread_fn+0x41f/0xb90 kernel/smpboot.c:162 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x69f/0xc90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 5301: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x2d8/0x680 mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] ath9k_init_wmi+0x43/0x300 drivers/net/wireless/ath/ath9k/wmi.c:95 ath9k_htc_probe_device+0x203/0x1f80 drivers/net/wireless/ath/ath9k/htc_drv_init.c:956 ath9k_htc_hw_init+0x33/0x60 drivers/net/wireless/ath/ath9k/htc_hst.c:532 ath9k_hif_usb_firmware_cb+0x25c/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1255 request_firmware_work_func+0x13f/0x440 drivers/base/firmware_loader/main.c:1164 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x69f/0xc90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Freed by task 5301: 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:264 [inline] __kasan_slab_free+0x43/0x70 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6630 [inline] kfree+0x20c/0x650 mm/slub.c:6923 ath9k_htc_probe_device+0x293/0x1f80 drivers/net/wireless/ath/ath9k/htc_drv_init.c:978 ath9k_htc_hw_init+0x33/0x60 drivers/net/wireless/ath/ath9k/htc_hst.c:532 ath9k_hif_usb_firmware_cb+0x25c/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1255 request_firmware_work_func+0x13f/0x440 drivers/base/firmware_loader/main.c:1164 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659 kthread+0x373/0x450 kernel/kthread.c:436 ret_from_fork+0x69f/0xc90 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff88813b9f7000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 344 bytes inside of freed 2048-byte region [ffff88813b9f7000, ffff88813b9f7800) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x13b9f0 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x200000000000040(head|node=0|zone=2) page_type: f5(slab) raw: 0200000000000040 ffff888100042000 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000 head: 0200000000000040 ffff888100042000 dead000000000100 dead000000000122 head: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000 head: 0200000000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: 0000000200000967 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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 2846, tgid 2846 (klogd), ts 120386632717 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1856 prep_new_page mm/page_alloc.c:1864 [inline] get_page_from_freelist+0xf4b/0x3440 mm/page_alloc.c:3935 __alloc_frozen_pages_noprof+0x299/0x2d50 mm/page_alloc.c:5444 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab mm/slub.c:3499 [inline] new_slab+0xb1/0x6d0 mm/slub.c:3550 refill_objects+0xe3/0x410 mm/slub.c:7539 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] __kmalloc_cache_noprof+0x49c/0x680 mm/slub.c:5676 _kmalloc_noprof include/linux/slab.h:991 [inline] syslog_print+0xf8/0x610 kernel/printk/printk.c:1585 do_syslog+0x5bd/0x6d0 kernel/printk/printk.c:1763 __do_sys_syslog kernel/printk/printk.c:1855 [inline] __se_sys_syslog kernel/printk/printk.c:1853 [inline] __x64_sys_syslog+0x74/0xb0 kernel/printk/printk.c:1853 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x119/0x710 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f page last free pid 5571 tgid 5570 ts 116318302692 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] free_unref_folios+0x9f9/0x1610 mm/page_alloc.c:3014 folios_put_refs+0x453/0x730 mm/folio.c:1039 free_pages_and_swap_cache+0x22d/0x3b0 mm/swap_state.c:654 __tlb_batch_free_encoded_pages+0xe9/0x270 mm/mmu_gather.c:138 tlb_batch_pages_flush mm/mmu_gather.c:151 [inline] tlb_flush_mmu_free mm/mmu_gather.c:397 [inline] tlb_flush_mmu+0xe9/0x590 mm/mmu_gather.c:404 zap_pte_range mm/memory.c:2067 [inline] zap_pmd_range mm/memory.c:2114 [inline] zap_pud_range mm/memory.c:2142 [inline] zap_p4d_range mm/memory.c:2163 [inline] __zap_vma_range+0x1eaa/0x41b0 mm/memory.c:2203 unmap_vmas+0x294/0x5f0 mm/memory.c:2272 exit_mmap+0x1ef/0xa40 mm/mmap.c:1315 __mmput kernel/fork.c:1192 [inline] mmput+0xdb/0x430 kernel/fork.c:1215 exit_mm kernel/exit.c:586 [inline] do_exit+0x80c/0x2a00 kernel/exit.c:967 do_group_exit+0xd5/0x2a0 kernel/exit.c:1123 get_signal+0x1f58/0x22e0 kernel/signal.c:3113 arch_do_signal_or_restart+0x91/0x7e0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0xd2/0x530 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x55a/0x710 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88813b9f7000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88813b9f7080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88813b9f7100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88813b9f7180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88813b9f7200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================