Date
June 2, 2025, 2:10 p.m.
Environment | |
---|---|
qemu-arm64 | |
qemu-x86_64 |
[ 21.909180] ================================================================== [ 21.910404] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x240/0x278 [ 21.911102] Read of size 1 at addr ffff800080ba7cba by task kunit_try_catch/236 [ 21.912169] [ 21.912561] CPU: 1 UID: 0 PID: 236 Comm: kunit_try_catch Tainted: G B N 6.12.32-rc1 #1 [ 21.912783] Tainted: [B]=BAD_PAGE, [N]=TEST [ 21.912856] Hardware name: linux,dummy-virt (DT) [ 21.912937] Call trace: [ 21.913091] dump_backtrace+0x9c/0x128 [ 21.913235] show_stack+0x20/0x38 [ 21.913342] dump_stack_lvl+0x8c/0xd0 [ 21.913397] print_report+0x310/0x5f0 [ 21.913443] kasan_report+0xdc/0x128 [ 21.913533] __asan_report_load1_noabort+0x20/0x30 [ 21.913586] kasan_stack_oob+0x240/0x278 [ 21.913631] kunit_try_run_case+0x170/0x3f0 [ 21.913677] kunit_generic_run_threadfn_adapter+0x88/0x100 [ 21.913726] kthread+0x24c/0x2d0 [ 21.913769] ret_from_fork+0x10/0x20 [ 21.913817] [ 21.920040] The buggy address belongs to stack of task kunit_try_catch/236 [ 21.920782] and is located at offset 138 in frame: [ 21.921251] kasan_stack_oob+0x0/0x278 [ 21.921957] [ 21.922233] This frame has 4 objects: [ 21.922686] [48, 49) '__assertion' [ 21.922831] [64, 72) 'array' [ 21.923499] [96, 112) '__assertion' [ 21.923926] [128, 138) 'stack_array' [ 21.924445] [ 21.925090] The buggy address belongs to the virtual mapping at [ 21.925090] [ffff800080ba0000, ffff800080ba9000) created by: [ 21.925090] kernel_clone+0x150/0x7a8 [ 21.926209] [ 21.926502] The buggy address belongs to the physical page: [ 21.927044] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106d24 [ 21.928071] flags: 0xbfffe0000000000(node=0|zone=2|lastcpupid=0x1ffff) [ 21.929080] raw: 0bfffe0000000000 0000000000000000 dead000000000122 0000000000000000 [ 21.929507] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 21.929862] page dumped because: kasan: bad access detected [ 21.930161] [ 21.930339] Memory state around the buggy address: [ 21.930626] ffff800080ba7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 21.931579] ffff800080ba7c00: 00 00 00 00 00 00 f1 f1 f1 f1 f1 f1 01 f2 00 f2 [ 21.932619] >ffff800080ba7c80: f2 f2 00 00 f2 f2 00 02 f3 f3 00 00 00 00 00 00 [ 21.932874] ^ [ 21.933067] ffff800080ba7d00: 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 [ 21.933395] ffff800080ba7d80: f2 f2 00 00 f2 f2 00 00 f3 f3 00 00 00 00 00 00 [ 21.934267] ==================================================================
[ 13.934755] ================================================================== [ 13.935380] BUG: KASAN: stack-out-of-bounds in kasan_stack_oob+0x2b7/0x300 [ 13.935712] Read of size 1 at addr ffff888102a77d72 by task kunit_try_catch/254 [ 13.935900] [ 13.936033] CPU: 1 UID: 0 PID: 254 Comm: kunit_try_catch Tainted: G B N 6.12.32-rc1 #1 [ 13.936079] Tainted: [B]=BAD_PAGE, [N]=TEST [ 13.936092] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 13.936111] Call Trace: [ 13.936125] <TASK> [ 13.936144] dump_stack_lvl+0x73/0xb0 [ 13.936171] print_report+0xd1/0x640 [ 13.936193] ? __virt_addr_valid+0x1db/0x2d0 [ 13.936216] ? kasan_stack_oob+0x2b7/0x300 [ 13.936236] ? kasan_addr_to_slab+0x11/0xa0 [ 13.936256] ? kasan_stack_oob+0x2b7/0x300 [ 13.936276] kasan_report+0x140/0x180 [ 13.936297] ? kasan_stack_oob+0x2b7/0x300 [ 13.936322] __asan_report_load1_noabort+0x18/0x20 [ 13.936341] kasan_stack_oob+0x2b7/0x300 [ 13.936362] ? __pfx_kasan_stack_oob+0x10/0x10 [ 13.936380] ? finish_task_switch.isra.0+0x153/0x700 [ 13.936400] ? __switch_to+0x5d9/0xf60 [ 13.936424] ? __schedule+0xc49/0x27a0 [ 13.936444] ? __pfx_read_tsc+0x10/0x10 [ 13.936462] ? ktime_get_ts64+0x84/0x230 [ 13.936486] kunit_try_run_case+0x1a6/0x480 [ 13.936507] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.936527] ? _raw_spin_lock_irqsave+0xa2/0x110 [ 13.936565] ? _raw_spin_unlock_irqrestore+0x5f/0x90 [ 13.936587] ? __kthread_parkme+0x82/0x160 [ 13.936605] ? preempt_count_sub+0x50/0x80 [ 13.936643] ? __pfx_kunit_try_run_case+0x10/0x10 [ 13.936670] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10 [ 13.936695] kunit_generic_run_threadfn_adapter+0x85/0xf0 [ 13.936719] kthread+0x257/0x310 [ 13.936737] ? __pfx_kthread+0x10/0x10 [ 13.936754] ret_from_fork+0x41/0x80 [ 13.936772] ? __pfx_kthread+0x10/0x10 [ 13.936789] ret_from_fork_asm+0x1a/0x30 [ 13.936820] </TASK> [ 13.936830] [ 13.942883] The buggy address belongs to stack of task kunit_try_catch/254 [ 13.943612] and is located at offset 138 in frame: [ 13.943927] kasan_stack_oob+0x0/0x300 [ 13.944251] [ 13.944319] This frame has 4 objects: [ 13.944564] [48, 49) '__assertion' [ 13.944594] [64, 72) 'array' [ 13.944843] [96, 112) '__assertion' [ 13.945102] [128, 138) 'stack_array' [ 13.945330] [ 13.945533] The buggy address belongs to the physical page: [ 13.945845] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x102a77 [ 13.946389] flags: 0x200000000000000(node=0|zone=2) [ 13.946510] raw: 0200000000000000 ffffea00040a9dc8 ffffea00040a9dc8 0000000000000000 [ 13.947095] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 13.947549] page dumped because: kasan: bad access detected [ 13.947743] [ 13.947870] Memory state around the buggy address: [ 13.948083] ffff888102a77c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 13.948301] ffff888102a77c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 [ 13.948555] >ffff888102a77d00: f1 f1 f1 01 f2 00 f2 f2 f2 00 00 f2 f2 00 02 f3 [ 13.948871] ^ [ 13.949024] ffff888102a77d80: f3 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 [ 13.949461] ffff888102a77e00: f1 00 00 f2 f2 00 00 f2 f2 00 00 f3 f3 00 00 00 [ 13.949742] ==================================================================