==================================================================
BUG: KASAN: slab-use-after-free in tasklet_action_common+0x318/0x3d0 kernel/softirq.c:954
Read of size 8 at addr ffff88802c9d6158 by task kworker/0:1/10
CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/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:954
handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0x16a/0x210 kernel/softirq.c:758
irq_exit_rcu+0x9/0x30 kernel/softirq.c:775
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:memset_orig+0x42/0xb0 arch/x86/lib/memset_64.S:73
Code: 41 83 e1 07 75 74 48 89 d1 48 c1 e9 06 74 39 66 0f 1f 84 00 00 00 00 00 48 ff c9 48 89 07 48 89 47 08 48 89 47 10 48 89 47 18 <48> 89 47 20 48 89 47 28 48 89 47 30 48 89 47 38 48 8d 7f 40 75 d8
RSP: 0018:ffffc900000f7a08 EFLAGS: 00000202
RAX: f8f8f8f8f8f8f8f8 RBX: ffff888073937b00 RCX: 0000000000000058
RDX: 0000000000001a00 RSI: 00000000000000f8 RDI: fffff520006b33c0
RBP: ffff888078a278f0 R08: 0000000000000006 R09: 0000000000000000
R10: fffff520006b3000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888073937b08 R14: 000000000000d000 R15: 000000000000d000
kasan_poison_vmalloc include/linux/kasan.h:631 [inline]
remove_vm_area+0x231/0x390 mm/vmalloc.c:3354
vfree mm/vmalloc.c:3500 [inline]
vfree+0x6c/0x6d0 mm/vmalloc.c:3484
__free_fw_priv drivers/base/firmware_loader/main.c:219 [inline]
kref_put include/linux/kref.h:65 [inline]
free_fw_priv+0x3f1/0x4e0 drivers/base/firmware_loader/main.c:229
firmware_free_data drivers/base/firmware_loader/main.c:604 [inline]
release_firmware drivers/base/firmware_loader/main.c:1126 [inline]
release_firmware+0x7f/0xc0 drivers/base/firmware_loader/main.c:1122
ath9k_hif_usb_firmware_cb+0x327/0x510 drivers/net/wireless/ath/ath9k/hif_usb.c:1276
request_firmware_work_func+0x13f/0x440 drivers/base/firmware_loader/main.c:1164
process_one_work+0xac7/0x1b10 kernel/workqueue.c:3396
process_scheduled_works kernel/workqueue.c:3479 [inline]
worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Allocated by task 10:
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+0xaa/0xb0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__kmalloc_cache_noprof+0x2f8/0x6d0 mm/slub.c:5563
_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:3396
process_scheduled_works kernel/workqueue.c:3479 [inline]
worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Freed by task 10:
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+0x5f/0x80 mm/kasan/common.c:296
kasan_slab_free include/linux/kasan.h:235 [inline]
slab_free_hook mm/slub.c:2748 [inline]
slab_free mm/slub.c:6509 [inline]
kfree+0x22b/0x6d0 mm/slub.c:6802
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:3396
process_scheduled_works kernel/workqueue.c:3479 [inline]
worker_thread+0x5ef/0xe50 kernel/workqueue.c:3560
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x730/0xd60 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 ffff88802c9d6000
which belongs to the cache kmalloc-2k of size 2048
The buggy address is located 344 bytes inside of
freed 2048-byte region [ffff88802c9d6000, ffff88802c9d6800)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2c9d0
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801d033000 dead000000000100 dead000000000122
raw: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801d033000 dead000000000100 dead000000000122
head: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000
head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 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 1, tgid 1 (swapper/0), ts 7400154649
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1871
prep_new_page mm/page_alloc.c:1879 [inline]
get_page_from_freelist+0x110d/0x35d0 mm/page_alloc.c:3943
__alloc_frozen_pages_noprof+0x2eb/0x3300 mm/page_alloc.c:5436
alloc_slab_page mm/slub.c:3347 [inline]
allocate_slab mm/slub.c:3462 [inline]
new_slab+0xa9/0x6e0 mm/slub.c:3513
refill_objects+0xe3/0x410 mm/slub.c:7418
refill_sheaf mm/slub.c:2885 [inline]
__pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4774
alloc_from_pcs mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:4984 [inline]
__kmalloc_cache_noprof+0x4f4/0x6d0 mm/slub.c:5559
_kmalloc_noprof include/linux/slab.h:991 [inline]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
usb_add_gadget+0x4f/0x920 drivers/usb/gadget/udc/core.c:1415
usb_add_gadget_udc_release drivers/usb/gadget/udc/core.c:1517 [inline]
usb_add_gadget_udc+0x26/0x70 drivers/usb/gadget/udc/core.c:1564
dummy_udc_probe+0x69e/0x960 drivers/usb/gadget/udc/dummy_hcd.c:1125
platform_probe+0x106/0x1d0 drivers/base/platform.c:1507
call_driver_probe drivers/base/dd.c:628 [inline]
really_probe+0x241/0xa60 drivers/base/dd.c:706
__driver_probe_device+0x210/0x460 drivers/base/dd.c:868
driver_probe_device+0x4a/0x140 drivers/base/dd.c:898
__device_attach_driver+0x1df/0x320 drivers/base/dd.c:1026
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
page_owner free stack trace missing
Memory state around the buggy address:
ffff88802c9d6000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88802c9d6080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff88802c9d6100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88802c9d6180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88802c9d6200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
0: 41 83 e1 07 and $0x7,%r9d
4: 75 74 jne 0x7a
6: 48 89 d1 mov %rdx,%rcx
9: 48 c1 e9 06 shr $0x6,%rcx
d: 74 39 je 0x48
f: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1)
16: 00 00
18: 48 ff c9 dec %rcx
1b: 48 89 07 mov %rax,(%rdi)
1e: 48 89 47 08 mov %rax,0x8(%rdi)
22: 48 89 47 10 mov %rax,0x10(%rdi)
26: 48 89 47 18 mov %rax,0x18(%rdi)
* 2a: 48 89 47 20 mov %rax,0x20(%rdi) <-- trapping instruction
2e: 48 89 47 28 mov %rax,0x28(%rdi)
32: 48 89 47 30 mov %rax,0x30(%rdi)
36: 48 89 47 38 mov %rax,0x38(%rdi)
3a: 48 8d 7f 40 lea 0x40(%rdi),%rdi
3e: 75 d8 jne 0x18