Date
June 24, 2025, 12:47 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 27.296367] ================================================================== [ 27.296571] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 27.296823] Read of size 1 at addr ffff800080a17b5f by task kunit_try_catch/253 [ 27.297035] [ 27.297140] CPU: 1 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc2 #1 PREEMPT [ 27.297425] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.297505] Hardware name: linux,dummy-virt (DT) [ 27.297585] Call trace: [ 27.297645] show_stack+0x20/0x38 (C) [ 27.297772] dump_stack_lvl+0x8c/0xd0 [ 27.297895] print_report+0x310/0x608 [ 27.298023] kasan_report+0xdc/0x128 [ 27.298139] __asan_report_load1_noabort+0x20/0x30 [ 27.298268] kasan_alloca_oob_left+0x2b8/0x310 [ 27.298406] kunit_try_run_case+0x170/0x3f0 [ 27.298552] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.298763] kthread+0x328/0x630 [ 27.298972] ret_from_fork+0x10/0x20 [ 27.299110] [ 27.299251] The buggy address belongs to stack of task kunit_try_catch/253 [ 27.299559] [ 27.299664] The buggy address belongs to the virtual mapping at [ 27.299664] [ffff800080a10000, ffff800080a19000) created by: [ 27.299664] kernel_clone+0x150/0x7a8 [ 27.300087] [ 27.300196] The buggy address belongs to the physical page: [ 27.300478] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105a69 [ 27.300808] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 27.300967] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 27.301170] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 27.301314] page dumped because: kasan: bad access detected [ 27.301566] [ 27.301613] Memory state around the buggy address: [ 27.301691] ffff800080a17a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.301854] ffff800080a17a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.302048] >ffff800080a17b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 27.302149] ^ [ 27.302244] ffff800080a17b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 27.302351] ffff800080a17c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 27.302500] ==================================================================
[ 13.847845] ================================================================== [ 13.848509] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 13.849243] Read of size 1 at addr ffff888103aa7c3f by task kunit_try_catch/271 [ 13.849569] [ 13.849722] CPU: 1 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc2 #1 PREEMPT(voluntary) [ 13.849797] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.849813] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.849844] Call Trace: [ 13.849868] <TASK> [ 13.849897] dump_stack_lvl+0x73/0xb0 [ 13.849942] print_report+0xd1/0x650 [ 13.849986] ? __virt_addr_valid+0x1db/0x2d0 [ 13.850016] ? kasan_alloca_oob_left+0x320/0x380 [ 13.850045] ? kasan_addr_to_slab+0x11/0xa0 [ 13.850068] ? kasan_alloca_oob_left+0x320/0x380 [ 13.850090] kasan_report+0x141/0x180 [ 13.850111] ? kasan_alloca_oob_left+0x320/0x380 [ 13.850137] __asan_report_load1_noabort+0x18/0x20 [ 13.850159] kasan_alloca_oob_left+0x320/0x380 [ 13.850181] ? finish_task_switch.isra.0+0x153/0x700 [ 13.850205] ? rwsem_down_read_slowpath+0x6be/0xb90 [ 13.850226] ? trace_hardirqs_on+0x37/0xe0 [ 13.850249] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 13.850274] ? __schedule+0x10cc/0x2b60 [ 13.850295] ? __pfx_read_tsc+0x10/0x10 [ 13.850315] ? ktime_get_ts64+0x86/0x230 [ 13.850339] kunit_try_run_case+0x1a5/0x480 [ 13.850363] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.850384] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.850406] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.850427] ? __kthread_parkme+0x82/0x180 [ 13.850449] ? preempt_count_sub+0x50/0x80 [ 13.850471] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.850493] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.850515] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.850536] kthread+0x337/0x6f0 [ 13.850565] ? trace_preempt_on+0x20/0xc0 [ 13.850597] ? __pfx_kthread+0x10/0x10 [ 13.850642] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.850676] ? calculate_sigpending+0x7b/0xa0 [ 13.850710] ? __pfx_kthread+0x10/0x10 [ 13.850735] ret_from_fork+0x41/0x80 [ 13.850768] ? __pfx_kthread+0x10/0x10 [ 13.850795] ret_from_fork_asm+0x1a/0x30 [ 13.850854] </TASK> [ 13.850875] [ 13.861845] The buggy address belongs to stack of task kunit_try_catch/271 [ 13.862448] [ 13.862642] The buggy address belongs to the physical page: [ 13.862847] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103aa7 [ 13.863305] flags: 0x200000000000000(node=0|zone=2) [ 13.863727] raw: 0200000000000000 ffffea00040ea9c8 ffffea00040ea9c8 0000000000000000 [ 13.864044] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.864348] page dumped because: kasan: bad access detected [ 13.864702] [ 13.864833] Memory state around the buggy address: [ 13.865104] ffff888103aa7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.865422] ffff888103aa7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.865768] >ffff888103aa7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 13.866248] ^ [ 13.866455] ffff888103aa7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 13.866928] ffff888103aa7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.867250] ==================================================================