Date
July 20, 2025, 8:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.396127] ================================================================== [ 17.396247] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 17.396445] Read of size 1 at addr ffff800080a17b5f by task kunit_try_catch/252 [ 17.396546] [ 17.396583] CPU: 0 UID: 0 PID: 252 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 17.397016] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.397137] Hardware name: linux,dummy-virt (DT) [ 17.397172] Call trace: [ 17.397207] show_stack+0x20/0x38 (C) [ 17.397657] dump_stack_lvl+0x8c/0xd0 [ 17.397760] print_report+0x310/0x5d0 [ 17.398380] kasan_report+0xdc/0x128 [ 17.398520] __asan_report_load1_noabort+0x20/0x30 [ 17.398642] kasan_alloca_oob_left+0x2b8/0x310 [ 17.398704] kunit_try_run_case+0x170/0x3f0 [ 17.398756] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.398830] kthread+0x328/0x630 [ 17.398877] ret_from_fork+0x10/0x20 [ 17.398930] [ 17.398964] The buggy address belongs to stack of task kunit_try_catch/252 [ 17.399042] [ 17.399066] The buggy address ffff800080a17b5f belongs to a vmalloc virtual mapping [ 17.399122] The buggy address belongs to the physical page: [ 17.399167] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1076ff [ 17.399237] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 17.399312] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 17.399368] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.399433] page dumped because: kasan: bad access detected [ 17.399469] [ 17.399491] Memory state around the buggy address: [ 17.399525] ffff800080a17a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.399571] ffff800080a17a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.399616] >ffff800080a17b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 17.399664] ^ [ 17.399714] ffff800080a17b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 17.399759] ffff800080a17c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 17.399798] ==================================================================
[ 14.780667] ================================================================== [ 14.781845] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 14.782415] Read of size 1 at addr ffff88810390fc3f by task kunit_try_catch/269 [ 14.782761] [ 14.782866] CPU: 0 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.782916] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.782928] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.782954] Call Trace: [ 14.782966] <TASK> [ 14.782985] dump_stack_lvl+0x73/0xb0 [ 14.783016] print_report+0xd1/0x610 [ 14.783513] ? __virt_addr_valid+0x1db/0x2d0 [ 14.783545] ? kasan_alloca_oob_left+0x320/0x380 [ 14.783568] ? kasan_addr_to_slab+0x11/0xa0 [ 14.783590] ? kasan_alloca_oob_left+0x320/0x380 [ 14.783613] kasan_report+0x141/0x180 [ 14.783636] ? kasan_alloca_oob_left+0x320/0x380 [ 14.783663] __asan_report_load1_noabort+0x18/0x20 [ 14.783687] kasan_alloca_oob_left+0x320/0x380 [ 14.783712] ? finish_task_switch.isra.0+0x153/0x700 [ 14.783736] ? rt_mutex_adjust_prio_chain+0x195e/0x20e0 [ 14.783760] ? trace_hardirqs_on+0x37/0xe0 [ 14.783786] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 14.783811] ? __schedule+0x10c6/0x2b60 [ 14.783833] ? __pfx_read_tsc+0x10/0x10 [ 14.783855] ? ktime_get_ts64+0x86/0x230 [ 14.783880] kunit_try_run_case+0x1a5/0x480 [ 14.783906] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.783930] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.783954] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.783977] ? __kthread_parkme+0x82/0x180 [ 14.783999] ? preempt_count_sub+0x50/0x80 [ 14.784022] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.784066] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.784090] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.784114] kthread+0x337/0x6f0 [ 14.784134] ? trace_preempt_on+0x20/0xc0 [ 14.784156] ? __pfx_kthread+0x10/0x10 [ 14.784177] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.784199] ? calculate_sigpending+0x7b/0xa0 [ 14.784224] ? __pfx_kthread+0x10/0x10 [ 14.784245] ret_from_fork+0x116/0x1d0 [ 14.784264] ? __pfx_kthread+0x10/0x10 [ 14.784285] ret_from_fork_asm+0x1a/0x30 [ 14.784316] </TASK> [ 14.784327] [ 14.798407] The buggy address belongs to stack of task kunit_try_catch/269 [ 14.798779] [ 14.798863] The buggy address belongs to the physical page: [ 14.799466] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10390f [ 14.799993] flags: 0x200000000000000(node=0|zone=2) [ 14.800449] raw: 0200000000000000 ffffea00040e43c8 ffffea00040e43c8 0000000000000000 [ 14.800928] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.801524] page dumped because: kasan: bad access detected [ 14.801979] [ 14.802091] Memory state around the buggy address: [ 14.802691] ffff88810390fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.803314] ffff88810390fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.803714] >ffff88810390fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.804138] ^ [ 14.804379] ffff88810390fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.804701] ffff88810390fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.805350] ==================================================================