[PATCH] kernel/livepatch/core: Fixed the issue of parsing failure caused by symbols carrying '-' generated by the kpatch software

From: Li kunyu
Date: Tue Jul 29 2025 - 06:06:08 EST



After investigation, it was confirmed that the issue was indeed caused by
the code added to the kpatch software by the community I joined, as stated
in the patch:

1. Add a new code branch to solve the following problem. Due to the parsing
of a certain symbol name, for example, if the symbol name exceeds 128 bytes,
it is pieced together as.klp.sym.xxxx-xxxx,< symbol offset positiIon >.
2. Due to the code added by kpatch not being compatible with the kernel,
issues were raised.

This is a mistake made by the community, they have already fixed kpatch and
custom kernel.

Thanks.