Date
July 9, 2025, 1:08 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 31.562927] ================================================================== [ 31.563044] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 31.563119] Read of size 1 at addr ffff800080be7c2a by task kunit_try_catch/281 [ 31.563171] [ 31.563206] CPU: 1 UID: 0 PID: 281 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250709 #1 PREEMPT [ 31.563452] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.563495] Hardware name: linux,dummy-virt (DT) [ 31.563530] Call trace: [ 31.563555] show_stack+0x20/0x38 (C) [ 31.563716] dump_stack_lvl+0x8c/0xd0 [ 31.563854] print_report+0x310/0x5d0 [ 31.563986] kasan_report+0xdc/0x128 [ 31.564076] __asan_report_load1_noabort+0x20/0x30 [ 31.564163] kasan_stack_oob+0x238/0x270 [ 31.564212] kunit_try_run_case+0x170/0x3f0 [ 31.564263] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.564318] kthread+0x328/0x630 [ 31.564482] ret_from_fork+0x10/0x20 [ 31.564572] [ 31.564761] The buggy address belongs to stack of task kunit_try_catch/281 [ 31.565047] and is located at offset 138 in frame: [ 31.565140] kasan_stack_oob+0x0/0x270 [ 31.565376] [ 31.565595] This frame has 4 objects: [ 31.565901] [48, 49) '__assertion' [ 31.565985] [64, 72) 'array' [ 31.566020] [96, 112) '__assertion' [ 31.566076] [128, 138) 'stack_array' [ 31.566266] [ 31.566358] The buggy address ffff800080be7c2a belongs to a vmalloc virtual mapping [ 31.566465] The buggy address belongs to the physical page: [ 31.566563] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107370 [ 31.566666] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.566770] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 31.567104] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 31.567162] page dumped because: kasan: bad access detected [ 31.567282] [ 31.567348] Memory state around the buggy address: [ 31.567389] ffff800080be7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.567498] ffff800080be7b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 31.567579] >ffff800080be7c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 31.567623] ^ [ 31.567659] ffff800080be7c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 31.567705] ffff800080be7d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 31.567746] ==================================================================
[ 25.913171] ================================================================== [ 25.915204] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 25.916620] Read of size 1 at addr ffff8881062e7d02 by task kunit_try_catch/299 [ 25.917189] [ 25.917296] CPU: 1 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc5-next-20250709 #1 PREEMPT(voluntary) [ 25.917354] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 25.917370] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 25.917394] Call Trace: [ 25.917408] <TASK> [ 25.917430] dump_stack_lvl+0x73/0xb0 [ 25.917469] print_report+0xd1/0x610 [ 25.917495] ? __virt_addr_valid+0x1db/0x2d0 [ 25.917521] ? kasan_stack_oob+0x2b5/0x300 [ 25.917541] ? kasan_addr_to_slab+0x11/0xa0 [ 25.917561] ? kasan_stack_oob+0x2b5/0x300 [ 25.917581] kasan_report+0x141/0x180 [ 25.917603] ? kasan_stack_oob+0x2b5/0x300 [ 25.917627] __asan_report_load1_noabort+0x18/0x20 [ 25.917651] kasan_stack_oob+0x2b5/0x300 [ 25.917671] ? __pfx_kasan_stack_oob+0x10/0x10 [ 25.917690] ? finish_task_switch.isra.0+0x153/0x700 [ 25.917952] ? __switch_to+0x47/0xf80 [ 25.917992] ? __schedule+0x10cc/0x2b60 [ 25.918017] ? __pfx_read_tsc+0x10/0x10 [ 25.918175] ? ktime_get_ts64+0x86/0x230 [ 25.918216] kunit_try_run_case+0x1a5/0x480 [ 25.918244] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.918265] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 25.918289] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 25.918313] ? __kthread_parkme+0x82/0x180 [ 25.918335] ? preempt_count_sub+0x50/0x80 [ 25.918358] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.918380] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.918406] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 25.918430] kthread+0x337/0x6f0 [ 25.918450] ? trace_preempt_on+0x20/0xc0 [ 25.918475] ? __pfx_kthread+0x10/0x10 [ 25.918495] ? _raw_spin_unlock_irq+0x47/0x80 [ 25.918519] ? calculate_sigpending+0x7b/0xa0 [ 25.918543] ? __pfx_kthread+0x10/0x10 [ 25.918565] ret_from_fork+0x116/0x1d0 [ 25.918584] ? __pfx_kthread+0x10/0x10 [ 25.918605] ret_from_fork_asm+0x1a/0x30 [ 25.918637] </TASK> [ 25.918649] [ 25.931438] The buggy address belongs to stack of task kunit_try_catch/299 [ 25.932291] and is located at offset 138 in frame: [ 25.932773] kasan_stack_oob+0x0/0x300 [ 25.933434] [ 25.933647] This frame has 4 objects: [ 25.934246] [48, 49) '__assertion' [ 25.934276] [64, 72) 'array' [ 25.934619] [96, 112) '__assertion' [ 25.934926] [128, 138) 'stack_array' [ 25.935369] [ 25.935968] The buggy address belongs to the physical page: [ 25.936581] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1062e7 [ 25.936874] flags: 0x200000000000000(node=0|zone=2) [ 25.937426] raw: 0200000000000000 ffffea000418b9c8 ffffea000418b9c8 0000000000000000 [ 25.938194] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 25.938823] page dumped because: kasan: bad access detected [ 25.939273] [ 25.939357] Memory state around the buggy address: [ 25.939764] ffff8881062e7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 25.940062] ffff8881062e7c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 25.940715] >ffff8881062e7d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 25.941320] ^ [ 25.941440] ffff8881062e7d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 25.941645] ffff8881062e7e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.941876] ==================================================================