Date
July 16, 2025, 3:10 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 18.767261] ================================================================== [ 18.767498] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 18.767609] Read of size 1 at addr ffff800080a37b4a by task kunit_try_catch/253 [ 18.767737] [ 18.767811] CPU: 1 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT [ 18.767940] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.767971] Hardware name: linux,dummy-virt (DT) [ 18.768327] Call trace: [ 18.768975] show_stack+0x20/0x38 (C) [ 18.769045] dump_stack_lvl+0x8c/0xd0 [ 18.769117] print_report+0x310/0x5d0 [ 18.769521] kasan_report+0xdc/0x128 [ 18.769732] __asan_report_load1_noabort+0x20/0x30 [ 18.770018] kasan_alloca_oob_right+0x2dc/0x340 [ 18.770203] kunit_try_run_case+0x170/0x3f0 [ 18.770310] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.770744] kthread+0x328/0x630 [ 18.771104] ret_from_fork+0x10/0x20 [ 18.771244] [ 18.771345] The buggy address belongs to stack of task kunit_try_catch/253 [ 18.771462] [ 18.771532] The buggy address ffff800080a37b4a belongs to a vmalloc virtual mapping [ 18.771635] The buggy address belongs to the physical page: [ 18.771691] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107842 [ 18.771967] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.772045] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 18.772406] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 18.772563] page dumped because: kasan: bad access detected [ 18.772696] [ 18.772841] Memory state around the buggy address: [ 18.772898] ffff800080a37a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.773042] ffff800080a37a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.773130] >ffff800080a37b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 18.773182] ^ [ 18.773407] ffff800080a37b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 18.773612] ffff800080a37c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 18.773726] ==================================================================
[ 14.477156] ================================================================== [ 14.478581] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 14.479099] Read of size 1 at addr ffff8881039afc4a by task kunit_try_catch/270 [ 14.479780] [ 14.479978] CPU: 0 UID: 0 PID: 270 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6 #1 PREEMPT(voluntary) [ 14.480079] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.480090] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.480123] Call Trace: [ 14.480137] <TASK> [ 14.480153] dump_stack_lvl+0x73/0xb0 [ 14.480197] print_report+0xd1/0x610 [ 14.480221] ? __virt_addr_valid+0x1db/0x2d0 [ 14.480245] ? kasan_alloca_oob_right+0x329/0x390 [ 14.480269] ? kasan_addr_to_slab+0x11/0xa0 [ 14.480291] ? kasan_alloca_oob_right+0x329/0x390 [ 14.480316] kasan_report+0x141/0x180 [ 14.480338] ? kasan_alloca_oob_right+0x329/0x390 [ 14.480367] __asan_report_load1_noabort+0x18/0x20 [ 14.480394] kasan_alloca_oob_right+0x329/0x390 [ 14.480417] ? __kasan_check_write+0x18/0x20 [ 14.480448] ? __pfx_sched_clock_cpu+0x10/0x10 [ 14.480472] ? finish_task_switch.isra.0+0x153/0x700 [ 14.480497] ? __schedule+0x200e/0x2b60 [ 14.480519] ? trace_hardirqs_on+0x37/0xe0 [ 14.480547] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 14.480576] ? __schedule+0x10cc/0x2b60 [ 14.480599] ? __pfx_read_tsc+0x10/0x10 [ 14.480621] ? ktime_get_ts64+0x86/0x230 [ 14.480646] kunit_try_run_case+0x1a5/0x480 [ 14.480672] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.480696] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.480721] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.480746] ? __kthread_parkme+0x82/0x180 [ 14.480778] ? preempt_count_sub+0x50/0x80 [ 14.480802] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.480828] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.480854] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.480881] kthread+0x337/0x6f0 [ 14.480901] ? trace_preempt_on+0x20/0xc0 [ 14.480923] ? __pfx_kthread+0x10/0x10 [ 14.480945] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.480968] ? calculate_sigpending+0x7b/0xa0 [ 14.481010] ? __pfx_kthread+0x10/0x10 [ 14.481033] ret_from_fork+0x116/0x1d0 [ 14.481052] ? __pfx_kthread+0x10/0x10 [ 14.481075] ret_from_fork_asm+0x1a/0x30 [ 14.481106] </TASK> [ 14.481117] [ 14.495231] The buggy address belongs to stack of task kunit_try_catch/270 [ 14.495653] [ 14.495730] The buggy address belongs to the physical page: [ 14.495921] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1039af [ 14.496215] flags: 0x200000000000000(node=0|zone=2) [ 14.496599] raw: 0200000000000000 ffffea00040e6bc8 ffffea00040e6bc8 0000000000000000 [ 14.496906] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.497351] page dumped because: kasan: bad access detected [ 14.497649] [ 14.497722] Memory state around the buggy address: [ 14.497970] ffff8881039afb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.498387] ffff8881039afb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.498699] >ffff8881039afc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.499001] ^ [ 14.499299] ffff8881039afc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.499793] ffff8881039afd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.500184] ==================================================================