Date
June 25, 2025, 8:08 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 28.852607] ================================================================== [ 28.852821] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 28.852888] Read of size 1 at addr ffff800080ab7b4a by task kunit_try_catch/265 [ 28.852940] [ 28.853022] CPU: 0 UID: 0 PID: 265 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250625 #1 PREEMPT [ 28.853112] Tainted: [B]=BAD_PAGE, [N]=TEST [ 28.853176] Hardware name: linux,dummy-virt (DT) [ 28.853411] Call trace: [ 28.853600] show_stack+0x20/0x38 (C) [ 28.853685] dump_stack_lvl+0x8c/0xd0 [ 28.853737] print_report+0x310/0x608 [ 28.853817] kasan_report+0xdc/0x128 [ 28.853872] __asan_report_load1_noabort+0x20/0x30 [ 28.853921] kasan_alloca_oob_right+0x2dc/0x340 [ 28.853980] kunit_try_run_case+0x170/0x3f0 [ 28.854030] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 28.854084] kthread+0x328/0x630 [ 28.854127] ret_from_fork+0x10/0x20 [ 28.854180] [ 28.854205] The buggy address belongs to stack of task kunit_try_catch/265 [ 28.854260] [ 28.854289] The buggy address belongs to the virtual mapping at [ 28.854289] [ffff800080ab0000, ffff800080ab9000) created by: [ 28.854289] kernel_clone+0x150/0x7a8 [ 28.854368] [ 28.854392] The buggy address belongs to the physical page: [ 28.854445] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10785e [ 28.854498] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 28.854581] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 28.854632] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 28.854674] page dumped because: kasan: bad access detected [ 28.854708] [ 28.854728] Memory state around the buggy address: [ 28.855032] ffff800080ab7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.855095] ffff800080ab7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 28.855150] >ffff800080ab7b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 28.855249] ^ [ 28.855292] ffff800080ab7b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 28.855535] ffff800080ab7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 28.855584] ==================================================================
[ 23.683387] ================================================================== [ 23.683887] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 23.684597] Read of size 1 at addr ffff888102bbfc4a by task kunit_try_catch/282 [ 23.685565] [ 23.685682] CPU: 1 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc3-next-20250625 #1 PREEMPT(voluntary) [ 23.685877] Tainted: [B]=BAD_PAGE, [N]=TEST [ 23.685906] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 23.685928] Call Trace: [ 23.685968] <TASK> [ 23.685985] dump_stack_lvl+0x73/0xb0 [ 23.686014] print_report+0xd1/0x650 [ 23.686036] ? __virt_addr_valid+0x1db/0x2d0 [ 23.686059] ? kasan_alloca_oob_right+0x329/0x390 [ 23.686085] ? kasan_addr_to_slab+0x11/0xa0 [ 23.686105] ? kasan_alloca_oob_right+0x329/0x390 [ 23.686126] kasan_report+0x141/0x180 [ 23.686304] ? kasan_alloca_oob_right+0x329/0x390 [ 23.686339] __asan_report_load1_noabort+0x18/0x20 [ 23.686364] kasan_alloca_oob_right+0x329/0x390 [ 23.686386] ? __pfx_sched_clock_cpu+0x10/0x10 [ 23.686409] ? finish_task_switch.isra.0+0x153/0x700 [ 23.686431] ? __mutex_lock.constprop.0+0x99e/0x1280 [ 23.686454] ? trace_hardirqs_on+0x37/0xe0 [ 23.686477] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 23.686501] ? __schedule+0x10cc/0x2b60 [ 23.686523] ? __pfx_read_tsc+0x10/0x10 [ 23.686544] ? ktime_get_ts64+0x86/0x230 [ 23.686567] kunit_try_run_case+0x1a5/0x480 [ 23.686592] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.686613] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 23.686633] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 23.686668] ? __kthread_parkme+0x82/0x180 [ 23.686687] ? preempt_count_sub+0x50/0x80 [ 23.686708] ? __pfx_kunit_try_run_case+0x10/0x10 [ 23.686731] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 23.686753] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 23.686775] kthread+0x337/0x6f0 [ 23.686793] ? trace_preempt_on+0x20/0xc0 [ 23.686816] ? __pfx_kthread+0x10/0x10 [ 23.686836] ? _raw_spin_unlock_irq+0x47/0x80 [ 23.686858] ? calculate_sigpending+0x7b/0xa0 [ 23.686880] ? __pfx_kthread+0x10/0x10 [ 23.686900] ret_from_fork+0x116/0x1d0 [ 23.686918] ? __pfx_kthread+0x10/0x10 [ 23.686947] ret_from_fork_asm+0x1a/0x30 [ 23.686976] </TASK> [ 23.686987] [ 23.696841] The buggy address belongs to stack of task kunit_try_catch/282 [ 23.697270] [ 23.697374] The buggy address belongs to the physical page: [ 23.697593] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102bbf [ 23.697988] flags: 0x200000000000000(node=0|zone=2) [ 23.698279] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000 [ 23.698515] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 23.698734] page dumped because: kasan: bad access detected [ 23.699144] [ 23.699264] Memory state around the buggy address: [ 23.699485] ffff888102bbfb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.700218] ffff888102bbfb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 23.700541] >ffff888102bbfc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 23.700764] ^ [ 23.701209] ffff888102bbfc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 23.701517] ffff888102bbfd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 23.701762] ==================================================================