Date
July 22, 2025, 2:40 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 19.403199] ================================================================== [ 19.403297] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 19.403361] Read of size 1 at addr ffff800080a67b4a by task kunit_try_catch/255 [ 19.403412] [ 19.403449] CPU: 1 UID: 0 PID: 255 Comm: kunit_try_catch Tainted: G B N 6.15.8-rc1 #1 PREEMPT [ 19.403533] Tainted: [B]=BAD_PAGE, [N]=TEST [ 19.403560] Hardware name: linux,dummy-virt (DT) [ 19.403597] Call trace: [ 19.403621] show_stack+0x20/0x38 (C) [ 19.403671] dump_stack_lvl+0x8c/0xd0 [ 19.403729] print_report+0x310/0x5d0 [ 19.403774] kasan_report+0xdc/0x128 [ 19.403820] __asan_report_load1_noabort+0x20/0x30 [ 19.403869] kasan_alloca_oob_right+0x2dc/0x340 [ 19.403920] kunit_try_run_case+0x170/0x3f0 [ 19.403969] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 19.404020] kthread+0x328/0x630 [ 19.404065] ret_from_fork+0x10/0x20 [ 19.404114] [ 19.404137] The buggy address belongs to stack of task kunit_try_catch/255 [ 19.404191] [ 19.404211] The buggy address ffff800080a67b4a belongs to a vmalloc virtual mapping [ 19.404257] The buggy address belongs to the physical page: [ 19.404300] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x107a18 [ 19.404486] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 19.404790] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 19.404843] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 19.404886] page dumped because: kasan: bad access detected [ 19.404920] [ 19.404999] Memory state around the buggy address: [ 19.405040] ffff800080a67a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.405193] ffff800080a67a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 19.405343] >ffff800080a67b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 19.405385] ^ [ 19.405427] ffff800080a67b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 19.405472] ffff800080a67c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 19.405548] ==================================================================
[ 13.017646] ================================================================== [ 13.018438] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 13.018697] Read of size 1 at addr ffff888103d97c4a by task kunit_try_catch/273 [ 13.018921] [ 13.019009] CPU: 1 UID: 0 PID: 273 Comm: kunit_try_catch Tainted: G B N 6.15.8-rc1 #1 PREEMPT(voluntary) [ 13.019055] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.019066] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.019089] Call Trace: [ 13.019101] <TASK> [ 13.019117] dump_stack_lvl+0x73/0xb0 [ 13.019141] print_report+0xd1/0x610 [ 13.019164] ? __virt_addr_valid+0x1db/0x2d0 [ 13.019185] ? kasan_alloca_oob_right+0x329/0x390 [ 13.019207] ? kasan_addr_to_slab+0x11/0xa0 [ 13.019250] ? kasan_alloca_oob_right+0x329/0x390 [ 13.019273] kasan_report+0x141/0x180 [ 13.019296] ? kasan_alloca_oob_right+0x329/0x390 [ 13.019324] __asan_report_load1_noabort+0x18/0x20 [ 13.019345] kasan_alloca_oob_right+0x329/0x390 [ 13.019370] ? finish_task_switch.isra.0+0x153/0x700 [ 13.019395] ? out_of_line_wait_on_bit_timeout+0xde/0x190 [ 13.019417] ? trace_hardirqs_on+0x37/0xe0 [ 13.019443] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 13.019469] ? __schedule+0x10c6/0x2b60 [ 13.019493] ? __pfx_read_tsc+0x10/0x10 [ 13.019513] ? ktime_get_ts64+0x86/0x230 [ 13.019539] kunit_try_run_case+0x1a5/0x480 [ 13.019560] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.019578] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.019599] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.019949] ? __kthread_parkme+0x82/0x180 [ 13.019987] ? preempt_count_sub+0x50/0x80 [ 13.020013] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.020035] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.020059] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.020082] kthread+0x337/0x6f0 [ 13.020099] ? trace_preempt_on+0x20/0xc0 [ 13.020122] ? __pfx_kthread+0x10/0x10 [ 13.020140] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.020163] ? calculate_sigpending+0x7b/0xa0 [ 13.020184] ? __pfx_kthread+0x10/0x10 [ 13.020203] ret_from_fork+0x41/0x80 [ 13.020236] ? __pfx_kthread+0x10/0x10 [ 13.020254] ret_from_fork_asm+0x1a/0x30 [ 13.020286] </TASK> [ 13.020297] [ 13.038106] The buggy address belongs to stack of task kunit_try_catch/273 [ 13.038859] [ 13.039036] The buggy address belongs to the physical page: [ 13.039349] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103d97 [ 13.039597] flags: 0x200000000000000(node=0|zone=2) [ 13.039801] raw: 0200000000000000 ffffea00040f65c8 ffffea00040f65c8 0000000000000000 [ 13.040380] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.041187] page dumped because: kasan: bad access detected [ 13.041544] [ 13.041613] Memory state around the buggy address: [ 13.041986] ffff888103d97b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.042484] ffff888103d97b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.043186] >ffff888103d97c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 13.043784] ^ [ 13.044116] ffff888103d97c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 13.044380] ffff888103d97d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.045123] ==================================================================