~/talk

Mind The Gap - The Linux Ecosystem Kernel Patch Gap

Talkat Nullcon Goa 2022 · 2022-09-09..09-10· [linux-and-operating-systems, security]
links:none on file
links:none on file
slides:none on file

Automated analysis checks whether known CVE patch commits are present in a kernel tree by attempting an apply/revert patch test, falling back to file blob-hash history when patch contexts diverge. The released tool kernel petrolyzer runs from Docker, uses MySQL caching and 32-way multiprocessing, precomputes file hashes, and adds build instrumentation to ignore unbuilt files; it analyzes hundreds of CVEs in under a minute and reports missing chipset- or arch-specific patches as JSON, finding many real-world kernels still miss published fixes.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Kernel patching is our common interest. In other words: How old is your smart TV?
  3. 2:53Kernel patching is a complex shared responsibility.
  4. 3:47Multiple parties are involved in kernel patching, which brings a unique set of challenges.
  5. 5:42Ecosystem fragmentation further complicates kernel patching.
  6. 6:36Automation can improve patching processes.
  7. 7:59Device vendors need to make four crucial decisions early in the development process.
  8. 8:32Kernel lifecycle and support timeframe need to be carefully planned pro-actively.
  9. 9:34Legal requirements on support timeframe are relatively recent.
  10. 10:30Device vendors must carefully consider the choice of Linux kernel version.
  11. 11:403a A best practice for embedded device vendors is using a LTS Linux kernel version.
  12. 14:57Chipset vendors must support the chosen (LTS) kernel version and hardware requirements.
  13. 16:10We implemented Kernel Patchalyzer to help analyze the patch status of embedded devices during assessments.
  14. 17:51Kernel Patchalyzer helps testing for kernel patches quickly with a high confidence.
  15. 19:14Finding available patches involves preprocessing and then searching across several kernel repositories
  16. 21:12Automated testing involves trying to apply the patch to the analyzed kernel source code.
  17. 22:37Duration of patch analysis is drastically reduced by optimization efforts.
  18. 32:02Automation can be utilized to improve patching processes during development.
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.