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

UK businesses are falling behind on AI strategy, research finds – UKTN
UK businesses are falling behind on AI strategy, research finds – UKTN
News
AWS introduces Nova Forge for training bespoke ‘Novella’ frontier models –  News
AWS introduces Nova Forge for training bespoke ‘Novella’ frontier models – News
News
Anker’s new desktop docking station has a removable USB-C hub you can take with you
Anker’s new desktop docking station has a removable USB-C hub you can take with you
News
The HackerNoon Newsletter: How Will We Distinguish Truth From Fiction? (12/2/2025) | HackerNoon
The HackerNoon Newsletter: How Will We Distinguish Truth From Fiction? (12/2/2025) | HackerNoon
Computing

You Might also Like

The HackerNoon Newsletter: How Will We Distinguish Truth From Fiction? (12/2/2025) | HackerNoon
Computing

The HackerNoon Newsletter: How Will We Distinguish Truth From Fiction? (12/2/2025) | HackerNoon

3 Min Read
India Orders Messaging Apps to Work Only With Active SIM Cards to Prevent Fraud and Misuse
Computing

India Orders Messaging Apps to Work Only With Active SIM Cards to Prevent Fraud and Misuse

4 Min Read
AI roleplay startup Yoodli raises M, reports 900% revenue growth
Computing

AI roleplay startup Yoodli raises $40M, reports 900% revenue growth

3 Min Read
155 WhatsApp features everyone should know
Computing

155 WhatsApp features everyone should know

32 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?