By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux 6.19 Merges “klp-build” As New Livepatch Module Generation Solution
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux 6.19 Merges “klp-build” As New Livepatch Module Generation Solution
Computing

Linux 6.19 Merges “klp-build” As New Livepatch Module Generation Solution

News Room
Last updated: 2025/12/02 at 1:27 PM
News Room Published 2 December 2025
Share
Linux 6.19 Merges “klp-build” As New Livepatch Module Generation Solution
SHARE

Merged as part of the objtool changes for the Linux 6.19 kernel is introducing the “klp-build” script as a new solution to generate livepatch modules using a source .patch file as the input. This klp-build effort was spearheaded by Josh Poimboeuf with ideas learned from the out-of-tree Kpatch project over the past decade.

Josh Poimboeuf has been working on this klp-build for a while and explained in the patch series cover letter:

“This series introduces new objtool features and a klp-build script to generate livepatch modules using a source .patch as input.

This builds on concepts from the longstanding out-of-tree kpatch project which began in 2012 and has been used for many years to generate livepatch modules for production kernels. However, this is a complete rewrite which incorporates hard-earned lessons from 12+ years of maintaining kpatch.

Key improvements compared to kpatch-build:

– Integrated with objtool: Leverages objtool’s existing control-flow graph analysis to help detect changed functions.

– Works on vmlinux.o: Supports late-linked objects, making it compatible with LTO, IBT, and similar.

– Simplified code base: ~3k fewer lines of code.

– Upstream: No more out-of-tree #ifdef hacks, far less cruft.

– Cleaner internals: Vastly simplified logic for symbol/section/reloc inclusion and special section extraction.

– Robust __LINE__ macro handling: Avoids false positive binary diffs caused by the __LINE__ macro by introducing a fix-patch-lines script which injects #line directives into the source .patch to preserve the original line numbers at compile time.

The primary user interface is the klp-build script which does the following:

– Builds an original kernel with -function-sections and -fdata-sections, plus objtool function checksumming.

– Applies the .patch file and rebuilds the kernel using the same options.

– Runs ‘objtool klp diff’ to detect changed functions and generate intermediate binary diff objects.

– Builds a kernel module which links the diff objects with some livepatch module init code (scripts/livepatch/init.c).

– Finalizes the livepatch module (aka work around linker wreckage) using ‘objtool klp post-link’.”

All of this work by the Red Hat engineer is now in Linux 6.19 Git. Kernel live-patching of security updates and functional issues remains an important area for large enterprises and especially the hyperscalers where keeping system downtime to a minimum is of significant concern.

klp-build

This objtool pull request landed the new klp-build and associated infrastructure for this significant improvement to Linux kernel live-patching.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Michael and Susan Dell depositing 0 in 25M children's investment accounts Michael and Susan Dell depositing $250 in 25M children's investment accounts
Next Article 5 Best Alternatives For Google Photos – BGR 5 Best Alternatives For Google Photos – BGR
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

The 9 Cheapest Ways To Turn Your Basement Into A Home Theater – BGR
The 9 Cheapest Ways To Turn Your Basement Into A Home Theater – BGR
News
What Insulet’s Middle East (PODD) launch of Omnipod 5 means for shareholders
What Insulet’s Middle East (PODD) launch of Omnipod 5 means for shareholders
News
The Galaxy S26 could be over 0 more expensive in some markets
The Galaxy S26 could be over $100 more expensive in some markets
News
On Sunday, Team USA Goes for Olympic Gold in Snowboarding, Alpine Skiing, Dual Moguls, More. How to Watch Online
On Sunday, Team USA Goes for Olympic Gold in Snowboarding, Alpine Skiing, Dual Moguls, More. How to Watch Online
News

You Might also Like

How I Make Money on Pinterest
Computing

How I Make Money on Pinterest

3 Min Read
The Smart Way to Use Pinterest Board Sections
Computing

The Smart Way to Use Pinterest Board Sections

3 Min Read
China’s Zeekr and Lynk & Co chase 1 million annual sales target after merger · TechNode
Computing

China’s Zeekr and Lynk & Co chase 1 million annual sales target after merger · TechNode

2 Min Read
F2FS Delivers “Several Key Performance Optimizations” With Linux 7.0
Computing

F2FS Delivers “Several Key Performance Optimizations” With Linux 7.0

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?