Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Jane Street Tech Blog 11 min read Incident hardMaster

A Higgs-bugson in the Linux Kernel

Rare EACCES failures during large file copies over Kerberized NFSv3 came from a Linux kernel bug in RPCSEC_GSS reply verification. When an overloaded server caused the client to retransmit a request with the same XID, the kernel assigned a new GSS sequence number, so a late reply HMAC'd over the old sequence number failed checksum validation, which triggered more retransmissions and, after three failures, returned EACCES to userspace. The bug was isolated with an in-memory FUSE filesystem written in Rust, bpftrace probes on auth_rpcgss functions, a custom Wireshark checksum plugin, and an NFQUEUE-based manual packet delayer. Two upstream patches, shipping in Linux 6.16, fix it: one caches prior sequence numbers as RFC 2203 suggests, and one stops retransmitting immediately on a bad checksum.

Related posts

  • How recurring network maintenance exposed 6 bugs

    Jane Street Tech Blog hardMaster

    Recurring weekend network partitions caused Jane Street's Kafka relays and consumer-group monitors to segfault, leak hundreds of thousands of sockets, and crash under recovery-time TCP connection surges, and tracing them uncovered six layered bugs. Among them are an eleven-year-old glibc bug where a failed res_init leaves nscount nonzero with null nameserver pointers so the next gethostbyname segfaults in sock_eq, a UDP socket leak when bind fails with EADDRINUSE under ephemeral-port exhaustion, and a fourteen-year-old Async regression where Tcp.connect_sock's timeout no longer covers DNS resolution. The rest are a Kafka client retry loop that never aborts timed-out attempts, duplicated concurrent discovery lookups, and a job runner migration that cut file-descriptor limits eightfold. Each bug masked the next, and the glibc fix shipped upstream in 2.44.

  • The case of the vanishing CPU: A Linux kernel debugging story

    ClickHouse hardMaster

    Intermittent, indefinite CPU saturation of ClickHouse Cloud pods, seen only on GCP, turned out to be a Linux kernel memory-management livelock. Pods sat just under their cgroup memory limit while every CPU spun in shrink_lruvec during memcg reclaim triggered by page-cache readahead on page faults. The investigation used gdb backtraces, bpftrace syscall latency histograms, perf top/stat, pidstat and an on-call runbook to reach a reproducible test case and a kernel fix, after which another kernel bug surfaced. One lesson along the way: signal-based user-space stack traces hide kernel time entirely, so gdb backtraces pointed the team at the wrong code.

  • Another vulnerability in the LPC55S69 ROM

    Oxide hardMaster

    The LPC55S69 boot ROM's In-System Programming (ISP) parser for SB2 signed updates has a buffer overflow (CVE-2022-22819). It copies header blocks into a global buffer up to an unchecked m_keyBlobBlock count before verifying the signature, so a crafted unsigned update can gain non-persistent code execution. An attacker can use this to re-enable SWD, bypass lockdown restrictions, modify flash and extract the DICE Unique Device Secret. Because the bug is in ROM, the only mitigations are disabling every path into ISP mode and flash recovery, or verifying the update signature via a separate ROM API before calling the SB2 update API. Oxide argues the case shows NXP should publish ROM source for customer review.

  • From 732 bytes to nowhere: shutting down Copy Fail in production

    Together AI mediumAdept

    Copy Fail (CVE-2026-31431) is a logic bug in the Linux kernel's algif_aead AF_ALG interface. It gives an unprivileged local user a 4-byte write into the page cache of any readable file. That is enough to patch setuid binaries in memory and gain root without changing the file on disk, so integrity checks miss it. Together AI mitigated it fleet-wide within hours, without reboots, by unloading the module and moving the .ko file out of the module path so it could not reload. They enforced this as an idempotent config-management health check and planned staged, soak-tested kernel rollouts by region. They will keep the module disabled after patching and are adding telemetry for unexpected AF_ALG use and anomalous privileged-binary behavior.

  • Our Response To The eMudhra Key Disclosure Incident

    The Go Blog easyNovice

    Weak private keys on eight eMudhra-issued intermediate certificates made them recoverable in microseconds, letting attackers mint trusted TLS certificates for any domain. Because Go's own verifier on Linux has no revocation mechanism, the Go Security team shipped Go 1.27.3 and 1.26.10, its first URGENT-track security release, within about 7.5 hours of notification. The patch blocks certificates chaining to the compromised intermediates. Release tooling problems stretched the release itself to about 4.25 hours, so the team has streamlined the process, will pre-announce URGENT releases, and plans Linux revocation support, possibly via upki. Users should rebuild TLS-using binaries with the patched versions and can check exposure with go version -m or govulncheck.

The quest for software engineering knowledge.

Look:
Layout: