Date
April 22, 2025, 11:09 a.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 | |
rk3399-rock-pi-4b |
[ 20.213974] ================================================================== [ 20.214170] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 20.214313] Read of size 1 at addr ffff800080a87b5f by task kunit_try_catch/253 [ 20.214456] [ 20.214560] CPU: 0 UID: 0 PID: 253 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 20.214809] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.214881] Hardware name: linux,dummy-virt (DT) [ 20.214957] Call trace: [ 20.215011] show_stack+0x20/0x38 (C) [ 20.215146] dump_stack_lvl+0x8c/0xd0 [ 20.215251] print_report+0x310/0x608 [ 20.215372] kasan_report+0xdc/0x128 [ 20.215481] __asan_report_load1_noabort+0x20/0x30 [ 20.215600] kasan_alloca_oob_left+0x2b8/0x310 [ 20.215762] kunit_try_run_case+0x170/0x3f0 [ 20.215908] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 20.216055] kthread+0x328/0x630 [ 20.216150] ret_from_fork+0x10/0x20 [ 20.216247] [ 20.216472] The buggy address belongs to stack of task kunit_try_catch/253 [ 20.216671] [ 20.216731] The buggy address belongs to the virtual mapping at [ 20.216731] [ffff800080a80000, ffff800080a89000) created by: [ 20.216731] kernel_clone+0x150/0x7a8 [ 20.216922] [ 20.216987] The buggy address belongs to the physical page: [ 20.217084] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1042b6 [ 20.217207] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 20.217355] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 20.217485] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 20.217604] page dumped because: kasan: bad access detected [ 20.217692] [ 20.217767] Memory state around the buggy address: [ 20.217861] ffff800080a87a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.218004] ffff800080a87a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.218174] >ffff800080a87b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 20.218540] ^ [ 20.218678] ffff800080a87b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 20.219004] ffff800080a87c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 20.219103] ==================================================================
[ 20.953255] ================================================================== [ 20.954225] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x320/0x380 [ 20.954873] Read of size 1 at addr ffff888103cffc3f by task kunit_try_catch/271 [ 20.955345] [ 20.955670] CPU: 0 UID: 0 PID: 271 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT(voluntary) [ 20.955826] Tainted: [B]=BAD_PAGE, [N]=TEST [ 20.955868] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 20.955948] Call Trace: [ 20.956016] <TASK> [ 20.956067] dump_stack_lvl+0x73/0xb0 [ 20.956147] print_report+0xd1/0x650 [ 20.956225] ? __virt_addr_valid+0x1db/0x2d0 [ 20.956304] ? kasan_alloca_oob_left+0x320/0x380 [ 20.956399] ? kasan_addr_to_slab+0x11/0xa0 [ 20.956552] ? kasan_alloca_oob_left+0x320/0x380 [ 20.956631] kasan_report+0x141/0x180 [ 20.956728] ? kasan_alloca_oob_left+0x320/0x380 [ 20.956954] __asan_report_load1_noabort+0x18/0x20 [ 20.957039] kasan_alloca_oob_left+0x320/0x380 [ 20.957122] ? finish_task_switch.isra.0+0x153/0x700 [ 20.957202] ? rwsem_down_read_slowpath+0x64e/0xb90 [ 20.957239] ? trace_hardirqs_on+0x37/0xe0 [ 20.957278] ? __pfx_kasan_alloca_oob_left+0x10/0x10 [ 20.957316] ? __schedule+0x10cc/0x2b30 [ 20.957350] ? __pfx_read_tsc+0x10/0x10 [ 20.957379] ? ktime_get_ts64+0x86/0x230 [ 20.957438] kunit_try_run_case+0x1a5/0x480 [ 20.957554] ? __pfx_kunit_try_run_case+0x10/0x10 [ 20.957633] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 20.957672] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 20.957707] ? __kthread_parkme+0x82/0x180 [ 20.957739] ? preempt_count_sub+0x50/0x80 [ 20.957772] ? __pfx_kunit_try_run_case+0x10/0x10 [ 20.957804] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 20.957836] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 20.957868] kthread+0x337/0x6f0 [ 20.957897] ? trace_preempt_on+0x20/0xc0 [ 20.957929] ? __pfx_kthread+0x10/0x10 [ 20.957960] ? _raw_spin_unlock_irq+0x47/0x80 [ 20.957991] ? calculate_sigpending+0x7b/0xa0 [ 20.958021] ? __pfx_kthread+0x10/0x10 [ 20.958053] ret_from_fork+0x41/0x80 [ 20.958083] ? __pfx_kthread+0x10/0x10 [ 20.958113] ret_from_fork_asm+0x1a/0x30 [ 20.958157] </TASK> [ 20.958171] [ 20.978735] The buggy address belongs to stack of task kunit_try_catch/271 [ 20.979385] [ 20.979848] The buggy address belongs to the physical page: [ 20.980324] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103cff [ 20.981201] flags: 0x200000000000000(node=0|zone=2) [ 20.982271] raw: 0200000000000000 ffffea00040f3fc8 ffffea00040f3fc8 0000000000000000 [ 20.983138] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 20.983989] page dumped because: kasan: bad access detected [ 20.984630] [ 20.984910] Memory state around the buggy address: [ 20.985339] ffff888103cffb00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.986224] ffff888103cffb80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 20.988003] >ffff888103cffc00: 00 00 00 00 ca ca ca ca 00 02 cb cb cb cb cb cb [ 20.989195] ^ [ 20.989422] ffff888103cffc80: 00 00 00 f1 f1 f1 f1 01 f2 04 f2 00 f2 f2 f2 00 [ 20.990279] ffff888103cffd00: 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 20.991918] ==================================================================
[ 21.731641] ================================================================== [ 21.732656] BUG: KASAN: alloca-out-of-bounds in kasan_alloca_oob_left+0x2b8/0x310 [ 21.733357] Read of size 1 at addr ffff8000896b7b5f by task kunit_try_catch/309 [ 21.734029] [ 21.734209] CPU: 3 UID: 0 PID: 309 Comm: kunit_try_catch Tainted: G B N 6.15.0-rc3 #1 PREEMPT [ 21.734268] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.734285] Hardware name: Radxa ROCK Pi 4B (DT) [ 21.734304] Call trace: [ 21.734318] show_stack+0x20/0x38 (C) [ 21.734357] dump_stack_lvl+0x8c/0xd0 [ 21.734390] print_report+0x310/0x608 [ 21.734421] kasan_report+0xdc/0x128 [ 21.734450] __asan_report_load1_noabort+0x20/0x30 [ 21.734485] kasan_alloca_oob_left+0x2b8/0x310 [ 21.734521] kunit_try_run_case+0x170/0x3f0 [ 21.734559] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.734598] kthread+0x328/0x630 [ 21.734633] ret_from_fork+0x10/0x20 [ 21.734667] [ 21.740282] The buggy address belongs to stack of task kunit_try_catch/309 [ 21.740937] [ 21.741098] The buggy address belongs to the virtual mapping at [ 21.741098] [ffff8000896b0000, ffff8000896b9000) created by: [ 21.741098] kernel_clone+0x150/0x7a8 [ 21.742491] [ 21.742648] The buggy address belongs to the physical page: [ 21.743166] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xea32 [ 21.743895] flags: 0x3fffe0000000000(node=0|zone=0|lastcpupid=0x1ffff) [ 21.744520] raw: 03fffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 21.745237] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.745948] page dumped because: kasan: bad access detected [ 21.746464] [ 21.746618] Memory state around the buggy address: [ 21.747068] ffff8000896b7a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.747735] ffff8000896b7a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.748402] >ffff8000896b7b00: 00 00 00 00 00 00 00 00 ca ca ca ca 00 02 cb cb [ 21.749066] ^ [ 21.749632] ffff8000896b7b80: cb cb cb cb 00 00 00 00 f1 f1 f1 f1 01 f2 04 f2 [ 21.750300] ffff8000896b7c00: 00 f2 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 21.750964] ==================================================================