Date
Dec. 5, 2024, 2:07 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 32.892427] ================================================================== [ 32.893930] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x230/0x268 [ 32.894870] Read of size 1 at addr ffff800080be7cba by task kunit_try_catch/238 [ 32.896469] [ 32.896774] CPU: 1 UID: 0 PID: 238 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241205 #1 [ 32.898118] Tainted: [B]=BAD_PAGE, [N]=TEST [ 32.898415] Hardware name: linux,dummy-virt (DT) [ 32.898709] Call trace: [ 32.898959] show_stack+0x20/0x38 (C) [ 32.899511] dump_stack_lvl+0x8c/0xd0 [ 32.900309] print_report+0x2fc/0x5e0 [ 32.901676] kasan_report+0xc8/0x118 [ 32.902288] __asan_report_load1_noabort+0x20/0x30 [ 32.903029] kasan_stack_oob+0x230/0x268 [ 32.903705] kunit_try_run_case+0x14c/0x3d0 [ 32.904569] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 32.905137] kthread+0x24c/0x2d0 [ 32.906161] ret_from_fork+0x10/0x20 [ 32.906842] [ 32.908151] The buggy address belongs to stack of task kunit_try_catch/238 [ 32.909299] and is located at offset 138 in frame: [ 32.909973] kasan_stack_oob+0x0/0x268 [ 32.910709] [ 32.911137] This frame has 4 objects: [ 32.911791] [48, 49) '__assertion' [ 32.911962] [64, 72) 'array' [ 32.912929] [96, 112) '__assertion' [ 32.913363] [128, 138) 'stack_array' [ 32.913996] [ 32.914698] The buggy address belongs to the virtual mapping at [ 32.914698] [ffff800080be0000, ffff800080be9000) created by: [ 32.914698] kernel_clone+0x140/0x788 [ 32.916751] [ 32.917053] The buggy address belongs to the physical page: [ 32.918056] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10657e [ 32.919183] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 32.919947] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 32.921063] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 32.922083] page dumped because: kasan: bad access detected [ 32.922768] [ 32.923138] Memory state around the buggy address: [ 32.924097] ffff800080be7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 32.924741] ffff800080be7c00: 00 00 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 [ 32.925410] >ffff800080be7c80: f2 f2 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 [ 32.926396] ^ [ 32.927227] ffff800080be7d00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 [ 32.928301] ffff800080be7d80: f2 f2 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 [ 32.929388] ==================================================================
[ 30.707293] ================================================================== [ 30.708476] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2ae/0x300 [ 30.709078] Read of size 1 at addr ffff888102d57d72 by task kunit_try_catch/256 [ 30.710454] [ 30.710741] CPU: 1 UID: 0 PID: 256 Comm: kunit_try_catch Tainted: G B N 6.13.0-rc1-next-20241205 #1 [ 30.712474] Tainted: [B]=BAD_PAGE, [N]=TEST [ 30.712666] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 30.713349] Call Trace: [ 30.713669] <TASK> [ 30.713889] dump_stack_lvl+0x73/0xb0 [ 30.714349] print_report+0xd1/0x640 [ 30.715284] ? __virt_addr_valid+0x1db/0x2d0 [ 30.715863] ? kasan_addr_to_slab+0x11/0xa0 [ 30.716450] kasan_report+0x102/0x140 [ 30.716938] ? kasan_stack_oob+0x2ae/0x300 [ 30.717559] ? kasan_stack_oob+0x2ae/0x300 [ 30.718123] __asan_report_load1_noabort+0x18/0x20 [ 30.718540] kasan_stack_oob+0x2ae/0x300 [ 30.719390] ? __pfx_kasan_stack_oob+0x10/0x10 [ 30.719838] ? sysvec_apic_timer_interrupt+0x50/0x90 [ 30.720406] ? __pfx_kasan_stack_oob+0x10/0x10 [ 30.721103] kunit_try_run_case+0x1b3/0x490 [ 30.721648] ? __pfx_kunit_try_run_case+0x10/0x10 [ 30.722407] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 30.723284] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 30.723716] ? __kthread_parkme+0x82/0x160 [ 30.724349] ? preempt_count_sub+0x50/0x80 [ 30.724725] ? __pfx_kunit_try_run_case+0x10/0x10 [ 30.725364] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 30.725864] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 30.726345] kthread+0x257/0x310 [ 30.726713] ? __pfx_kthread+0x10/0x10 [ 30.727175] ret_from_fork+0x41/0x80 [ 30.727816] ? __pfx_kthread+0x10/0x10 [ 30.728400] ret_from_fork_asm+0x1a/0x30 [ 30.728949] </TASK> [ 30.729367] [ 30.729656] The buggy address belongs to stack of task kunit_try_catch/256 [ 30.730629] and is located at offset 138 in frame: [ 30.731272] kasan_stack_oob+0x0/0x300 [ 30.731980] [ 30.732234] This frame has 4 objects: [ 30.733061] [48, 49) '__assertion' [ 30.733148] [64, 72) 'array' [ 30.733567] [96, 112) '__assertion' [ 30.734110] [128, 138) 'stack_array' [ 30.734483] [ 30.735271] The buggy address belongs to the physical page: [ 30.735623] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102d57 [ 30.736720] flags: 0x200000000000000(node=0|zone=2) [ 30.737392] raw: 0200000000000000 ffffea00040b55c8 ffffea00040b55c8 0000000000000000 [ 30.738202] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 30.738784] page dumped because: kasan: bad access detected [ 30.739401] [ 30.739659] Memory state around the buggy address: [ 30.740466] ffff888102d57c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 30.741140] ffff888102d57c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 [ 30.741664] >ffff888102d57d00: f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 02 f3 [ 30.742422] ^ [ 30.743196] ffff888102d57d80: f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 [ 30.743930] ffff888102d57e00: f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 00 00 [ 30.744879] ==================================================================