Magic Buffers and io_uring Registered Buffers

·Hacker News··

Some Assembly Required Magic Buffers and io_uring Registered Buffers kdb kdb-IPC io_uring Published October 17, 2025 There’s a really cool little mmap gadget that maps the same underlying memory region into two contiguous virtual memory address ranges. When you write past the end of the first mapped region, the remaining bytes end up in the second mapped region (and at the start of the first one). Fabien Giesen calls this a “Magic Ring Buffer”, which is good enough for me. I wondered whether the

Read full article →

Related Articles

Backdoor in Claude Code for VS Code extension on the Cursor Marketplace
_chall · Hacker News · 1d ago
We're releasing the weights of Mistral Large 4
kuberwastaken · Hacker News · 1d ago
Backdoors in official Claude Code extensions
dsr_ · Hacker News · 1d ago
Show HN: A working Nintendo in ~1GB of Qwen weights
dbreunig · Hacker News · 19h ago
Google Search is now less than half of Alphabet’s revenue
hubraumhugo · Hacker News · 1d ago