Date
June 24, 2025, 12:47 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 27.263348] ================================================================== [ 27.263524] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x238/0x270 [ 27.263681] Read of size 1 at addr ffff800080a17c2a by task kunit_try_catch/251 [ 27.263825] [ 27.263921] CPU: 1 UID: 0 PID: 251 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc2 #1 PREEMPT [ 27.264436] Tainted: [B]=BAD_PAGE, [N]=TEST [ 27.264572] Hardware name: linux,dummy-virt (DT) [ 27.264671] Call trace: [ 27.264731] show_stack+0x20/0x38 (C) [ 27.264870] dump_stack_lvl+0x8c/0xd0 [ 27.265729] print_report+0x310/0x608 [ 27.265910] kasan_report+0xdc/0x128 [ 27.266726] __asan_report_load1_noabort+0x20/0x30 [ 27.267220] kasan_stack_oob+0x238/0x270 [ 27.267344] kunit_try_run_case+0x170/0x3f0 [ 27.267485] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 27.267618] kthread+0x328/0x630 [ 27.268197] ret_from_fork+0x10/0x20 [ 27.268472] [ 27.269369] The buggy address belongs to stack of task kunit_try_catch/251 [ 27.269978] and is located at offset 138 in frame: [ 27.270073] kasan_stack_oob+0x0/0x270 [ 27.270327] [ 27.270420] This frame has 4 objects: [ 27.272749] [48, 49) '__assertion' [ 27.273222] [64, 72) 'array' [ 27.273312] [96, 112) '__assertion' [ 27.274448] [128, 138) 'stack_array' [ 27.274575] [ 27.274675] The buggy address belongs to the virtual mapping at [ 27.274675] [ffff800080a10000, ffff800080a19000) created by: [ 27.274675] kernel_clone+0x150/0x7a8 [ 27.276165] [ 27.276224] The buggy address belongs to the physical page: [ 27.276314] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x105a69 [ 27.276473] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 27.276956] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 27.277703] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 27.277839] page dumped because: kasan: bad access detected [ 27.278566] [ 27.278623] Memory state around the buggy address: [ 27.278779] ffff800080a17b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 27.278905] ffff800080a17b80: 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 [ 27.279494] >ffff800080a17c00: 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 00 00 [ 27.280302] ^ [ 27.280471] ffff800080a17c80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 [ 27.281062] ffff800080a17d00: 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 00 00 [ 27.281174] ==================================================================
[ 13.816002] ================================================================== [ 13.816734] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b5/0x300 [ 13.817377] Read of size 1 at addr ffff888103a87d02 by task kunit_try_catch/269 [ 13.817783] [ 13.818654] CPU: 1 UID: 0 PID: 269 Comm: kunit_try_catch Tainted: G B N 6.15.4-rc2 #1 PREEMPT(voluntary) [ 13.818784] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.818804] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.818830] Call Trace: [ 13.818846] <TASK> [ 13.818869] dump_stack_lvl+0x73/0xb0 [ 13.818909] print_report+0xd1/0x650 [ 13.818931] ? __virt_addr_valid+0x1db/0x2d0 [ 13.818953] ? kasan_stack_oob+0x2b5/0x300 [ 13.818972] ? kasan_addr_to_slab+0x11/0xa0 [ 13.818990] ? kasan_stack_oob+0x2b5/0x300 [ 13.819010] kasan_report+0x141/0x180 [ 13.819030] ? kasan_stack_oob+0x2b5/0x300 [ 13.819053] __asan_report_load1_noabort+0x18/0x20 [ 13.819072] kasan_stack_oob+0x2b5/0x300 [ 13.819092] ? __pfx_kasan_stack_oob+0x10/0x10 [ 13.819109] ? finish_task_switch.isra.0+0x153/0x700 [ 13.819132] ? __switch_to+0x5d9/0xf60 [ 13.819153] ? dequeue_task_fair+0x156/0x4e0 [ 13.819175] ? __schedule+0x10cc/0x2b60 [ 13.819197] ? __pfx_read_tsc+0x10/0x10 [ 13.819215] ? ktime_get_ts64+0x86/0x230 [ 13.819241] kunit_try_run_case+0x1a5/0x480 [ 13.819266] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.819287] ? _raw_spin_lock_irqsave+0xa1/0x100 [ 13.819309] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.819331] ? __kthread_parkme+0x82/0x180 [ 13.819351] ? preempt_count_sub+0x50/0x80 [ 13.819373] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.819394] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.819415] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.819436] kthread+0x337/0x6f0 [ 13.819452] ? trace_preempt_on+0x20/0xc0 [ 13.819474] ? __pfx_kthread+0x10/0x10 [ 13.819491] ? _raw_spin_unlock_irq+0x47/0x80 [ 13.819510] ? calculate_sigpending+0x7b/0xa0 [ 13.819530] ? __pfx_kthread+0x10/0x10 [ 13.819570] ret_from_fork+0x41/0x80 [ 13.819591] ? __pfx_kthread+0x10/0x10 [ 13.819607] ret_from_fork_asm+0x1a/0x30 [ 13.819653] </TASK> [ 13.819666] [ 13.831934] The buggy address belongs to stack of task kunit_try_catch/269 [ 13.832449] and is located at offset 138 in frame: [ 13.832901] kasan_stack_oob+0x0/0x300 [ 13.833373] [ 13.833523] This frame has 4 objects: [ 13.834059] [48, 49) '__assertion' [ 13.834116] [64, 72) 'array' [ 13.834306] [96, 112) '__assertion' [ 13.834560] [128, 138) 'stack_array' [ 13.835166] [ 13.835459] The buggy address belongs to the physical page: [ 13.836035] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x103a87 [ 13.836312] flags: 0x200000000000000(node=0|zone=2) [ 13.836818] raw: 0200000000000000 ffffea00040ea1c8 ffffea00040ea1c8 0000000000000000 [ 13.837253] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.837854] page dumped because: kasan: bad access detected [ 13.838142] [ 13.838241] Memory state around the buggy address: [ 13.838520] ffff888103a87c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.839190] ffff888103a87c80: f1 f1 f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 [ 13.839488] >ffff888103a87d00: 02 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 [ 13.840062] ^ [ 13.840253] ffff888103a87d80: f1 f1 f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 [ 13.840541] ffff888103a87e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.840772] ==================================================================