Date
July 10, 2025, 9:07 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 31.713487] ================================================================== [ 31.713757] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 31.713831] Read of size 1 at addr ffff800080b37b5f by task kunit_try_catch/282 [ 31.713931] [ 31.713967] CPU: 0 UID: 0 PID: 282 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT [ 31.714378] Tainted: [B]=BAD_PAGE, [N]=TEST [ 31.714439] Hardware name: linux,dummy-virt (DT) [ 31.714488] Call trace: [ 31.714551] show_stack+0x20/0x38 (C) [ 31.714626] dump_stack_lvl+0x8c/0xd0 [ 31.714674] print_report+0x310/0x5d0 [ 31.715017] kasan_report+0xdc/0x128 [ 31.715312] __asan_report_load1_noabort+0x20/0x30 [ 31.715535] kasan_alloca_oob_left+0x2b8/0x310 [ 31.715613] kunit_try_run_case+0x170/0x3f0 [ 31.715723] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 31.715821] kthread+0x328/0x630 [ 31.715952] ret_from_fork+0x10/0x20 [ 31.716153] [ 31.716242] The buggy address belongs to stack of task kunit_try_catch/282 [ 31.716322] [ 31.716350] The buggy address ffff800080b37b5f belongs to a vmalloc virtual mapping [ 31.716399] The buggy address belongs to the physical page: [ 31.716433] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x109bd1 [ 31.716540] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 31.716638] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 31.716945] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 31.717022] page dumped because: kasan: bad access detected [ 31.717075] [ 31.717138] Memory state around the buggy address: [ 31.717186] ffff800080b37a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.717233] ffff800080b37a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 31.717296] >ffff800080b37b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 31.717339] ^ [ 31.717380] ffff800080b37b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 31.717428] ffff800080b37c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 31.717470] ==================================================================
[ 26.981913] ================================================================== [ 26.982383] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 26.982748] Read of size 1 at addr ffff88810623fc3f by task kunit_try_catch/299 [ 26.983161] [ 26.983275] CPU: 0 UID: 0 PID: 299 Comm: kunit_try_catch Tainted: G B N 6.16.0-rc5-next-20250710 #1 PREEMPT(voluntary) [ 26.983327] Tainted: [B]=BAD_PAGE, [N]=TEST [ 26.983339] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 26.983362] Call Trace: [ 26.983377] <TASK> [ 26.983395] dump_stack_lvl+0x73/0xb0 [ 26.983426] print_report+0xd1/0x610 [ 26.983449] ? __virt_addr_valid+0x1db/0x2d0 [ 26.983473] ? kasan_alloca_oob_left+0x320/0x380 [ 26.983495] ? kasan_addr_to_slab+0x11/0xa0 [ 26.983516] ? kasan_alloca_oob_left+0x320/0x380 [ 26.983660] kasan_report+0x141/0x180 [ 26.983684] ? kasan_alloca_oob_left+0x320/0x380 [ 26.983726] __asan_report_load1_noabort+0x18/0x20 [ 26.983751] kasan_alloca_oob_left+0x320/0x380 [ 26.983773] ? __kasan_check_write+0x18/0x20 [ 26.983797] ? __pfx_sched_clock_cpu+0x10/0x10 [ 26.983820] ? finish_task_switch.isra.0+0x153/0x700 [ 26.983853] ? percpu_down_write+0x2ce/0x480 [ 26.983878] ? trace_hardirqs_on+0x37/0xe0 [ 26.983903] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 26.983928] ? __schedule+0x10cc/0x2b60 [ 26.983951] ? __pfx_read_tsc+0x10/0x10 [ 26.983973] ? ktime_get_ts64+0x86/0x230 [ 26.983999] kunit_try_run_case+0x1a5/0x480 [ 26.984023] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.984045] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 26.984068] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 26.984093] ? __kthread_parkme+0x82/0x180 [ 26.984114] ? preempt_count_sub+0x50/0x80 [ 26.984138] ? __pfx_kunit_try_run_case+0x10/0x10 [ 26.984160] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 26.984399] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 26.984430] kthread+0x337/0x6f0 [ 26.984451] ? trace_preempt_on+0x20/0xc0 [ 26.984474] ? __pfx_kthread+0x10/0x10 [ 26.984513] ? _raw_spin_unlock_irq+0x47/0x80 [ 26.984535] ? calculate_sigpending+0x7b/0xa0 [ 26.984559] ? __pfx_kthread+0x10/0x10 [ 26.984581] ret_from_fork+0x116/0x1d0 [ 26.984601] ? __pfx_kthread+0x10/0x10 [ 26.984623] ret_from_fork_asm+0x1a/0x30 [ 26.984654] </TASK> [ 26.984667] [ 26.993596] The buggy address belongs to stack of task kunit_try_catch/299 [ 26.993925] [ 26.994009] The buggy address belongs to the physical page: [ 26.994244] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10623f [ 26.994822] flags: 0x200000000000000(node=0|zone=2) [ 26.995039] raw: 0200000000000000 ffffea0004188fc8 ffffea0004188fc8 0000000000000000 [ 26.995454] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 26.995894] page dumped because: kasan: bad access detected [ 26.996136] [ 26.996356] Memory state around the buggy address: [ 26.996629] ffff88810623fb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.997012] ffff88810623fb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 26.997400] >ffff88810623fc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 26.997766] ^ [ 26.998112] ffff88810623fc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 26.998429] ffff88810623fd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 26.998866] ==================================================================