Date
July 8, 2025, 4:38 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 19.938670] ================================================================== [ 19.938781] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 19.938866] Read of size 1 at addr ffff8000809a7c2a by task kunit_try_catch/251 [ 19.938955] [ 19.938995] CPU: 0 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.15.6-rc1 #1 PREEMPT [ 19.939094] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.939121] Hardware name: linux,dummy-virt (DT) [ 19.939169] Call trace: [ 19.939214] show_stack+0x20/0x38 (C) [ 19.939266] dump_stack_lvl+0x8c/0xd0 [ 19.939381] print_report+0x310/0x608 [ 19.939429] kasan_report+0xdc/0x128 [ 19.939490] __asan_report_load1_noabort+0x20/0x30 [ 19.939541] kasan_stack_oob+0x238/0x270 [ 19.939587] kunit_try_run_case+0x170/0x3f0 [ 19.939798] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.939868] kthread+0x328/0x630 [ 19.939915] ret_from_fork+0x10/0x20 [ 19.939980] [ 19.940063] The buggy address belongs to stack of task kunit_try_catch/251 [ 19.940171] and is located at offset 138 in frame: [ 19.940240] kasan_stack_oob+0x0/0x270 [ 19.940566] [ 19.940646] This frame has 4 objects: [ 19.940750] [48, 49) '__assertion' [ 19.940785] [64, 72) 'array' [ 19.940817] [96, 112) '__assertion' [ 19.940992] [128, 138) 'stack_array' [ 19.941054] [ 19.941087] The buggy address belongs to the virtual mapping at [ 19.941087] [ffff8000809a0000, ffff8000809a9000) created by: [ 19.941087] kernel_clone+0x150/0x7a8 [ 19.941217] [ 19.941343] The buggy address belongs to the physical page: [ 19.941422] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1063de [ 19.941493] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 19.941582] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 19.941669] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 19.941787] page dumped because: kasan: bad access detected [ 19.941864] [ 19.941912] Memory state around the buggy address: [ 19.941946] ffff8000809a7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.942584] ffff8000809a7b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 19.942815] >ffff8000809a7c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 19.942962] ^ [ 19.943057] ffff8000809a7c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 19.943153] ffff8000809a7d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 19.943211] ==================================================================
[ 13.102213] ================================================================== [ 13.103692] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 13.104783] Read of size 1 at addr ffff888103d27d02 by task kunit_try_catch/269 [ 13.105472] [ 13.105736] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.15.6-rc1 #1 PREEMPT(voluntary) [ 13.105943] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.105958] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.105983] Call Trace: [ 13.106004] <TASK> [ 13.106021] dump_stack_lvl+0x73/0xb0 [ 13.106051] print_report+0xd1/0x650 [ 13.106077] ? __virt_addr_valid+0x1db/0x2d0 [ 13.106100] ? kasan_stack_oob+0x2b5/0x300 [ 13.106121] ? kasan_addr_to_slab+0x11/0xa0 [ 13.106142] ? kasan_stack_oob+0x2b5/0x300 [ 13.106164] kasan_report+0x141/0x180 [ 13.106187] ? kasan_stack_oob+0x2b5/0x300 [ 13.106213] __asan_report_load1_noabort+0x18/0x20 [ 13.106236] kasan_stack_oob+0x2b5/0x300 [ 13.106258] ? __pfx_kasan_stack_oob+0x10/0x10 [ 13.106278] ? finish_task_switch.isra.0+0x153/0x700 [ 13.106304] ? __switch_to+0x5d9/0xf60 [ 13.106325] ? dequeue_task_fair+0x166/0x4e0 [ 13.106350] ? __schedule+0x10cc/0x2b60 [ 13.106374] ? __pfx_read_tsc+0x10/0x10 [ 13.106396] ? ktime_get_ts64+0x86/0x230 [ 13.106422] kunit_try_run_case+0x1a5/0x480 [ 13.106445] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.106464] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.106490] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.106544] ? __kthread_parkme+0x82/0x180 [ 13.106569] ? preempt_count_sub+0x50/0x80 [ 13.106593] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.106614] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.106639] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.106663] kthread+0x337/0x6f0 [ 13.106681] ? trace_preempt_on+0x20/0xc0 [ 13.106705] ? __pfx_kthread+0x10/0x10 [ 13.106723] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.106746] ? calculate_sigpending+0x7b/0xa0 [ 13.106769] ? __pfx_kthread+0x10/0x10 [ 13.106788] ret_from_fork+0x41/0x80 [ 13.106809] ? __pfx_kthread+0x10/0x10 [ 13.106828] ret_from_fork_asm+0x1a/0x30 [ 13.106945] </TASK> [ 13.106957] [ 13.123589] The buggy address belongs to stack of task kunit_try_catch/269 [ 13.123902] and is located at offset 138 in frame: [ 13.124204] kasan_stack_oob+0x0/0x300 [ 13.124541] [ 13.124631] This frame has 4 objects: [ 13.125322] [48, 49) '__assertion' [ 13.125348] [64, 72) 'array' [ 13.125503] [96, 112) '__assertion' [ 13.125780] [128, 138) 'stack_array' [ 13.126092] [ 13.126352] The buggy address belongs to the physical page: [ 13.126757] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103d27 [ 13.127264] flags: 0x200000000000000(node=0|zone=2) [ 13.127618] raw: 0200000000000000 ffffea00040f49c8 ffffea00040f49c8 0000000000000000 [ 13.127930] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.128591] page dumped because: kasan: bad access detected [ 13.128842] [ 13.128975] Memory state around the buggy address: [ 13.129399] ffff888103d27c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.130123] ffff888103d27c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 13.130438] >ffff888103d27d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.130905] ^ [ 13.131096] ffff888103d27d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 13.131657] ffff888103d27e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.132213] ==================================================================