Date
July 20, 2025, 11:12 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 18.776584] ================================================================== [ 18.776647] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 18.776703] Read of size 1 at addr ffff8000809f7b4a by task kunit_try_catch/253 [ 18.776756] [ 18.776787] CPU: 1 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT [ 18.776872] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.776918] Hardware name: linux,dummy-virt (DT) [ 18.776954] Call trace: [ 18.777221] show_stack+0x20/0x38 (C) [ 18.777706] dump_stack_lvl+0x8c/0xd0 [ 18.778055] print_report+0x310/0x5d0 [ 18.778106] kasan_report+0xdc/0x128 [ 18.778154] __asan_report_load1_noabort+0x20/0x30 [ 18.778208] kasan_alloca_oob_right+0x2dc/0x340 [ 18.778260] kunit_try_run_case+0x170/0x3f0 [ 18.778309] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.778365] kthread+0x328/0x630 [ 18.778780] ret_from_fork+0x10/0x20 [ 18.779067] [ 18.779091] The buggy address belongs to stack of task kunit_try_catch/253 [ 18.779212] [ 18.779319] The buggy address ffff8000809f7b4a belongs to a vmalloc virtual mapping [ 18.779500] The buggy address belongs to the physical page: [ 18.779535] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107836 [ 18.779636] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.779784] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 18.779975] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 18.780064] page dumped because: kasan: bad access detected [ 18.780209] [ 18.780232] Memory state around the buggy address: [ 18.780277] ffff8000809f7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.780335] ffff8000809f7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.780381] >ffff8000809f7b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 18.780422] ^ [ 18.780495] ffff8000809f7b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 18.780701] ffff8000809f7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 18.780891] ==================================================================
[ 18.969968] ================================================================== [ 18.970037] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 18.970097] Read of size 1 at addr ffff800080a77b4a by task kunit_try_catch/253 [ 18.970151] [ 18.970684] CPU: 1 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT [ 18.971142] Tainted: [B]=BAD_PAGE, [N]=TEST [ 18.971456] Hardware name: linux,dummy-virt (DT) [ 18.971576] Call trace: [ 18.971750] show_stack+0x20/0x38 (C) [ 18.971940] dump_stack_lvl+0x8c/0xd0 [ 18.971993] print_report+0x310/0x5d0 [ 18.972043] kasan_report+0xdc/0x128 [ 18.972091] __asan_report_load1_noabort+0x20/0x30 [ 18.972146] kasan_alloca_oob_right+0x2dc/0x340 [ 18.972197] kunit_try_run_case+0x170/0x3f0 [ 18.972758] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 18.973305] kthread+0x328/0x630 [ 18.973408] ret_from_fork+0x10/0x20 [ 18.973600] [ 18.973636] The buggy address belongs to stack of task kunit_try_catch/253 [ 18.973989] [ 18.974022] The buggy address ffff800080a77b4a belongs to a vmalloc virtual mapping [ 18.974347] The buggy address belongs to the physical page: [ 18.974507] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1065c4 [ 18.974708] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 18.975187] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 18.975370] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 18.975673] page dumped because: kasan: bad access detected [ 18.975713] [ 18.975734] Memory state around the buggy address: [ 18.975771] ffff800080a77a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.975818] ffff800080a77a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 18.975866] >ffff800080a77b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 18.976256] ^ [ 18.976646] ffff800080a77b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 18.976746] ffff800080a77c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 18.976962] ==================================================================
[ 14.551804] ================================================================== [ 14.552347] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 14.552781] Read of size 1 at addr ffff8881038e7c4a by task kunit_try_catch/271 [ 14.554147] [ 14.554250] CPU: 1 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT(voluntary) [ 14.554298] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.554310] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.554332] Call Trace: [ 14.554347] <TASK> [ 14.554366] dump_stack_lvl+0x73/0xb0 [ 14.554414] print_report+0xd1/0x610 [ 14.554438] ? __virt_addr_valid+0x1db/0x2d0 [ 14.554463] ? kasan_alloca_oob_right+0x329/0x390 [ 14.554486] ? kasan_addr_to_slab+0x11/0xa0 [ 14.554507] ? kasan_alloca_oob_right+0x329/0x390 [ 14.554530] kasan_report+0x141/0x180 [ 14.554552] ? kasan_alloca_oob_right+0x329/0x390 [ 14.554581] __asan_report_load1_noabort+0x18/0x20 [ 14.554605] kasan_alloca_oob_right+0x329/0x390 [ 14.554628] ? __pfx_sched_clock_cpu+0x10/0x10 [ 14.554652] ? finish_task_switch.isra.0+0x153/0x700 [ 14.554676] ? rt_mutex_adjust_prio_chain+0x195e/0x20e0 [ 14.554699] ? trace_hardirqs_on+0x37/0xe0 [ 14.554725] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 14.554751] ? __schedule+0x10c6/0x2b60 [ 14.554773] ? __pfx_read_tsc+0x10/0x10 [ 14.554794] ? ktime_get_ts64+0x86/0x230 [ 14.554819] kunit_try_run_case+0x1a5/0x480 [ 14.554847] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.554870] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.554894] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.554918] ? __kthread_parkme+0x82/0x180 [ 14.554939] ? preempt_count_sub+0x50/0x80 [ 14.554964] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.554989] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.555012] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.555049] kthread+0x337/0x6f0 [ 14.555069] ? trace_preempt_on+0x20/0xc0 [ 14.555091] ? __pfx_kthread+0x10/0x10 [ 14.555112] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.555210] ? calculate_sigpending+0x7b/0xa0 [ 14.555237] ? __pfx_kthread+0x10/0x10 [ 14.555299] ret_from_fork+0x116/0x1d0 [ 14.555321] ? __pfx_kthread+0x10/0x10 [ 14.555343] ret_from_fork_asm+0x1a/0x30 [ 14.555387] </TASK> [ 14.555408] [ 14.570881] The buggy address belongs to stack of task kunit_try_catch/271 [ 14.571496] [ 14.571577] The buggy address belongs to the physical page: [ 14.571756] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1038e7 [ 14.572003] flags: 0x200000000000000(node=0|zone=2) [ 14.572646] raw: 0200000000000000 ffffea00040e39c8 ffffea00040e39c8 0000000000000000 [ 14.573440] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.574182] page dumped because: kasan: bad access detected [ 14.574886] [ 14.575131] Memory state around the buggy address: [ 14.575602] ffff8881038e7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.575827] ffff8881038e7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.576046] >ffff8881038e7c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.576261] ^ [ 14.576580] ffff8881038e7c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.577331] ffff8881038e7d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.578102] ==================================================================
[ 14.643525] ================================================================== [ 14.645009] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 14.645563] Read of size 1 at addr ffff888103a1fc4a by task kunit_try_catch/271 [ 14.646171] [ 14.646507] CPU: 0 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc7 #1 PREEMPT(voluntary) [ 14.646559] Tainted: [B]=BAD_PAGE, [N]=TEST [ 14.646571] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 14.646690] Call Trace: [ 14.646706] <TASK> [ 14.646723] dump_stack_lvl+0x73/0xb0 [ 14.646756] print_report+0xd1/0x610 [ 14.646779] ? __virt_addr_valid+0x1db/0x2d0 [ 14.646803] ? kasan_alloca_oob_right+0x329/0x390 [ 14.646825] ? kasan_addr_to_slab+0x11/0xa0 [ 14.646846] ? kasan_alloca_oob_right+0x329/0x390 [ 14.646920] kasan_report+0x141/0x180 [ 14.646943] ? kasan_alloca_oob_right+0x329/0x390 [ 14.646971] __asan_report_load1_noabort+0x18/0x20 [ 14.646995] kasan_alloca_oob_right+0x329/0x390 [ 14.647018] ? __pfx_sched_clock_cpu+0x10/0x10 [ 14.647040] ? finish_task_switch.isra.0+0x153/0x700 [ 14.647064] ? rt_mutex_adjust_prio_chain+0x195e/0x20e0 [ 14.647088] ? trace_hardirqs_on+0x37/0xe0 [ 14.647112] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 14.647138] ? __schedule+0x10c6/0x2b60 [ 14.647171] ? __pfx_read_tsc+0x10/0x10 [ 14.647193] ? ktime_get_ts64+0x86/0x230 [ 14.647217] kunit_try_run_case+0x1a5/0x480 [ 14.647243] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.647266] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 14.647290] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 14.647327] ? __kthread_parkme+0x82/0x180 [ 14.647348] ? preempt_count_sub+0x50/0x80 [ 14.647371] ? __pfx_kunit_try_run_case+0x10/0x10 [ 14.647395] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 14.647418] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 14.647442] kthread+0x337/0x6f0 [ 14.647461] ? trace_preempt_on+0x20/0xc0 [ 14.647482] ? __pfx_kthread+0x10/0x10 [ 14.647502] ? _raw_spin_unlock_irq+0x47/0x80 [ 14.647524] ? calculate_sigpending+0x7b/0xa0 [ 14.647548] ? __pfx_kthread+0x10/0x10 [ 14.647569] ret_from_fork+0x116/0x1d0 [ 14.647587] ? __pfx_kthread+0x10/0x10 [ 14.647607] ret_from_fork_asm+0x1a/0x30 [ 14.647638] </TASK> [ 14.647649] [ 14.659725] The buggy address belongs to stack of task kunit_try_catch/271 [ 14.660165] [ 14.660270] The buggy address belongs to the physical page: [ 14.660594] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a1f [ 14.660921] flags: 0x200000000000000(node=0|zone=2) [ 14.661565] raw: 0200000000000000 ffffea00040e87c8 ffffea00040e87c8 0000000000000000 [ 14.661887] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 14.662302] page dumped because: kasan: bad access detected [ 14.662645] [ 14.662874] Memory state around the buggy address: [ 14.663079] ffff888103a1fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.663565] ffff888103a1fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 14.663981] >ffff888103a1fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 14.664419] ^ [ 14.664751] ffff888103a1fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 14.665220] ffff888103a1fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 14.665584] ==================================================================