Date
July 18, 2025, 11:11 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 17.611702] ================================================================== [ 17.611765] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 17.611818] Read of size 1 at addr ffff800080a67b4a by task kunit_try_catch/253 [ 17.611872] [ 17.612121] CPU: 0 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 17.612434] Tainted: [B]=BAD_PAGE, [N]=TEST [ 17.612471] Hardware name: linux,dummy-virt (DT) [ 17.612508] Call trace: [ 17.612536] show_stack+0x20/0x38 (C) [ 17.612632] dump_stack_lvl+0x8c/0xd0 [ 17.612688] print_report+0x310/0x5d0 [ 17.612743] kasan_report+0xdc/0x128 [ 17.612806] __asan_report_load1_noabort+0x20/0x30 [ 17.612861] kasan_alloca_oob_right+0x2dc/0x340 [ 17.612912] kunit_try_run_case+0x170/0x3f0 [ 17.612965] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 17.613020] kthread+0x328/0x630 [ 17.613064] ret_from_fork+0x10/0x20 [ 17.613115] [ 17.613137] The buggy address belongs to stack of task kunit_try_catch/253 [ 17.613193] [ 17.613216] The buggy address ffff800080a67b4a belongs to a vmalloc virtual mapping [ 17.613261] The buggy address belongs to the physical page: [ 17.613294] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103f53 [ 17.613621] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 17.614078] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 17.614150] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 17.614193] page dumped because: kasan: bad access detected [ 17.614462] [ 17.614511] Memory state around the buggy address: [ 17.614609] ffff800080a67a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.614729] ffff800080a67a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 17.614885] >ffff800080a67b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 17.615006] ^ [ 17.615085] ffff800080a67b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 17.615239] ffff800080a67c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 17.615339] ==================================================================
[ 14.029750] ================================================================== [ 14.030515] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 14.031059] Read of size 1 at addr ffff888103af7c4a by task kunit_try_catch/272 [ 14.031502] [ 14.031624] CPU: 0 UID: 0 PID: 272 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.031672] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.031685] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.031707] Call Trace: [ 14.031836] <TASK> [ 14.031854] dump_stack_lvl+0x73/0xb0 [ 14.031888] print_report+0xd1/0x610 [ 14.031911] ? __virt_addr_valid+0x1db/0x2d0 [ 14.031934] ? kasan_alloca_oob_right+0x329/0x390 [ 14.031958] ? kasan_addr_to_slab+0x11/0xa0 [ 14.031980] ? kasan_alloca_oob_right+0x329/0x390 [ 14.032093] kasan_report+0x141/0x180 [ 14.032121] ? kasan_alloca_oob_right+0x329/0x390 [ 14.032150] __asan_report_load1_noabort+0x18/0x20 [ 14.032176] kasan_alloca_oob_right+0x329/0x390 [ 14.032200] ? __pfx_sched_clock_cpu+0x10/0x10 [ 14.032223] ? finish_task_switch.isra.0+0x153/0x700 [ 14.032247] ? __schedule+0x100e/0x2b60 [ 14.032270] ? trace_hardirqs_on+0x37/0xe0 [ 14.032307] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 14.032334] ? __schedule+0x10cc/0x2b60 [ 14.032355] ? __pfx_read_tsc+0x10/0x10 [ 14.032380] ? ktime_get_ts64+0x86/0x230 [ 14.032404] kunit_try_run_case+0x1a5/0x480 [ 14.032430] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.032453] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.032501] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.032527] ? __kthread_parkme+0x82/0x180 [ 14.032548] ? preempt_count_sub+0x50/0x80 [ 14.032573] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.032597] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.032622] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.032647] kthread+0x337/0x6f0 [ 14.032667] ? trace_preempt_on+0x20/0xc0 [ 14.032690] ? __pfx_kthread+0x10/0x10 [ 14.032710] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.032732] ? calculate_sigpending+0x7b/0xa0 [ 14.032758] ? __pfx_kthread+0x10/0x10 [ 14.032780] ret_from_fork+0x116/0x1d0 [ 14.032801] ? __pfx_kthread+0x10/0x10 [ 14.032821] ret_from_fork_asm+0x1a/0x30 [ 14.032853] </TASK> [ 14.032864] [ 14.044925] The buggy address belongs to stack of task kunit_try_catch/272 [ 14.045249] [ 14.045890] The buggy address belongs to the physical page: [ 14.046177] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103af7 [ 14.046718] flags: 0x200000000000000(node=0|zone=2) [ 14.047112] raw: 0200000000000000 ffffea00040ebdc8 ffffea00040ebdc8 0000000000000000 [ 14.047605] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.048035] page dumped because: kasan: bad access detected [ 14.048528] [ 14.048608] Memory state around the buggy address: [ 14.048972] ffff888103af7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.049421] ffff888103af7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.049869] >ffff888103af7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.050446] ^ [ 14.050838] ffff888103af7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.051245] ffff888103af7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.051737] ==================================================================