==================================================================
BUG: KASAN: slab-use-after-free in tasklet_action_common+0x318/0x3d0 kernel/softirq.c:988
Read of size 8 at addr ffff888105ea4158 by task klogd/2842
CPU: 1 UID: 0 PID: 2842 Comm: klogd 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
do_softirq kernel/softirq.c:569 [inline]
do_softirq+0xaf/0xf0 kernel/softirq.c:556
__local_bh_enable_ip+0xff/0x120 kernel/softirq.c:473
local_bh_enable include/linux/bottom_half.h:33 [inline]
__alloc_skb+0x5db/0x710 net/core/skbuff.c:700
alloc_skb include/linux/skbuff.h:1390 [inline]
alloc_skb_with_frags+0xdb/0x750 net/core/skbuff.c:6936
sock_alloc_send_pskb+0x86a/0x9e0 net/core/sock.c:3093
unix_dgram_sendmsg+0x3f4/0x1a80 net/unix/af_unix.c:2149
sock_sendmsg_nosec net/socket.c:800 [inline]
__sock_sendmsg net/socket.c:818 [inline]
__sys_sendto+0x492/0x4e0 net/socket.c:2283
__do_sys_sendto net/socket.c:2290 [inline]
__se_sys_sendto net/socket.c:2286 [inline]
__x64_sys_sendto+0xe0/0x1c0 net/socket.c:2286
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x119/0x730 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8ce3ce9407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffe5971e800 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f8ce3b99c80 RCX: 00007f8ce3ce9407
RDX: 0000000000000060 RSI: 00007ffe5971e940 RDI: 0000000000000003
RBP: 00007ffe5971ed70 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffe5971ed88
R13: 00007ffe5971e940 R14: 0000000000000045 R15: 00007ffe5971e940
Allocated by task 5302:
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 5302:
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 ffff888105ea4000
which belongs to the cache kmalloc-2k of size 2048
The buggy address is located 344 bytes inside of
freed 2048-byte region [ffff888105ea4000, ffff888105ea4800)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888105ea5000 pfn:0x105ea0
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 ffffea0004e82a10 ffffea0004527410
raw: ffff888105ea5000 0000000000080007 00000000f5000000 0000000000000000
head: 0200000000000240 ffff888100042000 ffffea0004e82a10 ffffea0004527410
head: ffff888105ea5000 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 3061276441
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0x9da/0x2970 mm/page_alloc.c:3950
__alloc_frozen_pages_noprof+0x2a7/0x2f80 mm/page_alloc.c:5492
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_ds_call_control_method+0x226/0xab0 drivers/acpi/acpica/dsmethod.c:511
acpi_ps_parse_aml+0xacd/0x1120 drivers/acpi/acpica/psparse.c:517
acpi_ps_execute_method+0x5c4/0xe90 drivers/acpi/acpica/psxface.c:190
acpi_ns_evaluate+0x640/0x1670 drivers/acpi/acpica/nseval.c:205
acpi_ut_evaluate_object+0xf7/0x610 drivers/acpi/acpica/uteval.c:60
acpi_rs_get_method_data+0xa1/0x160 drivers/acpi/acpica/rsutils.c:650
acpi_walk_resources+0x178/0x270 drivers/acpi/acpica/rsxface.c:616
__acpi_dev_get_resources drivers/acpi/resource.c:966 [inline]
acpi_dev_get_resources+0x1c4/0x250 drivers/acpi/resource.c:1004
page_owner free stack trace missing
Memory state around the buggy address:
ffff888105ea4000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888105ea4080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff888105ea4100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888105ea4180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888105ea4200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================