Date
July 8, 2025, 7:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.528292] ================================================================== [ 21.528698] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 21.528904] Read of size 1 at addr ffff800080a57c2a by task kunit_try_catch/249 [ 21.528957] [ 21.529125] CPU: 0 UID: 0 PID: 249 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT [ 21.529212] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.529316] Hardware name: linux,dummy-virt (DT) [ 21.529364] Call trace: [ 21.529434] show_stack+0x20/0x38 (C) [ 21.529486] dump_stack_lvl+0x8c/0xd0 [ 21.529683] print_report+0x310/0x608 [ 21.529917] kasan_report+0xdc/0x128 [ 21.529990] __asan_report_load1_noabort+0x20/0x30 [ 21.530041] kasan_stack_oob+0x238/0x270 [ 21.530180] kunit_try_run_case+0x170/0x3f0 [ 21.530264] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.530318] kthread+0x328/0x630 [ 21.530412] ret_from_fork+0x10/0x20 [ 21.530670] [ 21.530765] The buggy address belongs to stack of task kunit_try_catch/249 [ 21.530876] and is located at offset 138 in frame: [ 21.531244] kasan_stack_oob+0x0/0x270 [ 21.531604] [ 21.531769] This frame has 4 objects: [ 21.532448] [48, 49) '__assertion' [ 21.532787] [64, 72) 'array' [ 21.533172] [96, 112) '__assertion' [ 21.533446] [128, 138) 'stack_array' [ 21.533638] [ 21.533767] The buggy address belongs to the virtual mapping at [ 21.533767] [ffff800080a50000, ffff800080a59000) created by: [ 21.533767] kernel_clone+0x150/0x7a8 [ 21.533893] [ 21.533956] The buggy address belongs to the physical page: [ 21.534129] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xfff00000c6481948 pfn:0x106481 [ 21.534196] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.534304] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 21.534449] raw: fff00000c6481948 0000000000000000 00000001ffffffff 0000000000000000 [ 21.534545] page dumped because: kasan: bad access detected [ 21.534723] [ 21.534754] Memory state around the buggy address: [ 21.534818] ffff800080a57b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.534871] ffff800080a57b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 21.534916] >ffff800080a57c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 21.534956] ^ [ 21.534991] ffff800080a57c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 21.535053] ffff800080a57d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 21.535094] ==================================================================
[ 14.809345] ================================================================== [ 14.810366] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 14.810713] Read of size 1 at addr ffff888103a7fd02 by task kunit_try_catch/266 [ 14.811120] [ 14.811511] CPU: 1 UID: 0 PID: 266 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5 #1 PREEMPT(voluntary) [ 14.811561] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.811573] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.811597] Call Trace: [ 14.811611] <TASK> [ 14.811628] dump_stack_lvl+0x73/0xb0 [ 14.811658] print_report+0xd1/0x650 [ 14.811681] ? __virt_addr_valid+0x1db/0x2d0 [ 14.811704] ? kasan_stack_oob+0x2b5/0x300 [ 14.811723] ? kasan_addr_to_slab+0x11/0xa0 [ 14.811744] ? kasan_stack_oob+0x2b5/0x300 [ 14.811764] kasan_report+0x141/0x180 [ 14.811786] ? kasan_stack_oob+0x2b5/0x300 [ 14.811810] __asan_report_load1_noabort+0x18/0x20 [ 14.811834] kasan_stack_oob+0x2b5/0x300 [ 14.811854] ? __pfx_kasan_stack_oob+0x10/0x10 [ 14.811872] ? finish_task_switch.isra.0+0x153/0x700 [ 14.811895] ? __switch_to+0x47/0xf50 [ 14.811922] ? __schedule+0x10cc/0x2b60 [ 14.811945] ? __pfx_read_tsc+0x10/0x10 [ 14.811966] ? ktime_get_ts64+0x86/0x230 [ 14.811991] kunit_try_run_case+0x1a5/0x480 [ 14.812014] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.812036] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.812073] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.812097] ? __kthread_parkme+0x82/0x180 [ 14.812116] ? preempt_count_sub+0x50/0x80 [ 14.812140] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.812162] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.812186] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.812208] kthread+0x337/0x6f0 [ 14.812227] ? trace_preempt_on+0x20/0xc0 [ 14.812251] ? __pfx_kthread+0x10/0x10 [ 14.812271] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.812292] ? calculate_sigpending+0x7b/0xa0 [ 14.812316] ? __pfx_kthread+0x10/0x10 [ 14.812337] ret_from_fork+0x116/0x1d0 [ 14.812356] ? __pfx_kthread+0x10/0x10 [ 14.812375] ret_from_fork_asm+0x1a/0x30 [ 14.812407] </TASK> [ 14.812420] [ 14.827438] The buggy address belongs to stack of task kunit_try_catch/266 [ 14.827941] and is located at offset 138 in frame: [ 14.828521] kasan_stack_oob+0x0/0x300 [ 14.829289] [ 14.829504] This frame has 4 objects: [ 14.830279] [48, 49) '__assertion' [ 14.830316] [64, 72) 'array' [ 14.830861] [96, 112) '__assertion' [ 14.831112] [128, 138) 'stack_array' [ 14.831656] [ 14.831859] The buggy address belongs to the physical page: [ 14.832054] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a7f [ 14.833442] flags: 0x200000000000000(node=0|zone=2) [ 14.833969] raw: 0200000000000000 ffffea00040e9fc8 ffffea00040e9fc8 0000000000000000 [ 14.834990] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.835433] page dumped because: kasan: bad access detected [ 14.835678] [ 14.835780] Memory state around the buggy address: [ 14.835997] ffff888103a7fc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.836292] ffff888103a7fc80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 14.836621] >ffff888103a7fd00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.836882] ^ [ 14.837547] ffff888103a7fd80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 14.837999] ffff888103a7fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.838509] ==================================================================