Loading…
September 13-16, 2022
Dublin, Ireland + Virtual
View More Details & Registration
Note: The schedule is subject to change.

The Sched app allows you to build your schedule but is not a substitute for your event registration. You must be registered for Open Source Summit Europe 2022 to participate in the sessions. If you have not registered but would like to join us, please go to the event registration page to purchase a registration.

This schedule is automatically displayed in Irish Standard Time (UTC +1). To see the schedule in your preferred timezone, please select from the drop-down menu to the right, above "Filter by Date."

IMPORTANT NOTE: Timing of sessions and room locations are subject to change.

Back To Schedule
Friday, September 16 • 13:55 - 14:35
Deep Dive Into Linux Kernel Livepatch - Aakarsh Jain, Samsung Semiconductor India R & D

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Linux machines running with important or critical workloads, do not want to get rebooted every three weeks or six months for each new kernel release. So keeping these machines safe and up-to-date with security fixes is a must, which is the motivation behind livepatch. Livepatch is the ability of a kernel to change the flow of code execution from a broken or vulnerable function to a fixed function during runtime. It is implemented by compiling the new fixed function into a kernel module and loading it into the system. Ftrace is then used to redirect calls from the old function to the new function in the kernel module. This talk will cover the structure and detailed explanation of kernel livepatch, kpatch and prerequisites needed for writing a livepatch and how it uses ftrace for redirection. Also will showcase a demo on how livepatch works using kpatch-build, need of ELF sections and the limitations of livepatch. At the end of the session, the audience will have a better understanding of kernel livepatching, the usage of kpatch-build, and how to write a livepatch that can fix a real bug.

Speakers
AJ

Aakarsh Jain

Engineer, Samsung Semiconductor India Research
Working as an Engineer in Samsung semiconductor India Research. Have around 4 yrs of experience in embedded Linux domain. Worked on board bring up activities, FreeRTOS, AES encryptions.


Friday September 16, 2022 13:55 - 14:35 IST
Auditorium (Level 3)
  LinuxCon, Live Patching