Date
July 4, 2025, 11:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 20.239018] ================================================================== [ 20.239347] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 20.239504] Read of size 1 at addr ffff800080a77c2a by task kunit_try_catch/249 [ 20.239573] [ 20.239609] CPU: 1 UID: 0 PID: 249 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 20.239827] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.239858] Hardware name: linux,dummy-virt (DT) [ 20.239893] Call trace: [ 20.239922] show_stack+0x20/0x38 (C) [ 20.239972] dump_stack_lvl+0x8c/0xd0 [ 20.240065] print_report+0x310/0x608 [ 20.240222] kasan_report+0xdc/0x128 [ 20.240407] __asan_report_load1_noabort+0x20/0x30 [ 20.240480] kasan_stack_oob+0x238/0x270 [ 20.240800] kunit_try_run_case+0x170/0x3f0 [ 20.241038] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.241221] kthread+0x328/0x630 [ 20.241299] ret_from_fork+0x10/0x20 [ 20.241348] [ 20.241537] The buggy address belongs to stack of task kunit_try_catch/249 [ 20.242113] and is located at offset 138 in frame: [ 20.242160] kasan_stack_oob+0x0/0x270 [ 20.242851] [ 20.243016] This frame has 4 objects: [ 20.243252] [48, 49) '__assertion' [ 20.243298] [64, 72) 'array' [ 20.243330] [96, 112) '__assertion' [ 20.243542] [128, 138) 'stack_array' [ 20.243723] [ 20.243890] The buggy address belongs to the virtual mapping at [ 20.243890] [ffff800080a70000, ffff800080a79000) created by: [ 20.243890] kernel_clone+0x150/0x7a8 [ 20.244268] [ 20.244384] The buggy address belongs to the physical page: [ 20.244469] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106f35 [ 20.244551] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 20.244642] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 20.244690] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.244931] page dumped because: kasan: bad access detected [ 20.245110] [ 20.245221] Memory state around the buggy address: [ 20.245371] ffff800080a77b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.245454] ffff800080a77b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 20.245646] >ffff800080a77c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 20.245880] ^ [ 20.245935] ffff800080a77c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 20.246115] ffff800080a77d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 20.246314] ==================================================================
[ 13.794970] ================================================================== [ 13.795711] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 13.796061] Read of size 1 at addr ffff888103a77d02 by task kunit_try_catch/266 [ 13.796320] [ 13.796429] CPU: 0 UID: 0 PID: 266 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 13.796480] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.796492] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.796517] Call Trace: [ 13.796533] <TASK> [ 13.796555] dump_stack_lvl+0x73/0xb0 [ 13.796587] print_report+0xd1/0x650 [ 13.796612] ? __virt_addr_valid+0x1db/0x2d0 [ 13.796636] ? kasan_stack_oob+0x2b5/0x300 [ 13.796655] ? kasan_addr_to_slab+0x11/0xa0 [ 13.796676] ? kasan_stack_oob+0x2b5/0x300 [ 13.796696] kasan_report+0x141/0x180 [ 13.796716] ? kasan_stack_oob+0x2b5/0x300 [ 13.796743] __asan_report_load1_noabort+0x18/0x20 [ 13.796768] kasan_stack_oob+0x2b5/0x300 [ 13.796796] ? __pfx_kasan_stack_oob+0x10/0x10 [ 13.796815] ? finish_task_switch.isra.0+0x153/0x700 [ 13.796839] ? __switch_to+0x47/0xf50 [ 13.796865] ? __schedule+0x10cc/0x2b60 [ 13.796886] ? __pfx_read_tsc+0x10/0x10 [ 13.796909] ? ktime_get_ts64+0x86/0x230 [ 13.796934] kunit_try_run_case+0x1a5/0x480 [ 13.796960] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.796982] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.797008] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.797030] ? __kthread_parkme+0x82/0x180 [ 13.797052] ? preempt_count_sub+0x50/0x80 [ 13.797073] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.797096] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.797119] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.797141] kthread+0x337/0x6f0 [ 13.797161] ? trace_preempt_on+0x20/0xc0 [ 13.797185] ? __pfx_kthread+0x10/0x10 [ 13.797205] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.797276] ? calculate_sigpending+0x7b/0xa0 [ 13.797302] ? __pfx_kthread+0x10/0x10 [ 13.797325] ret_from_fork+0x116/0x1d0 [ 13.797344] ? __pfx_kthread+0x10/0x10 [ 13.797364] ret_from_fork_asm+0x1a/0x30 [ 13.797409] </TASK> [ 13.797421] [ 13.808938] The buggy address belongs to stack of task kunit_try_catch/266 [ 13.809444] and is located at offset 138 in frame: [ 13.809800] kasan_stack_oob+0x0/0x300 [ 13.810126] [ 13.810483] This frame has 4 objects: [ 13.810755] [48, 49) '__assertion' [ 13.810780] [64, 72) 'array' [ 13.810928] [96, 112) '__assertion' [ 13.811090] [128, 138) 'stack_array' [ 13.811553] [ 13.811894] The buggy address belongs to the physical page: [ 13.812080] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a77 [ 13.812682] flags: 0x200000000000000(node=0|zone=2) [ 13.813128] raw: 0200000000000000 ffffea00040e9dc8 ffffea00040e9dc8 0000000000000000 [ 13.813615] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.813965] page dumped because: kasan: bad access detected [ 13.814216] [ 13.814641] Memory state around the buggy address: [ 13.814873] ffff888103a77c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.815608] ffff888103a77c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 13.816054] >ffff888103a77d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.816490] ^ [ 13.816839] ffff888103a77d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 13.817152] ffff888103a77e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.817783] ==================================================================