Date
July 10, 2025, 9:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 31.701466] ================================================================== [ 31.701557] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 31.701614] Read of size 1 at addr ffff800080a97c2a by task kunit_try_catch/280 [ 31.701669] [ 31.701701] CPU: 0 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT [ 31.701792] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.701822] Hardware name: linux,dummy-virt (DT) [ 31.701855] Call trace: [ 31.701881] show_stack+0x20/0x38 (C) [ 31.701931] dump_stack_lvl+0x8c/0xd0 [ 31.701979] print_report+0x310/0x5d0 [ 31.702033] kasan_report+0xdc/0x128 [ 31.702092] __asan_report_load1_noabort+0x20/0x30 [ 31.702170] kasan_stack_oob+0x238/0x270 [ 31.702229] kunit_try_run_case+0x170/0x3f0 [ 31.702281] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.702337] kthread+0x328/0x630 [ 31.702390] ret_from_fork+0x10/0x20 [ 31.702447] [ 31.702508] The buggy address belongs to stack of task kunit_try_catch/280 [ 31.702614] and is located at offset 138 in frame: [ 31.702652] kasan_stack_oob+0x0/0x270 [ 31.703081] [ 31.703536] This frame has 4 objects: [ 31.703865] [48, 49) '__assertion' [ 31.704006] [64, 72) 'array' [ 31.704075] [96, 112) '__assertion' [ 31.704120] [128, 138) 'stack_array' [ 31.704454] [ 31.704528] The buggy address ffff800080a97c2a belongs to a vmalloc virtual mapping [ 31.704595] The buggy address belongs to the physical page: [ 31.704692] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xfff00000c3f530c8 pfn:0x103f53 [ 31.704781] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.704944] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 31.705022] raw: fff00000c3f530c8 0000000000000000 00000001ffffffff 0000000000000000 [ 31.705154] page dumped because: kasan: bad access detected [ 31.705191] [ 31.705429] Memory state around the buggy address: [ 31.705595] ffff800080a97b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.705685] ffff800080a97b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 31.705830] >ffff800080a97c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 31.705908] ^ [ 31.706032] ffff800080a97c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 31.706198] ffff800080a97d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 31.706244] ==================================================================
[ 26.950617] ================================================================== [ 26.951485] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 26.951951] Read of size 1 at addr ffff888106087d02 by task kunit_try_catch/297 [ 26.952458] [ 26.952611] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) [ 26.952661] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.952673] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.952695] Call Trace: [ 26.952720] <TASK> [ 26.952738] dump_stack_lvl+0x73/0xb0 [ 26.952768] print_report+0xd1/0x610 [ 26.952801] ? __virt_addr_valid+0x1db/0x2d0 [ 26.952825] ? kasan_stack_oob+0x2b5/0x300 [ 26.952846] ? kasan_addr_to_slab+0x11/0xa0 [ 26.952877] ? kasan_stack_oob+0x2b5/0x300 [ 26.952898] kasan_report+0x141/0x180 [ 26.952920] ? kasan_stack_oob+0x2b5/0x300 [ 26.952944] __asan_report_load1_noabort+0x18/0x20 [ 26.952968] kasan_stack_oob+0x2b5/0x300 [ 26.952989] ? __pfx_kasan_stack_oob+0x10/0x10 [ 26.953066] ? __kasan_check_write+0x18/0x20 [ 26.953095] ? queued_spin_lock_slowpath+0x116/0xb40 [ 26.953122] ? __pfx_queued_spin_lock_slowpath+0x10/0x10 [ 26.953146] ? trace_hardirqs_on+0x37/0xe0 [ 26.953168] ? __pfx_read_tsc+0x10/0x10 [ 26.953190] ? ktime_get_ts64+0x86/0x230 [ 26.953215] kunit_try_run_case+0x1a5/0x480 [ 26.953238] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.953259] ? _raw_spin_lock_irqsave+0xf9/0x100 [ 26.953281] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.953305] ? __kthread_parkme+0x82/0x180 [ 26.953326] ? preempt_count_sub+0x50/0x80 [ 26.953350] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.953372] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.953398] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.953424] kthread+0x337/0x6f0 [ 26.953444] ? trace_preempt_on+0x20/0xc0 [ 26.953466] ? __pfx_kthread+0x10/0x10 [ 26.953487] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.953521] ? calculate_sigpending+0x7b/0xa0 [ 26.953545] ? __pfx_kthread+0x10/0x10 [ 26.953568] ret_from_fork+0x116/0x1d0 [ 26.953588] ? __pfx_kthread+0x10/0x10 [ 26.953608] ret_from_fork_asm+0x1a/0x30 [ 26.953640] </TASK> [ 26.953651] [ 26.965395] The buggy address belongs to stack of task kunit_try_catch/297 [ 26.966167] and is located at offset 138 in frame: [ 26.966905] kasan_stack_oob+0x0/0x300 [ 26.967182] [ 26.967278] This frame has 4 objects: [ 26.967475] [48, 49) '__assertion' [ 26.967511] [64, 72) 'array' [ 26.967835] [96, 112) '__assertion' [ 26.968130] [128, 138) 'stack_array' [ 26.968542] [ 26.969095] The buggy address belongs to the physical page: [ 26.969586] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106087 [ 26.970338] flags: 0x200000000000000(node=0|zone=2) [ 26.971005] raw: 0200000000000000 ffffea00041821c8 ffffea00041821c8 0000000000000000 [ 26.971339] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 26.971716] page dumped because: kasan: bad access detected [ 26.972342] [ 26.972514] Memory state around the buggy address: [ 26.973012] ffff888106087c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 26.973708] ffff888106087c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 26.974114] >ffff888106087d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 26.974805] ^ [ 26.974993] ffff888106087d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 26.975211] ffff888106087e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.975422] ==================================================================