Date
April 22, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 | |
rk3399-rock-pi-4b |
[ 20.236885] ================================================================== [ 20.237029] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 20.237661] Read of size 1 at addr ffff800080a87b4a by task kunit_try_catch/255 [ 20.237813] [ 20.237911] CPU: 0 UID: 0 PID: 255 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 20.238110] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.238528] Hardware name: linux,dummy-virt (DT) [ 20.238724] Call trace: [ 20.238803] show_stack+0x20/0x38 (C) [ 20.238945] dump_stack_lvl+0x8c/0xd0 [ 20.239055] print_report+0x310/0x608 [ 20.239378] kasan_report+0xdc/0x128 [ 20.239626] __asan_report_load1_noabort+0x20/0x30 [ 20.239767] kasan_alloca_oob_right+0x2dc/0x340 [ 20.239885] kunit_try_run_case+0x170/0x3f0 [ 20.240206] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.240431] kthread+0x328/0x630 [ 20.240547] ret_from_fork+0x10/0x20 [ 20.240687] [ 20.240757] The buggy address belongs to stack of task kunit_try_catch/255 [ 20.240946] [ 20.241020] The buggy address belongs to the virtual mapping at [ 20.241020] [ffff800080a80000, ffff800080a89000) created by: [ 20.241020] kernel_clone+0x150/0x7a8 [ 20.241425] [ 20.241499] The buggy address belongs to the physical page: [ 20.241603] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1042b6 [ 20.241773] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 20.242000] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 20.242443] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.242781] page dumped because: kasan: bad access detected [ 20.242868] [ 20.242914] Memory state around the buggy address: [ 20.243089] ffff800080a87a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.243292] ffff800080a87a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.243477] >ffff800080a87b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 20.243620] ^ [ 20.243871] ffff800080a87b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 20.243981] ffff800080a87c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 20.244076] ==================================================================
[ 21.002975] ================================================================== [ 21.003995] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x329/0x390 [ 21.005223] Read of size 1 at addr ffff888103c27c4a by task kunit_try_catch/273 [ 21.006207] [ 21.006544] CPU: 0 UID: 0 PID: 273 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT(voluntary) [ 21.006793] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.006837] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 21.006896] Call Trace: [ 21.006935] <TASK> [ 21.007190] dump_stack_lvl+0x73/0xb0 [ 21.007267] print_report+0xd1/0x650 [ 21.007349] ? __virt_addr_valid+0x1db/0x2d0 [ 21.007395] ? kasan_alloca_oob_right+0x329/0x390 [ 21.007463] ? kasan_addr_to_slab+0x11/0xa0 [ 21.007561] ? kasan_alloca_oob_right+0x329/0x390 [ 21.007635] kasan_report+0x141/0x180 [ 21.007673] ? kasan_alloca_oob_right+0x329/0x390 [ 21.007714] __asan_report_load1_noabort+0x18/0x20 [ 21.007744] kasan_alloca_oob_right+0x329/0x390 [ 21.007780] ? finish_task_switch.isra.0+0x153/0x700 [ 21.007815] ? rwsem_down_read_slowpath+0x64e/0xb90 [ 21.007849] ? trace_hardirqs_on+0x37/0xe0 [ 21.007885] ? __pfx_kasan_alloca_oob_right+0x10/0x10 [ 21.007923] ? __schedule+0x10cc/0x2b30 [ 21.007955] ? __pfx_read_tsc+0x10/0x10 [ 21.007985] ? ktime_get_ts64+0x86/0x230 [ 21.008021] kunit_try_run_case+0x1a5/0x480 [ 21.008055] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.008086] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 21.008120] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 21.008154] ? __kthread_parkme+0x82/0x180 [ 21.008187] ? preempt_count_sub+0x50/0x80 [ 21.008223] ? __pfx_kunit_try_run_case+0x10/0x10 [ 21.008256] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 21.008287] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 21.008319] kthread+0x337/0x6f0 [ 21.008349] ? trace_preempt_on+0x20/0xc0 [ 21.008382] ? __pfx_kthread+0x10/0x10 [ 21.008411] ? _raw_spin_unlock_irq+0x47/0x80 [ 21.008514] ? calculate_sigpending+0x7b/0xa0 [ 21.008599] ? __pfx_kthread+0x10/0x10 [ 21.008654] ret_from_fork+0x41/0x80 [ 21.008685] ? __pfx_kthread+0x10/0x10 [ 21.008717] ret_from_fork_asm+0x1a/0x30 [ 21.008763] </TASK> [ 21.008778] [ 21.028208] The buggy address belongs to stack of task kunit_try_catch/273 [ 21.028834] [ 21.029173] The buggy address belongs to the physical page: [ 21.030971] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103c27 [ 21.031564] flags: 0x200000000000000(node=0|zone=2) [ 21.032720] raw: 0200000000000000 ffffea00040f09c8 ffffea00040f09c8 0000000000000000 [ 21.033633] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 21.033887] page dumped because: kasan: bad access detected [ 21.034072] [ 21.034160] Memory state around the buggy address: [ 21.034335] ffff888103c27b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.034741] ffff888103c27b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.035821] >ffff888103c27c00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 21.036396] ^ [ 21.037080] ffff888103c27c80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 21.037827] ffff888103c27d00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 21.038667] ==================================================================
[ 21.754623] ================================================================== [ 21.755711] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_right+0x2dc/0x340 [ 21.756433] Read of size 1 at addr ffff8000896d7b4a by task kunit_try_catch/311 [ 21.757112] [ 21.757278] CPU: 2 UID: 0 PID: 311 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 21.757328] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.757344] Hardware name: Radxa ROCK Pi 4B (DT) [ 21.757363] Call trace: [ 21.757375] show_stack+0x20/0x38 (C) [ 21.757409] dump_stack_lvl+0x8c/0xd0 [ 21.757441] print_report+0x310/0x608 [ 21.757475] kasan_report+0xdc/0x128 [ 21.757506] __asan_report_load1_noabort+0x20/0x30 [ 21.757541] kasan_alloca_oob_right+0x2dc/0x340 [ 21.757578] kunit_try_run_case+0x170/0x3f0 [ 21.757616] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.757657] kthread+0x328/0x630 [ 21.757692] ret_from_fork+0x10/0x20 [ 21.757727] [ 21.763344] The buggy address belongs to stack of task kunit_try_catch/311 [ 21.764004] [ 21.764166] The buggy address belongs to the virtual mapping at [ 21.764166] [ffff8000896d0000, ffff8000896d9000) created by: [ 21.764166] kernel_clone+0x150/0x7a8 [ 21.765562] [ 21.765721] The buggy address belongs to the physical page: [ 21.766239] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xea46 [ 21.766966] flags: 0x3fffe0000000000(node=0|zone=0|lastcpupid=0x1ffff) [ 21.767591] raw: 03fffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 21.768308] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.769018] page dumped because: kasan: bad access detected [ 21.769535] [ 21.769689] Memory state around the buggy address: [ 21.770138] ffff8000896d7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.770805] ffff8000896d7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.771473] >ffff8000896d7b00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 21.772136] ^ [ 21.772656] ffff8000896d7b80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 21.773323] ffff8000896d7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 21.773987] ==================================================================