---
title: "A Higgs-bugson in the Linux Kernel"
description: "Rare EACCES failures during large file copies over Kerberized NFSv3 came from a Linux kernel bug in RPCSEC_GSS reply verification."
url: "https://swe.quest/articles/a-higgs-bugson-in-the-linux-kernel-ee1594bf1b749860"
canonical: "https://blog.janestreet.com/a-higgs-bugson-in-the-linux-kernel/"
source: "Jane Street Tech Blog"
published: "2025-07-02"
difficulty: "hard"
kind: "Incident"
reading_minutes: 11
tags: ["debugging","linux","storage-systems","identity-auth","networking"]
---

# A Higgs-bugson in the Linux Kernel

A post on [Jane Street Tech Blog](https://swe.quest/sources/jane-street.md), published 2025-07-02, 11 min read, Incident. Original: [https://blog.janestreet.com/a-higgs-bugson-in-the-linux-kernel/](https://blog.janestreet.com/a-higgs-bugson-in-the-linux-kernel/)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Debugging](https://swe.quest/tags/debugging.md) (Engineering practices)
- [Linux](https://swe.quest/tags/linux.md) (Infrastructure)
- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Networking](https://swe.quest/tags/networking.md) (Infrastructure)

## Prerequisites

- NFS basics
- Kerberos authentication ([easy posts on Identity & auth](https://swe.quest/tags/identity-auth.md?difficulty=easy))
- Linux kernel tracing ([easy posts on Linux](https://swe.quest/tags/linux.md?difficulty=easy))
- HMAC

## Keywords

NFS, Kerberos, RPCSEC\_GSS, rpc\_gssd, bpftrace, eBPF, Wireshark, NFQUEUE

## Related posts

- [How recurring network maintenance exposed 6 bugs](https://swe.quest/articles/how-recurring-network-maintenance-exposed-6-bugs-e0c55b4aaea1ee8f.md): Jane Street Tech Blog · 2026-10-02 · Hard · 20 min read · Debugging, DNS, Resilience, Functional programming, Linux
  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.
- [The case of the vanishing CPU: A Linux kernel debugging story](https://swe.quest/articles/the-case-of-the-vanishing-cpu-a-linux-kernel-debugging-story-3db1aa1b81ec8319.md): ClickHouse · 2025-03-05 · Hard · 32 min read · Linux, Memory management, Debugging, Performance engineering, Incidents & postmortems
  Intermittent, indefinite CPU saturation of ClickHouse Cloud pods, seen only on GCP, turned out to be a Linux kernel memory-management livelock.
- [Another vulnerability in the LPC55S69 ROM](https://swe.quest/articles/another-vulnerability-in-the-lpc55s69-rom-ca1b0ad8ae65f135.md): Oxide · 2022-03-23 · Hard · 5 min read · Vulnerability research, Hardware, Memory safety, Security
  The LPC55S69 boot ROM's In-System Programming (ISP) parser for SB2 signed updates has a buffer overflow (CVE-2022-22819).
- [From 732 bytes to nowhere: shutting down Copy Fail in production](https://swe.quest/articles/from-732-bytes-to-nowhere-shutting-down-copy-fail-in-production-8dac32664e09abe4.md): Together AI · 2026-04-30 · Medium · 4 min read · Vulnerability research, Linux, Multi-tenancy, Incidents & postmortems, Security
  Copy Fail (CVE-2026-31431) is a logic bug in the Linux kernel's algif\_aead AF\_ALG interface.
- [RocksDB development finds a CPU bug](https://swe.quest/articles/rocksdb-development-finds-a-cpu-bug-3928169c558d3987.md): RocksDB Blog · 2026-02-17 · Medium · 4 min read · Hardware, Testing, Debugging, Storage engines, C & C++
  A RocksDB unit test that generated thousands of SST file unique IDs across many threads exposed a hardware bug: the RDSEED instruction on a newer AMD CPU sometimes returned 0 while reporting success, but only on some cores and only under memory load.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
