Date
July 5, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.858646] ================================================================== [ 21.858867] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 21.858976] Read of size 1 at addr ffff800080a87b5f by task kunit_try_catch/252 [ 21.859486] [ 21.859546] CPU: 0 UID: 0 PID: 252 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT [ 21.859679] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.859770] Hardware name: linux,dummy-virt (DT) [ 21.859870] Call trace: [ 21.859942] show_stack+0x20/0x38 (C) [ 21.860106] dump_stack_lvl+0x8c/0xd0 [ 21.860206] print_report+0x310/0x608 [ 21.860347] kasan_report+0xdc/0x128 [ 21.860512] __asan_report_load1_noabort+0x20/0x30 [ 21.860680] kasan_alloca_oob_left+0x2b8/0x310 [ 21.860840] kunit_try_run_case+0x170/0x3f0 [ 21.860990] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.861157] kthread+0x328/0x630 [ 21.861272] ret_from_fork+0x10/0x20 [ 21.861606] [ 21.861833] The buggy address belongs to stack of task kunit_try_catch/252 [ 21.862422] [ 21.862538] The buggy address belongs to the virtual mapping at [ 21.862538] [ffff800080a80000, ffff800080a89000) created by: [ 21.862538] kernel_clone+0x150/0x7a8 [ 21.862843] [ 21.862925] The buggy address belongs to the physical page: [ 21.862999] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107942 [ 21.863105] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.863394] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 21.863751] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.863863] page dumped because: kasan: bad access detected [ 21.863931] [ 21.863982] Memory state around the buggy address: [ 21.864059] ffff800080a87a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.864166] ffff800080a87a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.864273] >ffff800080a87b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 21.864391] ^ [ 21.864523] ffff800080a87b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 21.864612] ffff800080a87c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 21.864734] ==================================================================
[ 15.671241] ================================================================== [ 15.672211] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 15.672642] Read of size 1 at addr ffff888103957c3f by task kunit_try_catch/269 [ 15.673586] [ 15.673751] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc4 #1 PREEMPT(voluntary) [ 15.674041] Tainted: [B]=BAD_PAGE, [N]=TEST [ 15.674060] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 15.674089] Call Trace: [ 15.674109] <TASK> [ 15.674132] dump_stack_lvl+0x73/0xb0 [ 15.674173] print_report+0xd1/0x650 [ 15.674200] ? __virt_addr_valid+0x1db/0x2d0 [ 15.674229] ? kasan_alloca_oob_left+0x320/0x380 [ 15.674257] ? kasan_addr_to_slab+0x11/0xa0 [ 15.674280] ? kasan_alloca_oob_left+0x320/0x380 [ 15.674308] kasan_report+0x141/0x180 [ 15.674334] ? kasan_alloca_oob_left+0x320/0x380 [ 15.674366] __asan_report_load1_noabort+0x18/0x20 [ 15.674394] kasan_alloca_oob_left+0x320/0x380 [ 15.674429] ? __pfx_sched_clock_cpu+0x10/0x10 [ 15.674453] ? irqentry_exit+0x2a/0x60 [ 15.674481] ? sysvec_apic_timer_interrupt+0x50/0x90 [ 15.674508] ? trace_hardirqs_on+0x37/0xe0 [ 15.674539] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 15.674572] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 15.674604] kunit_try_run_case+0x1a5/0x480 [ 15.674633] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.674675] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 15.674704] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 15.674731] ? __kthread_parkme+0x82/0x180 [ 15.674756] ? preempt_count_sub+0x50/0x80 [ 15.674784] ? __pfx_kunit_try_run_case+0x10/0x10 [ 15.674890] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 15.674920] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 15.674947] kthread+0x337/0x6f0 [ 15.674972] ? trace_preempt_on+0x20/0xc0 [ 15.674999] ? __pfx_kthread+0x10/0x10 [ 15.675024] ? _raw_spin_unlock_irq+0x47/0x80 [ 15.675051] ? calculate_sigpending+0x7b/0xa0 [ 15.675080] ? __pfx_kthread+0x10/0x10 [ 15.675107] ret_from_fork+0x116/0x1d0 [ 15.675131] ? __pfx_kthread+0x10/0x10 [ 15.675155] ret_from_fork_asm+0x1a/0x30 [ 15.675193] </TASK> [ 15.675207] [ 15.689329] The buggy address belongs to stack of task kunit_try_catch/269 [ 15.689681] [ 15.689778] The buggy address belongs to the physical page: [ 15.690325] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103957 [ 15.690796] flags: 0x200000000000000(node=0|zone=2) [ 15.691418] raw: 0200000000000000 ffffea00040e55c8 ffffea00040e55c8 0000000000000000 [ 15.691889] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 15.692239] page dumped because: kasan: bad access detected [ 15.692505] [ 15.692604] Memory state around the buggy address: [ 15.693308] ffff888103957b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.693669] ffff888103957b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 15.694192] >ffff888103957c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 15.694679] ^ [ 15.695135] ffff888103957c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 15.695618] ffff888103957d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 15.696232] ==================================================================