Date
July 4, 2025, 3:11 p.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 37.360442] ================================================================== [ 37.369452] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 37.376917] Read of size 1 at addr ffff800089377b5f by task kunit_try_catch/300 [ 37.384207] [ 37.385692] CPU: 7 UID: 0 PID: 300 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT [ 37.385752] Tainted: [B]=BAD_PAGE, [N]=TEST [ 37.385770] Hardware name: WinLink E850-96 board (DT) [ 37.385792] Call trace: [ 37.385806] show_stack+0x20/0x38 (C) [ 37.385843] dump_stack_lvl+0x8c/0xd0 [ 37.385880] print_report+0x310/0x608 [ 37.385913] kasan_report+0xdc/0x128 [ 37.385941] __asan_report_load1_noabort+0x20/0x30 [ 37.385981] kasan_alloca_oob_left+0x2b8/0x310 [ 37.386017] kunit_try_run_case+0x170/0x3f0 [ 37.386054] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 37.386093] kthread+0x328/0x630 [ 37.386131] ret_from_fork+0x10/0x20 [ 37.386168] [ 37.448792] The buggy address belongs to stack of task kunit_try_catch/300 [ 37.455669] [ 37.457126] The buggy address belongs to the virtual mapping at [ 37.457126] [ffff800089370000, ffff800089379000) created by: [ 37.457126] kernel_clone+0x150/0x7a8 [ 37.472399] [ 37.473879] The buggy address belongs to the physical page: [ 37.479435] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffffffffffffffff pfn:0x882607 [ 37.488720] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 37.495246] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 37.502961] raw: ffffffffffffffff 0000000000000000 00000001ffffffff 0000000000000000 [ 37.510681] page dumped because: kasan: bad access detected [ 37.516235] [ 37.517711] Memory state around the buggy address: [ 37.522493] ffff800089377a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.529694] ffff800089377a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 37.536901] >ffff800089377b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 37.544099] ^ [ 37.550179] ffff800089377b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 37.557384] ffff800089377c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 37.564587] ==================================================================
[ 17.793706] ================================================================== [ 17.794035] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 17.794297] Read of size 1 at addr ffff800080a87b5f by task kunit_try_catch/256 [ 17.794418] [ 17.794456] CPU: 1 UID: 0 PID: 256 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT [ 17.794536] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.794563] Hardware name: linux,dummy-virt (DT) [ 17.794676] Call trace: [ 17.794705] show_stack+0x20/0x38 (C) [ 17.794912] dump_stack_lvl+0x8c/0xd0 [ 17.795035] print_report+0x310/0x608 [ 17.795132] kasan_report+0xdc/0x128 [ 17.795185] __asan_report_load1_noabort+0x20/0x30 [ 17.795237] kasan_alloca_oob_left+0x2b8/0x310 [ 17.795344] kunit_try_run_case+0x170/0x3f0 [ 17.795396] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.795484] kthread+0x328/0x630 [ 17.795719] ret_from_fork+0x10/0x20 [ 17.795870] [ 17.795923] The buggy address belongs to stack of task kunit_try_catch/256 [ 17.795996] [ 17.796028] The buggy address belongs to the virtual mapping at [ 17.796028] [ffff800080a80000, ffff800080a89000) created by: [ 17.796028] kernel_clone+0x150/0x7a8 [ 17.796185] [ 17.796226] The buggy address belongs to the physical page: [ 17.796256] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106f0f [ 17.796426] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 17.796493] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 17.796673] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.796798] page dumped because: kasan: bad access detected [ 17.796995] [ 17.797085] Memory state around the buggy address: [ 17.797197] ffff800080a87a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.797262] ffff800080a87a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.797322] >ffff800080a87b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 17.797585] ^ [ 17.797675] ffff800080a87b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 17.797763] ffff800080a87c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 17.797812] ==================================================================
[ 16.601501] ================================================================== [ 16.602096] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 16.603021] Read of size 1 at addr ffff888102a2fc3f by task kunit_try_catch/272 [ 16.603761] [ 16.604441] CPU: 1 UID: 0 PID: 272 Comm: kunit_try_catch Tainted: G B N 6.15.5-rc2 #1 PREEMPT(voluntary) [ 16.604555] Tainted: [B]=BAD_PAGE, [N]=TEST [ 16.604582] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 16.604630] Call Trace: [ 16.605041] <TASK> [ 16.605109] dump_stack_lvl+0x73/0xb0 [ 16.605189] print_report+0xd1/0x650 [ 16.605241] ? __virt_addr_valid+0x1db/0x2d0 [ 16.605292] ? kasan_alloca_oob_left+0x320/0x380 [ 16.605358] ? kasan_addr_to_slab+0x11/0xa0 [ 16.605408] ? kasan_alloca_oob_left+0x320/0x380 [ 16.605449] kasan_report+0x141/0x180 [ 16.605487] ? kasan_alloca_oob_left+0x320/0x380 [ 16.605519] __asan_report_load1_noabort+0x18/0x20 [ 16.605542] kasan_alloca_oob_left+0x320/0x380 [ 16.605568] ? finish_task_switch.isra.0+0x153/0x700 [ 16.605597] ? __mutex_lock.constprop.0+0xace/0x1280 [ 16.605622] ? trace_hardirqs_on+0x37/0xe0 [ 16.605651] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 16.605679] ? __schedule+0x10cc/0x2b60 [ 16.605704] ? __pfx_read_tsc+0x10/0x10 [ 16.605727] ? ktime_get_ts64+0x86/0x230 [ 16.605756] kunit_try_run_case+0x1a5/0x480 [ 16.605783] ? __pfx_kunit_try_run_case+0x10/0x10 [ 16.605805] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 16.605831] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 16.605855] ? __kthread_parkme+0x82/0x180 [ 16.605880] ? preempt_count_sub+0x50/0x80 [ 16.605905] ? __pfx_kunit_try_run_case+0x10/0x10 [ 16.605930] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 16.605954] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 16.605978] kthread+0x337/0x6f0 [ 16.605997] ? trace_preempt_on+0x20/0xc0 [ 16.606021] ? __pfx_kthread+0x10/0x10 [ 16.606039] ? _raw_spin_unlock_irq+0x47/0x80 [ 16.606064] ? calculate_sigpending+0x7b/0xa0 [ 16.606106] ? __pfx_kthread+0x10/0x10 [ 16.606137] ret_from_fork+0x41/0x80 [ 16.606169] ? __pfx_kthread+0x10/0x10 [ 16.606199] ret_from_fork_asm+0x1a/0x30 [ 16.606255] </TASK> [ 16.606277] [ 16.619746] The buggy address belongs to stack of task kunit_try_catch/272 [ 16.620633] [ 16.620846] The buggy address belongs to the physical page: [ 16.621425] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102a2f [ 16.622054] flags: 0x200000000000000(node=0|zone=2) [ 16.622460] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000 [ 16.623328] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 16.623711] page dumped because: kasan: bad access detected [ 16.623970] [ 16.624433] Memory state around the buggy address: [ 16.624853] ffff888102a2fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.625665] ffff888102a2fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 16.626250] >ffff888102a2fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 16.627139] ^ [ 16.627836] ffff888102a2fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 16.628575] ffff888102a2fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 16.628975] ==================================================================