==================================================================
BUG: KASAN: slab-use-after-free in tasklet_action_common+0x318/0x3d0 kernel/softirq.c:988
Read of size 8 at addr ffff888105aeb158 by task kworker/0:4/5297
CPU: 0 UID: 0 PID: 5297 Comm: kworker/0:4 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:find_stack lib/stackdepot.c:609 [inline]
RIP: 0010:stack_depot_save_flags+0x16c/0xa10 lib/stackdepot.c:676
Code: 41 c1 c8 08 45 29 c1 4c 8b 3d 70 28 55 11 45 89 c8 44 23 05 5e 28 55 11 49 c1 e0 04 4d 01 c7 65 48 ff 05 0f ef 30 0a 4d 8b 37 <4d> 39 f7 75 1b e9 af 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 4d 8b
RSP: 0018:ffffc9000204f650 EFLAGS: 00000282
RAX: 00000000c0648228 RBX: 0000000000000001 RCX: 000000002467a53c
RDX: 0000000000000010 RSI: 00000000c9b2a6b7 RDI: 0000000000000002
RBP: 0000000000000000 R08: 0000000000ae7980 R09: 00000000717ae798
R10: 0000000000000200 R11: 00000000000059fb R12: ffffc9000204f6a8
R13: 0000000000000010 R14: ffff888112c8aa40 R15: ffff8881f44e7980
kasan_save_stack+0x3f/0x50 mm/kasan/common.c:58
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
ieee80211_free_led_names+0x8f/0xe0 net/mac80211/led.c:48
ieee80211_free_hw+0x73/0x1d0 net/mac80211/main.c:1777
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 5297:
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 5297:
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 ffff888105aeb000
which belongs to the cache kmalloc-2k of size 2048
The buggy address is located 344 bytes inside of
freed 2048-byte region [ffff888105aeb000, ffff888105aeb800)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888105aed000 pfn:0x105ae8
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x200000000000240(workingset|head|node=0|zone=2)
page_type: f5(slab)
raw: 0200000000000240 ffff888100042000 ffffea000470fc10 ffffea00044efc10
raw: ffff888105aed000 0000000000080007 00000000f5000000 0000000000000000
head: 0200000000000240 ffff888100042000 ffffea000470fc10 ffffea00044efc10
head: ffff888105aed000 0000000000080007 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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 3004310524
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]
_kzalloc_noprof include/linux/slab.h:1312 [inline]
acpi_ds_create_walk_state+0x95/0x300 drivers/acpi/acpica/dswstate.c:518
acpi_ps_execute_method+0x2c1/0xe90 drivers/acpi/acpica/psxface.c:134
acpi_ns_evaluate+0x640/0x1670 drivers/acpi/acpica/nseval.c:205
acpi_evaluate_object+0x420/0xe00 drivers/acpi/acpica/nsxfeval.c:354
acpi_evaluate_integer+0xdf/0x220 drivers/acpi/utils.c:283
acpi_bus_get_status_handle drivers/acpi/bus.c:82 [inline]
acpi_bus_get_status+0x19c/0x420 drivers/acpi/bus.c:111
acpi_scan_init_status drivers/acpi/scan.c:1862 [inline]
acpi_add_single_object+0x120/0x1a10 drivers/acpi/scan.c:1895
acpi_bus_check_add+0x316/0x970 drivers/acpi/scan.c:2178
acpi_ns_walk_namespace+0x4cc/0x760 drivers/acpi/acpica/nswalk.c:236
page_owner free stack trace missing
Memory state around the buggy address:
ffff888105aeb000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888105aeb080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888105aeb100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888105aeb180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888105aeb200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
----------------
Code disassembly (best guess):
0: 41 c1 c8 08 ror $0x8,%r8d
4: 45 29 c1 sub %r8d,%r9d
7: 4c 8b 3d 70 28 55 11 mov 0x11552870(%rip),%r15 # 0x1155287e
e: 45 89 c8 mov %r9d,%r8d
11: 44 23 05 5e 28 55 11 and 0x1155285e(%rip),%r8d # 0x11552876
18: 49 c1 e0 04 shl $0x4,%r8
1c: 4d 01 c7 add %r8,%r15
1f: 65 48 ff 05 0f ef 30 incq %gs:0xa30ef0f(%rip) # 0xa30ef36
26: 0a
27: 4d 8b 37 mov (%r15),%r14
* 2a: 4d 39 f7 cmp %r14,%r15 <-- trapping instruction
2d: 75 1b jne 0x4a
2f: e9 af 00 00 00 jmp 0xe3
34: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1)
3b: 00 00 00
3e: 4d rex.WRB
3f: 8b .byte 0x8b