Date
July 23, 2025, 3:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 32.742283] ================================================================== [ 32.742379] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 32.742448] Read of size 1 at addr ffff800080b77c2a by task kunit_try_catch/282 [ 32.742500] [ 32.742541] CPU: 1 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250723 #1 PREEMPT [ 32.742640] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 32.742716] Hardware name: linux,dummy-virt (DT) [ 32.742755] Call trace: [ 32.742782] show_stack+0x20/0x38 (C) [ 32.742838] dump_stack_lvl+0x8c/0xd0 [ 32.742887] print_report+0x310/0x5e8 [ 32.743731] kasan_report+0xdc/0x128 [ 32.743810] __asan_report_load1_noabort+0x20/0x30 [ 32.743885] kasan_stack_oob+0x238/0x270 [ 32.744004] kunit_try_run_case+0x170/0x3f0 [ 32.744093] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.744148] kthread+0x328/0x630 [ 32.744201] ret_from_fork+0x10/0x20 [ 32.744475] [ 32.744779] The buggy address belongs to stack of task kunit_try_catch/282 [ 32.745232] and is located at offset 138 in frame: [ 32.745285] kasan_stack_oob+0x0/0x270 [ 32.745802] [ 32.745887] This frame has 4 objects: [ 32.746526] [48, 49) '__assertion' [ 32.746720] [64, 72) 'array' [ 32.746807] [96, 112) '__assertion' [ 32.746972] [128, 138) 'stack_array' [ 32.747039] [ 32.747263] The buggy address belongs to a 8-page vmalloc region starting at 0xffff800080b70000 allocated at kernel_clone+0x150/0x7b0 [ 32.747784] The buggy address belongs to the physical page: [ 32.747869] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109c18 [ 32.748007] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 32.748113] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 32.748324] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 32.748397] page dumped because: kasan: bad access detected [ 32.748621] [ 32.748746] Memory state around the buggy address: [ 32.748921] ffff800080b77b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.748996] ffff800080b77b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 32.749078] >ffff800080b77c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 32.749209] ^ [ 32.749267] ffff800080b77c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 32.749505] ffff800080b77d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 32.749667] ==================================================================
[ 27.082253] ================================================================== [ 27.083597] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 27.083843] Read of size 1 at addr ffff888106227d02 by task kunit_try_catch/298 [ 27.084065] [ 27.084176] CPU: 0 UID: 0 PID: 298 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250723 #1 PREEMPT(voluntary) [ 27.084233] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.084246] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 27.084270] Call Trace: [ 27.084284] <TASK> [ 27.084304] dump_stack_lvl+0x73/0xb0 [ 27.084335] print_report+0xd1/0x640 [ 27.084360] ? __virt_addr_valid+0x1db/0x2d0 [ 27.084385] ? kasan_stack_oob+0x2b5/0x300 [ 27.084405] ? kasan_addr_to_slab+0x11/0xa0 [ 27.084427] ? kasan_stack_oob+0x2b5/0x300 [ 27.084447] kasan_report+0x141/0x180 [ 27.084470] ? kasan_stack_oob+0x2b5/0x300 [ 27.084827] __asan_report_load1_noabort+0x18/0x20 [ 27.084870] kasan_stack_oob+0x2b5/0x300 [ 27.084910] ? __pfx_kasan_stack_oob+0x10/0x10 [ 27.084931] ? finish_task_switch.isra.0+0x153/0x700 [ 27.085062] ? __switch_to+0x47/0xf80 [ 27.085095] ? __schedule+0x10da/0x2b60 [ 27.085121] ? __pfx_read_tsc+0x10/0x10 [ 27.085153] ? ktime_get_ts64+0x86/0x230 [ 27.085180] kunit_try_run_case+0x1a5/0x480 [ 27.085207] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.085231] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 27.085256] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 27.085283] ? __kthread_parkme+0x82/0x180 [ 27.085304] ? preempt_count_sub+0x50/0x80 [ 27.085328] ? __pfx_kunit_try_run_case+0x10/0x10 [ 27.085352] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 27.085376] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 27.085402] kthread+0x337/0x6f0 [ 27.085423] ? trace_preempt_on+0x20/0xc0 [ 27.085448] ? __pfx_kthread+0x10/0x10 [ 27.085468] ? _raw_spin_unlock_irq+0x47/0x80 [ 27.085492] ? calculate_sigpending+0x7b/0xa0 [ 27.085517] ? __pfx_kthread+0x10/0x10 [ 27.085539] ret_from_fork+0x116/0x1d0 [ 27.085559] ? __pfx_kthread+0x10/0x10 [ 27.085580] ret_from_fork_asm+0x1a/0x30 [ 27.085612] </TASK> [ 27.085624] [ 27.102277] The buggy address belongs to stack of task kunit_try_catch/298 [ 27.103106] and is located at offset 138 in frame: [ 27.103730] kasan_stack_oob+0x0/0x300 [ 27.104190] [ 27.104281] This frame has 4 objects: [ 27.104555] [48, 49) '__assertion' [ 27.104583] [64, 72) 'array' [ 27.104939] [96, 112) '__assertion' [ 27.105302] [128, 138) 'stack_array' [ 27.105913] [ 27.106499] The buggy address belongs to the physical page: [ 27.106964] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106227 [ 27.107346] flags: 0x200000000000000(node=0|zone=2) [ 27.107550] raw: 0200000000000000 ffffea00041889c8 ffffea00041889c8 0000000000000000 [ 27.108331] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 27.109198] page dumped because: kasan: bad access detected [ 27.109549] [ 27.109622] Memory state around the buggy address: [ 27.109776] ffff888106227c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 27.110101] ffff888106227c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 27.110948] >ffff888106227d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 27.111673] ^ [ 27.112030] ffff888106227d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 27.112773] ffff888106227e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.113238] ==================================================================