Date
July 14, 2025, 10:38 a.m.
Environment | |
---|---|
e850-96 | |
qemu-arm64 | |
qemu-x86_64 |
[ 55.468662] ================================================================== [ 55.478454] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 55.486009] Read of size 1 at addr ffff800089637b4a by task kunit_try_catch/337 [ 55.493296] [ 55.494781] CPU: 4 UID: 0 PID: 337 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 55.494835] Tainted: [B]=BAD_PAGE, [N]=TEST [ 55.494853] Hardware name: WinLink E850-96 board (DT) [ 55.494876] Call trace: [ 55.494890] show_stack+0x20/0x38 (C) [ 55.494926] dump_stack_lvl+0x8c/0xd0 [ 55.494960] print_report+0x310/0x5d0 [ 55.494990] kasan_report+0xdc/0x128 [ 55.495016] __asan_report_load1_noabort+0x20/0x30 [ 55.495048] kasan_alloca_oob_right+0x2dc/0x340 [ 55.495081] kunit_try_run_case+0x170/0x3f0 [ 55.495119] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 55.495150] kthread+0x328/0x630 [ 55.495181] ret_from_fork+0x10/0x20 [ 55.495215] [ 55.559182] The buggy address belongs to stack of task kunit_try_catch/337 [ 55.566060] [ 55.567513] The buggy address ffff800089637b4a belongs to a vmalloc virtual mapping [ 55.575156] The buggy address belongs to the physical page: [ 55.580711] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8847b2 [ 55.588696] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 55.595215] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 55.602936] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 55.610656] page dumped because: kasan: bad access detected [ 55.616209] [ 55.617686] Memory state around the buggy address: [ 55.622467] ffff800089637a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 55.629668] ffff800089637a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 55.636875] >ffff800089637b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 55.644074] ^ [ 55.649633] ffff800089637b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 55.656839] ffff800089637c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 55.664040] ==================================================================
[ 31.922418] ================================================================== [ 31.922670] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 31.922891] Read of size 1 at addr ffff800080b77b4a by task kunit_try_catch/284 [ 31.922983] [ 31.923269] CPU: 0 UID: 0 PID: 284 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc6-next-20250714 #1 PREEMPT [ 31.923370] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.923616] Hardware name: linux,dummy-virt (DT) [ 31.923694] Call trace: [ 31.923721] show_stack+0x20/0x38 (C) [ 31.923775] dump_stack_lvl+0x8c/0xd0 [ 31.923931] print_report+0x310/0x5d0 [ 31.923988] kasan_report+0xdc/0x128 [ 31.924034] __asan_report_load1_noabort+0x20/0x30 [ 31.924116] kasan_alloca_oob_right+0x2dc/0x340 [ 31.924167] kunit_try_run_case+0x170/0x3f0 [ 31.924362] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.924460] kthread+0x328/0x630 [ 31.924586] ret_from_fork+0x10/0x20 [ 31.924641] [ 31.924935] The buggy address belongs to stack of task kunit_try_catch/284 [ 31.925109] [ 31.925169] The buggy address ffff800080b77b4a belongs to a vmalloc virtual mapping [ 31.925279] The buggy address belongs to the physical page: [ 31.925316] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109b1d [ 31.925734] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.925838] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 31.925906] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 31.926125] page dumped because: kasan: bad access detected [ 31.926543] [ 31.926594] Memory state around the buggy address: [ 31.926722] ffff800080b77a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.926808] ffff800080b77a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.927096] >ffff800080b77b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 31.927252] ^ [ 31.927311] ffff800080b77b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 31.927478] ffff800080b77c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 31.927666] ==================================================================
[ 26.208085] ================================================================== [ 26.209030] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 26.209496] Read of size 1 at addr ffff8881058cfc4a by task kunit_try_catch/302 [ 26.209925] [ 26.210152] CPU: 0 UID: 0 PID: 302 Comm: kunit_try_catch Tainted: G B W N 6.16.0-rc6-next-20250714 #1 PREEMPT(voluntary) [ 26.210243] Tainted: [B]=BAD_PAGE, [W]=WARN, [N]=TEST [ 26.210257] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.210297] Call Trace: [ 26.210313] <TASK> [ 26.210334] dump_stack_lvl+0x73/0xb0 [ 26.210372] print_report+0xd1/0x610 [ 26.210395] ? __virt_addr_valid+0x1db/0x2d0 [ 26.210429] ? kasan_alloca_oob_right+0x329/0x390 [ 26.210451] ? kasan_addr_to_slab+0x11/0xa0 [ 26.210471] ? kasan_alloca_oob_right+0x329/0x390 [ 26.210504] kasan_report+0x141/0x180 [ 26.210526] ? kasan_alloca_oob_right+0x329/0x390 [ 26.210552] __asan_report_load1_noabort+0x18/0x20 [ 26.210576] kasan_alloca_oob_right+0x329/0x390 [ 26.210598] ? finish_task_switch.isra.0+0x153/0x700 [ 26.210647] ? __mutex_lock.constprop.0+0x10ee/0x1280 [ 26.210693] ? trace_hardirqs_on+0x37/0xe0 [ 26.210718] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 26.210742] ? __schedule+0x10cc/0x2b60 [ 26.210766] ? __pfx_read_tsc+0x10/0x10 [ 26.210787] ? ktime_get_ts64+0x86/0x230 [ 26.210839] kunit_try_run_case+0x1a5/0x480 [ 26.210863] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.210885] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.210921] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.210998] ? __kthread_parkme+0x82/0x180 [ 26.211021] ? preempt_count_sub+0x50/0x80 [ 26.211045] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.211067] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.211093] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.211118] kthread+0x337/0x6f0 [ 26.211138] ? trace_preempt_on+0x20/0xc0 [ 26.211159] ? __pfx_kthread+0x10/0x10 [ 26.211180] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.211201] ? calculate_sigpending+0x7b/0xa0 [ 26.211224] ? __pfx_kthread+0x10/0x10 [ 26.211245] ret_from_fork+0x116/0x1d0 [ 26.211264] ? __pfx_kthread+0x10/0x10 [ 26.211284] ret_from_fork_asm+0x1a/0x30 [ 26.211315] </TASK> [ 26.211326] [ 26.220504] The buggy address belongs to stack of task kunit_try_catch/302 [ 26.220761] [ 26.220850] The buggy address belongs to the physical page: [ 26.221158] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1058cf [ 26.221424] flags: 0x200000000000000(node=0|zone=2) [ 26.221777] raw: 0200000000000000 dead000000000100 dead000000000122 0000000000000000 [ 26.222363] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 26.222683] page dumped because: kasan: bad access detected [ 26.222994] [ 26.223189] Memory state around the buggy address: [ 26.223425] ffff8881058cfb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.223765] ffff8881058cfb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.224099] >ffff8881058cfc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 26.224366] ^ [ 26.224531] ffff8881058cfc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 26.225229] ffff8881058cfd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 26.225949] ==================================================================