~/talk

RISC-V Bug Hunting

Talkat Open Source Summit Korea 2025 · on Wednesday, 2025-11-05· at 11:40· Orchid 2 (2F)· [linux-and-operating-systems]
name:Ben Dooks
links:none on file
slides:none on file

Syzbot triage shows an occasional kernel OOPS where the SUM bit isn’t preserved across a context switch; investigation with QEMU, kernel disassembly and a small watcher thread reveals the scheduler isn’t saving that CSR and a reorder of the put_user sequence fixes it syzbot report. A fleet-wide SIGILL points to a disabled CSR illegal CSR readcycle inside libabsl (and a vendored copy in gRPC) resolved by upgrading and by a temporary kernel emulation via the illegal-instruction handler using hand-built binaries and objdump+as to decode the faulting bytes.

AI-written summary · about

  1. 0:00RISC-V bug hunting intro
  2. 2:05Kernel use-after-access bug
  3. 13:51Illegal instruction failure
  4. 22:53Big-endian stack corruption
  5. 29:11Debugging strategies
  6. 31:00Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.