Description of problem: Version-Release number of selected component (if applicable): How reproducible: 必现 Steps to Reproduce: 1.安装kernel-debug 2.perf probe 任意一个函数 3.dmesg Actual results: [Thu Dec 16 11:12:04 2021] ================================================================================ [Thu Dec 16 11:12:04 2021] UBSAN: object-size-mismatch in kernel/kprobes.c:1652:17 [Thu Dec 16 11:12:04 2021] load of address 000000006b14f93a with insufficient space [Thu Dec 16 11:12:04 2021] for an object of type 'unsigned char' [Thu Dec 16 11:12:04 2021] ================================================================================ [Thu Dec 16 11:12:04 2021] ================================================================== [Thu Dec 16 11:12:04 2021] BUG: KASAN: stack-out-of-bounds in module_patched+0x1b4/0x1d0 [Thu Dec 16 11:12:04 2021] Read of size 4 at addr ffff0000de7ef751 by task bash/2414 [Thu Dec 16 11:12:04 2021] The buggy address belongs to the page: [Thu Dec 16 11:12:04 2021] addr ffff0000de7ef751 is located in stack of task bash/2414 at offset 33 in frame: [Thu Dec 16 11:12:04 2021] module_patched+0x8/0x1d0 [Thu Dec 16 11:12:04 2021] this frame has 1 object: [Thu Dec 16 11:12:04 2021] [32, 36) 'replaced' [Thu Dec 16 11:12:04 2021] Memory state around the buggy address: [Thu Dec 16 11:12:04 2021] ffff0000de7ef600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [Thu Dec 16 11:12:04 2021] ffff0000de7ef680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [Thu Dec 16 11:12:04 2021] >ffff0000de7ef700: 00 00 00 00 00 00 f1 f1 f1 f1 04 f3 f3 f3 00 00 [Thu Dec 16 11:12:04 2021] ^ [Thu Dec 16 11:12:04 2021] ffff0000de7ef780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [Thu Dec 16 11:12:04 2021] ffff0000de7ef800: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 [Thu Dec 16 11:12:04 2021] ================================================================== Expected results: 无错误 Additional info: