Date
July 24, 2025, 4:41 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 34.726316] ================================================================== [ 34.726398] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 34.726660] Read of size 1 at addr ffff800080ac7c2a by task kunit_try_catch/280 [ 34.726761] [ 34.726853] CPU: 1 UID: 0 PID: 280 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7-next-20250724 #1 PREEMPT [ 34.727012] Tainted: [B]=BAD_PAGE, [N]=TEST [ 34.727093] Hardware name: linux,dummy-virt (DT) [ 34.727152] Call trace: [ 34.727182] show_stack+0x20/0x38 (C) [ 34.727239] dump_stack_lvl+0x8c/0xd0 [ 34.727290] print_report+0x310/0x5e8 [ 34.727394] kasan_report+0xdc/0x128 [ 34.727441] __asan_report_load1_noabort+0x20/0x30 [ 34.727606] kasan_stack_oob+0x238/0x270 [ 34.727660] kunit_try_run_case+0x170/0x3f0 [ 34.727738] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 34.727830] kthread+0x328/0x630 [ 34.727876] ret_from_fork+0x10/0x20 [ 34.727928] [ 34.728000] The buggy address belongs to stack of task kunit_try_catch/280 [ 34.728155] and is located at offset 138 in frame: [ 34.728210] kasan_stack_oob+0x0/0x270 [ 34.728379] [ 34.728431] This frame has 4 objects: [ 34.728570] [48, 49) '__assertion' [ 34.728620] [64, 72) 'array' [ 34.728676] [96, 112) '__assertion' [ 34.728729] [128, 138) 'stack_array' [ 34.728785] [ 34.728826] The buggy address belongs to a 8-page vmalloc region starting at 0xffff800080ac0000 allocated at kernel_clone+0x150/0x7b0 [ 34.729075] The buggy address belongs to the physical page: [ 34.729116] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109a37 [ 34.729176] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 34.729248] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 34.729301] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 34.729354] page dumped because: kasan: bad access detected [ 34.729403] [ 34.729433] Memory state around the buggy address: [ 34.729483] ffff800080ac7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 34.729535] ffff800080ac7b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 34.729580] >ffff800080ac7c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 34.729629] ^ [ 34.729662] ffff800080ac7c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 34.729707] ffff800080ac7d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 34.730292] ==================================================================
[ 28.706050] ================================================================== [ 28.706667] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 28.707211] Read of size 1 at addr ffff8881049b7d02 by task kunit_try_catch/297 [ 28.707494] [ 28.707616] CPU: 0 UID: 0 PID: 297 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc7-next-20250724 #1 PREEMPT(voluntary) [ 28.707667] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 28.707680] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 28.707703] Call Trace: [ 28.707716] <TASK> [ 28.707734] dump_stack_lvl+0x73/0xb0 [ 28.707764] print_report+0xd1/0x640 [ 28.708172] ? __virt_addr_valid+0x1db/0x2d0 [ 28.708207] ? kasan_stack_oob+0x2b5/0x300 [ 28.708228] ? kasan_addr_to_slab+0x11/0xa0 [ 28.708249] ? kasan_stack_oob+0x2b5/0x300 [ 28.708270] kasan_report+0x141/0x180 [ 28.708293] ? kasan_stack_oob+0x2b5/0x300 [ 28.708317] __asan_report_load1_noabort+0x18/0x20 [ 28.708341] kasan_stack_oob+0x2b5/0x300 [ 28.708361] ? __pfx_kasan_stack_oob+0x10/0x10 [ 28.708381] ? finish_task_switch.isra.0+0x153/0x700 [ 28.708403] ? __switch_to+0x47/0xf80 [ 28.708429] ? __schedule+0x10da/0x2b60 [ 28.708455] ? __pfx_read_tsc+0x10/0x10 [ 28.708478] ? ktime_get_ts64+0x86/0x230 [ 28.708502] kunit_try_run_case+0x1a5/0x480 [ 28.708528] ? __pfx_kunit_try_run_case+0x10/0x10 [ 28.708550] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 28.708587] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 28.708612] ? __kthread_parkme+0x82/0x180 [ 28.708631] ? preempt_count_sub+0x50/0x80 [ 28.708654] ? __pfx_kunit_try_run_case+0x10/0x10 [ 28.708677] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 28.708700] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 28.708723] kthread+0x337/0x6f0 [ 28.708743] ? trace_preempt_on+0x20/0xc0 [ 28.708767] ? __pfx_kthread+0x10/0x10 [ 28.708847] ? _raw_spin_unlock_irq+0x47/0x80 [ 28.708872] ? calculate_sigpending+0x7b/0xa0 [ 28.708896] ? __pfx_kthread+0x10/0x10 [ 28.708919] ret_from_fork+0x116/0x1d0 [ 28.708939] ? __pfx_kthread+0x10/0x10 [ 28.708959] ret_from_fork_asm+0x1a/0x30 [ 28.708991] </TASK> [ 28.709002] [ 28.718670] The buggy address belongs to stack of task kunit_try_catch/297 [ 28.719591] and is located at offset 138 in frame: [ 28.719831] kasan_stack_oob+0x0/0x300 [ 28.720352] [ 28.720466] This frame has 4 objects: [ 28.720789] [48, 49) '__assertion' [ 28.720935] [64, 72) 'array' [ 28.721112] [96, 112) '__assertion' [ 28.721255] [128, 138) 'stack_array' [ 28.721455] [ 28.721954] The buggy address belongs to the physical page: [ 28.722466] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1049b7 [ 28.722970] flags: 0x200000000000000(node=0|zone=2) [ 28.723172] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000 [ 28.723677] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 28.724118] page dumped because: kasan: bad access detected [ 28.724347] [ 28.724445] Memory state around the buggy address: [ 28.724642] ffff8881049b7c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 28.724939] ffff8881049b7c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 28.725689] >ffff8881049b7d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 28.726166] ^ [ 28.726340] ffff8881049b7d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 28.726635] ffff8881049b7e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.726934] ==================================================================