August 23-34, 2022 - 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 Latin America 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 Eastern Daylight Time (UTC -4). To see the schedule in your preferred timezone, please select from the drop-down menu to the right, above "Filter by Date."
Back To Schedule
Wednesday, August 24 • 3:00pm - 3:40pm
Deep Dive Into Linux Kernel Livepatch - Aakarsh Jain, Samsung Semiconductor India R&D [Presented in English]

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.


Aakarsh Jain

Engineer, Samsung Semiconductor India R & D
Working as an Engineer in Samsung semiconductor India R & D. Have around 3 yrs of experience in embedded Linux domain. Worked on board bring up activities, FreeRTOS, AES encryptions. Currently working in multimedia domain.

Wednesday August 24, 2022 3:00pm - 3:40pm EDT