================================================================== BUG: KASAN: slab-use-after-free in tasklet_action_common+0x318/0x3d0 kernel/softirq.c:988 Read of size 8 at addr ffff888113139158 by task kworker/0:3/8867 CPU: 0 UID: 0 PID: 8867 Comm: kworker/0:3 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: events request_firmware_work_func 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 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x17a/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0x8f/0xb0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:rcu_read_lock include/linux/rcupdate.h:850 [inline] RIP: 0010:start_flush_work kernel/workqueue.c:4515 [inline] RIP: 0010:__flush_work+0x79f/0xd20 kernel/workqueue.c:4573 Code: 85 8d 04 00 00 0f b6 44 24 23 48 81 c4 78 01 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 46 02 37 00 e8 31 22 1b 00 <31> ff 89 c3 89 c6 e8 46 fc 36 00 84 db 0f 85 75 f9 ff ff e8 29 02 RSP: 0018:ffffc900129af708 EFLAGS: 00000286 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff87d36980 RDI: ffffffff89493be0 RBP: ffff888134041948 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000200 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888134041960 R14: 0000000000000001 R15: 0000000000000001 __cancel_work_sync kernel/workqueue.c:4729 [inline] cancel_work_sync+0xcc/0xf0 kernel/workqueue.c:4766 rhashtable_free_and_destroy+0x35/0x4e0 lib/rhashtable.c:1254 rhltable_free_and_destroy include/linux/rhashtable.h:1335 [inline] rhltable_destroy include/linux/rhashtable.h:1340 [inline] sta_info_stop+0x29/0x40 net/mac80211/sta_info.c:1702 ieee80211_free_hw+0x6b/0x1d0 net/mac80211/main.c:1775 ath9k_htc_probe_device+0x1a6/0x1f80 drivers/net/wireless/ath/ath9k/htc_drv_init.c:980 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 Allocated by task 8867: 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 8867: 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 ffff888113139000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 344 bytes inside of freed 2048-byte region [ffff888113139000, ffff888113139800) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x113138 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: 0000000000000000 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 0xd28c0(GFP_NOWAIT|__GFP_IO|__GFP_FS|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 2974, tgid 2974 (syz-executor), ts 52145504705 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] __do_kmalloc_node mm/slub.c:5530 [inline] __kmalloc_node_track_caller_noprof+0x62f/0x810 mm/slub.c:5662 kmalloc_reserve+0xe8/0x350 net/core/skbuff.c:638 pskb_expand_head+0x225/0x1190 net/core/skbuff.c:2318 netlink_trim+0x22d/0x2f0 net/netlink/af_netlink.c:1316 netlink_broadcast_filtered+0x6d/0xfd0 net/netlink/af_netlink.c:1538 nlmsg_multicast_filtered include/net/netlink.h:1165 [inline] nlmsg_multicast include/net/netlink.h:1184 [inline] nlmsg_notify+0xb1/0x290 net/netlink/af_netlink.c:2627 rtnl_notify net/core/rtnetlink.c:1004 [inline] rtmsg_ifinfo_send net/core/rtnetlink.c:4646 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:4662 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:4649 [inline] rtmsg_ifinfo+0x177/0x1b0 net/core/rtnetlink.c:4668 register_netdevice+0x1a0a/0x2300 net/core/dev.c:11754 register_netdev+0x34/0x50 net/core/dev.c:11818 sit_init_net+0x57d/0x8b0 net/ipv6/sit.c:2050 page last free pid 2983 tgid 2983 ts 51176506153 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1403 [inline] __free_frozen_pages+0x714/0xfc0 mm/page_alloc.c:2954 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x47/0xf0 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x1a0/0x1f0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x4e/0x70 mm/kasan/common.c:361 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:5033 [inline] kmem_cache_alloc_noprof+0x264/0x650 mm/slub.c:5047 alloc_filename fs/namei.c:147 [inline] do_getname+0x35/0x390 fs/namei.c:187 class_filename_flags_constructor include/linux/fs.h:2595 [inline] do_sys_openat2+0xc3/0x1d0 fs/open.c:1441 do_sys_open fs/open.c:1448 [inline] __do_sys_openat fs/open.c:1464 [inline] __se_sys_openat fs/open.c:1459 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1459 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 Memory state around the buggy address: ffff888113139000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888113139080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888113139100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888113139180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888113139200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ---------------- Code disassembly (best guess): 0: 85 8d 04 00 00 0f test %ecx,0xf000004(%rbp) 6: b6 44 mov $0x44,%dh 8: 24 23 and $0x23,%al a: 48 81 c4 78 01 00 00 add $0x178,%rsp 11: 5b pop %rbx 12: 5d pop %rbp 13: 41 5c pop %r12 15: 41 5d pop %r13 17: 41 5e pop %r14 19: 41 5f pop %r15 1b: c3 ret 1c: cc int3 1d: cc int3 1e: cc int3 1f: cc int3 20: e8 46 02 37 00 call 0x37026b 25: e8 31 22 1b 00 call 0x1b225b * 2a: 31 ff xor %edi,%edi <-- trapping instruction 2c: 89 c3 mov %eax,%ebx 2e: 89 c6 mov %eax,%esi 30: e8 46 fc 36 00 call 0x36fc7b 35: 84 db test %bl,%bl 37: 0f 85 75 f9 ff ff jne 0xfffff9b2 3d: e8 .byte 0xe8 3e: 29 02 sub %eax,(%rdx)