Query Regarding Backporting klp-build from Linux 6.19 to 6.12.x
ahamed <[email protected]> Thu, 23 Jul 2026 17:58:58 +0530
| Newsgroups | org.kernel.vger.live-patching |
|---|---|
| Message-ID | <CAL0stzsJ_hJidg0hyJbaSWKHU=qqhh1G5BhKnJRsWS66PJh3oA@mail.gmail.com> |
Hi Josh, I hope you're doing well. We're currently using Linux kernel versions 6.12.74 and 6.12.90 in our environment. We have been using kpatch-build for livepatch generation, but it doesn't work on these kernels because CONFIG_X86_KERNEL_IBT is enabled. Since IBT is an important security feature, disabling CONFIG_X86_KERNEL_IBT is not an option for us. While looking for alternatives, I came across the new klp-build infrastructure that was introduced upstream in Linux 6.19. I also found your patch series: https://lists.openwall.net/linux-kernel/2025/06/26/1920 From what I understand, this series introduces the new klp-build workflow along with the required objtool and livepatch infrastructure. I wanted to ask whether it would be feasible to backport this entire patch series to Linux 6.12.74/6.12.90. Specifically: Would backporting the complete klp-build patch series be sufficient to make klp-build functional on a 6.12 kernel? Are there any additional dependencies or upstream changes outside this patch series that would also need to be backported? Have you or anyone else attempted such a backport, or would you expect significant compatibility issues with the 6.12 stable kernel? In your opinion, is backporting klp-build to 6.12 a practical approach, or would you recommend another solution? Any guidance or recommendations would be greatly appreciated. Thank you for your time and for all the work you've done on the new livepatch infrastructure. Best regards, Ahamed