Date
July 15, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.694827] ================================================================== [ 17.694902] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 17.694958] Read of size 1 at addr ffff800080a07b5f by task kunit_try_catch/252 [ 17.695012] [ 17.695057] CPU: 1 UID: 0 PID: 252 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 17.695141] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.695169] Hardware name: linux,dummy-virt (DT) [ 17.695216] Call trace: [ 17.695238] show_stack+0x20/0x38 (C) [ 17.695287] dump_stack_lvl+0x8c/0xd0 [ 17.695646] print_report+0x310/0x5d0 [ 17.695798] kasan_report+0xdc/0x128 [ 17.695861] __asan_report_load1_noabort+0x20/0x30 [ 17.696047] kasan_alloca_oob_left+0x2b8/0x310 [ 17.696116] kunit_try_run_case+0x170/0x3f0 [ 17.696195] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.696262] kthread+0x328/0x630 [ 17.696306] ret_from_fork+0x10/0x20 [ 17.696384] [ 17.696434] The buggy address belongs to stack of task kunit_try_catch/252 [ 17.696530] [ 17.696578] The buggy address ffff800080a07b5f belongs to a vmalloc virtual mapping [ 17.696699] The buggy address belongs to the physical page: [ 17.696734] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106555 [ 17.696790] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 17.696853] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 17.696906] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.697136] page dumped because: kasan: bad access detected [ 17.697238] [ 17.697271] Memory state around the buggy address: [ 17.697304] ffff800080a07a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.697393] ffff800080a07a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.697458] >ffff800080a07b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 17.697538] ^ [ 17.697610] ffff800080a07b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 17.697725] ffff800080a07c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 17.697880] ==================================================================
[ 14.353064] ================================================================== [ 14.353672] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 14.354011] Read of size 1 at addr ffff888103917c3f by task kunit_try_catch/268 [ 14.354300] [ 14.354476] CPU: 1 UID: 0 PID: 268 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.354522] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.354534] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.354555] Call Trace: [ 14.354567] <TASK> [ 14.354582] dump_stack_lvl+0x73/0xb0 [ 14.354611] print_report+0xd1/0x610 [ 14.354633] ? __virt_addr_valid+0x1db/0x2d0 [ 14.354657] ? kasan_alloca_oob_left+0x320/0x380 [ 14.354680] ? kasan_addr_to_slab+0x11/0xa0 [ 14.354701] ? kasan_alloca_oob_left+0x320/0x380 [ 14.354725] kasan_report+0x141/0x180 [ 14.354747] ? kasan_alloca_oob_left+0x320/0x380 [ 14.354787] __asan_report_load1_noabort+0x18/0x20 [ 14.354813] kasan_alloca_oob_left+0x320/0x380 [ 14.354838] ? finish_task_switch.isra.0+0x153/0x700 [ 14.354863] ? __schedule+0x200e/0x2b60 [ 14.354884] ? trace_hardirqs_on+0x37/0xe0 [ 14.354908] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 14.354935] ? __schedule+0x10cc/0x2b60 [ 14.354957] ? __pfx_read_tsc+0x10/0x10 [ 14.354978] ? ktime_get_ts64+0x86/0x230 [ 14.355002] kunit_try_run_case+0x1a5/0x480 [ 14.355029] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.355053] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.355077] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.355102] ? __kthread_parkme+0x82/0x180 [ 14.355123] ? preempt_count_sub+0x50/0x80 [ 14.355147] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.355173] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.355198] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.355224] kthread+0x337/0x6f0 [ 14.355244] ? trace_preempt_on+0x20/0xc0 [ 14.355267] ? __pfx_kthread+0x10/0x10 [ 14.355289] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.355311] ? calculate_sigpending+0x7b/0xa0 [ 14.355379] ? __pfx_kthread+0x10/0x10 [ 14.355402] ret_from_fork+0x116/0x1d0 [ 14.355422] ? __pfx_kthread+0x10/0x10 [ 14.355448] ret_from_fork_asm+0x1a/0x30 [ 14.355480] </TASK> [ 14.355490] [ 14.365853] The buggy address belongs to stack of task kunit_try_catch/268 [ 14.366086] [ 14.366158] The buggy address belongs to the physical page: [ 14.366334] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103917 [ 14.366581] flags: 0x200000000000000(node=0|zone=2) [ 14.366886] raw: 0200000000000000 ffffea00040e45c8 ffffea00040e45c8 0000000000000000 [ 14.367255] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.367846] page dumped because: kasan: bad access detected [ 14.368107] [ 14.368201] Memory state around the buggy address: [ 14.369511] ffff888103917b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.371002] ffff888103917b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.371742] >ffff888103917c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.371979] ^ [ 14.372145] ffff888103917c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.372361] ffff888103917d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.372575] ==================================================================