Workqueue: events_power_efficient wg_ratelimiter_gc_entries Call Trace: [] context_switch kernel/sched/core.c:5382 [inline] [] __schedule+0x794/0x1884 kernel/sched/core.c:6695 ================================================================== BUG: KASAN: out-of-bounds in walk_stackframe+0x130/0x2fc arch/riscv/kernel/stacktrace.c:60 Read of size 8 at addr ff20000002957b70 by task kworker/u5:0/2980 CPU: 0 PID: 2980 Comm: kworker/u5:0 Not tainted 6.6.0-rc1-syzkaller-gb06fab003ae1-dirty #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: events_unbound call_usermodehelper_exec_work Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:123 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:129 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106 [] print_address_description mm/kasan/report.c:364 [inline] [] print_report+0x1e4/0x4f4 mm/kasan/report.c:475 [] kasan_report+0xf0/0x1ba mm/kasan/report.c:588 [] check_region_inline mm/kasan/generic.c:181 [inline] [] __asan_load8+0x80/0xa8 mm/kasan/generic.c:260 The buggy address belongs to the virtual mapping at [ff20000002950000, ff20000002959000) created by: kernel_clone+0x118/0x896 kernel/fork.c:2909 The buggy address belongs to the physical page: page:ff1c0000024f6200 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x93d88 flags: 0xffe000000000000(node=0|zone=0|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 0ffe000000000000 0000000000000000 0000000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x102dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_ZERO), pid 1050, tgid 1050 (kworker/u6:6), ts 774352086000, free_ts 770944568300 __set_page_owner+0x32/0x18a mm/page_owner.c:192 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x8c/0xe2 mm/page_alloc.c:1536 prep_new_page mm/page_alloc.c:1543 [inline] get_page_from_freelist+0x84a/0x121e mm/page_alloc.c:3170 __alloc_pages+0x19c/0x142e mm/page_alloc.c:4426 alloc_pages+0x126/0x252 mm/mempolicy.c:2298 vm_area_alloc_pages mm/vmalloc.c:3063 [inline] __vmalloc_area_node mm/vmalloc.c:3139 [inline] __vmalloc_node_range+0x838/0xec2 mm/vmalloc.c:3320 alloc_thread_stack_node kernel/fork.c:309 [inline] dup_task_struct kernel/fork.c:1118 [inline] copy_process+0x225a/0x3f1e kernel/fork.c:2327 kernel_clone+0x118/0x896 kernel/fork.c:2909 user_mode_thread+0xea/0x11a kernel/fork.c:2987 call_usermodehelper_exec_work kernel/umh.c:172 [inline] call_usermodehelper_exec_work+0xc8/0x122 kernel/umh.c:158 process_one_work+0x54c/0xd66 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x506/0x980 kernel/workqueue.c:2784 kthread+0x1bc/0x22c kernel/kthread.c:388 ret_from_fork+0xa/0x1c arch/riscv/kernel/entry.S:264 page last free stack trace: __reset_page_owner+0x4c/0xf8 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1136 [inline] free_unref_page_prepare+0x224/0x592 mm/page_alloc.c:2312 free_unref_page+0x5a/0x234 mm/page_alloc.c:2405 free_the_page mm/page_alloc.c:562 [inline] __free_pages+0x104/0x126 mm/page_alloc.c:4516 vfree+0x14c/0x68e mm/vmalloc.c:2842 delayed_vfree_work+0x42/0x58 mm/vmalloc.c:2763 process_one_work+0x54c/0xd66 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x506/0x980 kernel/workqueue.c:2784 kthread+0x1bc/0x22c kernel/kthread.c:388 ret_from_fork+0xa/0x1c arch/riscv/kernel/entry.S:264 Memory state around the buggy address: ff20000002957a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff20000002957a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ff20000002957b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ff20000002957b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff20000002957c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================