Date
July 15, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.685883] ================================================================== [ 17.685959] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 17.686042] Read of size 1 at addr ffff800080a07c2a by task kunit_try_catch/250 [ 17.686094] [ 17.686137] CPU: 1 UID: 0 PID: 250 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 17.686242] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.686600] Hardware name: linux,dummy-virt (DT) [ 17.686642] Call trace: [ 17.686862] show_stack+0x20/0x38 (C) [ 17.686914] dump_stack_lvl+0x8c/0xd0 [ 17.686965] print_report+0x310/0x5d0 [ 17.687013] kasan_report+0xdc/0x128 [ 17.687060] __asan_report_load1_noabort+0x20/0x30 [ 17.687120] kasan_stack_oob+0x238/0x270 [ 17.687739] kunit_try_run_case+0x170/0x3f0 [ 17.687814] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.687871] kthread+0x328/0x630 [ 17.688017] ret_from_fork+0x10/0x20 [ 17.688144] [ 17.688245] The buggy address belongs to stack of task kunit_try_catch/250 [ 17.688358] and is located at offset 138 in frame: [ 17.688397] kasan_stack_oob+0x0/0x270 [ 17.688688] [ 17.688763] This frame has 4 objects: [ 17.688899] [48, 49) '__assertion' [ 17.688943] [64, 72) 'array' [ 17.689008] [96, 112) '__assertion' [ 17.689105] [128, 138) 'stack_array' [ 17.689151] [ 17.689176] The buggy address ffff800080a07c2a belongs to a vmalloc virtual mapping [ 17.689238] The buggy address belongs to the physical page: [ 17.689397] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106555 [ 17.689461] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 17.689575] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 17.689694] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.689772] page dumped because: kasan: bad access detected [ 17.689896] [ 17.689916] Memory state around the buggy address: [ 17.689967] ffff800080a07b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.690012] ffff800080a07b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 17.690060] >ffff800080a07c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 17.690098] ^ [ 17.690271] ffff800080a07c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 17.690378] ffff800080a07d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 17.690455] ==================================================================
[ 14.332732] ================================================================== [ 14.333427] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 14.333732] Read of size 1 at addr ffff888103937d02 by task kunit_try_catch/266 [ 14.334078] [ 14.334182] CPU: 1 UID: 0 PID: 266 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.334226] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.334237] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.334258] Call Trace: [ 14.334271] <TASK> [ 14.334286] dump_stack_lvl+0x73/0xb0 [ 14.334316] print_report+0xd1/0x610 [ 14.334408] ? __virt_addr_valid+0x1db/0x2d0 [ 14.334433] ? kasan_stack_oob+0x2b5/0x300 [ 14.334453] ? kasan_addr_to_slab+0x11/0xa0 [ 14.334474] ? kasan_stack_oob+0x2b5/0x300 [ 14.334495] kasan_report+0x141/0x180 [ 14.334531] ? kasan_stack_oob+0x2b5/0x300 [ 14.334556] __asan_report_load1_noabort+0x18/0x20 [ 14.334581] kasan_stack_oob+0x2b5/0x300 [ 14.334602] ? __pfx_kasan_stack_oob+0x10/0x10 [ 14.334622] ? finish_task_switch.isra.0+0x153/0x700 [ 14.334647] ? __switch_to+0x47/0xf50 [ 14.334673] ? __schedule+0x10cc/0x2b60 [ 14.334696] ? __pfx_read_tsc+0x10/0x10 [ 14.334718] ? ktime_get_ts64+0x86/0x230 [ 14.334744] kunit_try_run_case+0x1a5/0x480 [ 14.334780] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.334804] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.334830] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.334855] ? __kthread_parkme+0x82/0x180 [ 14.334876] ? preempt_count_sub+0x50/0x80 [ 14.334900] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.334925] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.334951] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.334977] kthread+0x337/0x6f0 [ 14.334997] ? trace_preempt_on+0x20/0xc0 [ 14.335020] ? __pfx_kthread+0x10/0x10 [ 14.335041] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.335064] ? calculate_sigpending+0x7b/0xa0 [ 14.335089] ? __pfx_kthread+0x10/0x10 [ 14.335111] ret_from_fork+0x116/0x1d0 [ 14.335130] ? __pfx_kthread+0x10/0x10 [ 14.335150] ret_from_fork_asm+0x1a/0x30 [ 14.335181] </TASK> [ 14.335192] [ 14.342944] The buggy address belongs to stack of task kunit_try_catch/266 [ 14.343409] and is located at offset 138 in frame: [ 14.343855] kasan_stack_oob+0x0/0x300 [ 14.344113] [ 14.344228] This frame has 4 objects: [ 14.344521] [48, 49) '__assertion' [ 14.344543] [64, 72) 'array' [ 14.344827] [96, 112) '__assertion' [ 14.345044] [128, 138) 'stack_array' [ 14.345190] [ 14.345581] The buggy address belongs to the physical page: [ 14.345773] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103937 [ 14.346050] flags: 0x200000000000000(node=0|zone=2) [ 14.346293] raw: 0200000000000000 ffffea00040e4dc8 ffffea00040e4dc8 0000000000000000 [ 14.346644] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.346916] page dumped because: kasan: bad access detected [ 14.347157] [ 14.347259] Memory state around the buggy address: [ 14.347741] ffff888103937c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.348066] ffff888103937c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 14.348465] >ffff888103937d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.348702] ^ [ 14.348847] ffff888103937d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 14.349155] ffff888103937e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.349601] ==================================================================