13–15 Nov 2023
America/New_York timezone

drgn Writing to Memory and Breakpoints, Safely in Production?

14 Nov 2023, 10:00
30m
"James River Salon B" (Omni Richmond Hotel)

"James River Salon B"

Omni Richmond Hotel

83
Linux Kernel Debugging MC Linux Kernel Debugging MC

Speaker

Omar Sandoval

Description

drgn is currently read-only: it can attach to the running kernel and read memory, but it can't modify memory or modify the flow of execution. These read-write features would clearly be useful for development (for example, in a virtual machine or a lab). If done safely, they could also be useful for modifying the kernel in production. There are many potential mechanisms for implementing this, each with risks.

I'll share some kernel bugs we hit in production at Meta where we wished drgn could make modifications in order to mitigate a bug until a fix is deployed. Then, let's brainstorm how we can allow this without creating huge footguns and backdoors.

Primary author

Presentation materials

Diamond Sponsors
Platinum Sponsor
Gold Sponsors
Silver Sponsors
Catchbox Sponsor
Livestream Sponsors
T-Shirt Sponsor
Conference Services Provided by