Date
July 8, 2025, 11:10 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 33.471187] ================================================================== [ 33.471399] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 33.471466] Read of size 1 at addr ffff800080b47b4a by task kunit_try_catch/284 [ 33.471615] [ 33.471651] CPU: 0 UID: 0 PID: 284 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250708 #1 PREEMPT [ 33.471756] Tainted: [B]=BAD_PAGE, [N]=TEST [ 33.472046] Hardware name: linux,dummy-virt (DT) [ 33.472108] Call trace: [ 33.472135] show_stack+0x20/0x38 (C) [ 33.472190] dump_stack_lvl+0x8c/0xd0 [ 33.472325] print_report+0x310/0x5d0 [ 33.472380] kasan_report+0xdc/0x128 [ 33.472427] __asan_report_load1_noabort+0x20/0x30 [ 33.472498] kasan_alloca_oob_right+0x2dc/0x340 [ 33.472675] kunit_try_run_case+0x170/0x3f0 [ 33.472743] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 33.472823] kthread+0x328/0x630 [ 33.472868] ret_from_fork+0x10/0x20 [ 33.473255] [ 33.473294] The buggy address belongs to stack of task kunit_try_catch/284 [ 33.473750] [ 33.473790] The buggy address ffff800080b47b4a belongs to a vmalloc virtual mapping [ 33.473872] The buggy address belongs to the physical page: [ 33.473923] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109bd7 [ 33.474087] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 33.474189] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 33.474290] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 33.474622] page dumped because: kasan: bad access detected [ 33.474679] [ 33.474740] Memory state around the buggy address: [ 33.474881] ffff800080b47a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.474959] ffff800080b47a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.475027] >ffff800080b47b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 33.475161] ^ [ 33.475236] ffff800080b47b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 33.475305] ffff800080b47c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 33.475637] ==================================================================
[ 25.267442] ================================================================== [ 25.268049] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 25.269357] Read of size 1 at addr ffff88810641fc4a by task kunit_try_catch/301 [ 25.270010] [ 25.270380] CPU: 0 UID: 0 PID: 301 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250708 #1 PREEMPT(voluntary) [ 25.270443] Tainted: [B]=BAD_PAGE, [N]=TEST [ 25.270457] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 25.270480] Call Trace: [ 25.270551] <TASK> [ 25.270571] dump_stack_lvl+0x73/0xb0 [ 25.270700] print_report+0xd1/0x610 [ 25.270727] ? __virt_addr_valid+0x1db/0x2d0 [ 25.270822] ? kasan_alloca_oob_right+0x329/0x390 [ 25.270850] ? kasan_addr_to_slab+0x11/0xa0 [ 25.270871] ? kasan_alloca_oob_right+0x329/0x390 [ 25.270895] kasan_report+0x141/0x180 [ 25.270918] ? kasan_alloca_oob_right+0x329/0x390 [ 25.270946] __asan_report_load1_noabort+0x18/0x20 [ 25.270972] kasan_alloca_oob_right+0x329/0x390 [ 25.270997] ? __pfx_sched_clock_cpu+0x10/0x10 [ 25.271020] ? finish_task_switch.isra.0+0x153/0x700 [ 25.271044] ? down_read+0x1de/0x270 [ 25.271068] ? trace_hardirqs_on+0x37/0xe0 [ 25.271096] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 25.271121] ? __schedule+0x10cc/0x2b60 [ 25.271150] ? __pfx_read_tsc+0x10/0x10 [ 25.271175] ? ktime_get_ts64+0x86/0x230 [ 25.271203] kunit_try_run_case+0x1a5/0x480 [ 25.271227] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.271259] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 25.271280] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 25.271310] ? __kthread_parkme+0x82/0x180 [ 25.271331] ? preempt_count_sub+0x50/0x80 [ 25.271354] ? __pfx_kunit_try_run_case+0x10/0x10 [ 25.271377] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 25.271403] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 25.271430] kthread+0x337/0x6f0 [ 25.271452] ? trace_preempt_on+0x20/0xc0 [ 25.271475] ? __pfx_kthread+0x10/0x10 [ 25.271497] ? _raw_spin_unlock_irq+0x47/0x80 [ 25.271524] ? calculate_sigpending+0x7b/0xa0 [ 25.271552] ? __pfx_kthread+0x10/0x10 [ 25.271575] ret_from_fork+0x116/0x1d0 [ 25.271595] ? __pfx_kthread+0x10/0x10 [ 25.271617] ret_from_fork_asm+0x1a/0x30 [ 25.271652] </TASK> [ 25.271665] [ 25.282541] The buggy address belongs to stack of task kunit_try_catch/301 [ 25.283078] [ 25.283175] The buggy address belongs to the physical page: [ 25.283584] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10641f [ 25.284561] flags: 0x200000000000000(node=0|zone=2) [ 25.284785] raw: 0200000000000000 ffffea00041907c8 ffffea00041907c8 0000000000000000 [ 25.285437] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 25.285903] page dumped because: kasan: bad access detected [ 25.286330] [ 25.286503] Memory state around the buggy address: [ 25.286925] ffff88810641fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.287308] ffff88810641fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 25.287660] >ffff88810641fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 25.288220] ^ [ 25.288486] ffff88810641fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 25.288693] ffff88810641fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 25.288942] ==================================================================