Some failures appear only when a system becomes large enough to cross an assumption nobody wrote down.
In a Talos cluster, the nftables chain controller repeatedly failed to flush a large ruleset with ENOBUFS. The error was not a one-off network hiccup. The failure recurred at scale, while the exact netlink behavior needed maintainer analysis.
The public report describes the scale condition, the observed recurrence and a path to reproduce it without relying on private network topology. The useful part is the boundary: a controller that works for small rulesets can fail deterministically when the ruleset grows. The merged fix, rather than the original theory, establishes how upstream chose to handle the netlink exchange.
The upstream outcome is concrete. Talos maintainers merged PR #14010 on 10 August 2026. It sizes the nftables netlink send and receive buffers, reuses a connection across reconciles and adds a large-ruleset test. The fix was backported in PR #14060 and appears in the Talos v1.13.9 release. The maintainer also corrected part of the original root-cause theory, so the report's observed failure threshold and the merged fix should be described separately.
The cluster currently reports Talos v1.14.4, a version newer than the fixed v1.13.9 line. That version readback is evidence of adoption, but I have not yet repeated the original large-ruleset reproduction or checked the controller logs across every node after the upgrade. I therefore call the upstream issue fixed and released, while keeping local behavioral verification open.
What changed in the diagnosis
Original report
With a large ruleset, the controller repeatedly returned ENOBUFS during a flush. The report suspected a full receive buffer and how acknowledgments were drained. The firewall rules remained in place.
Upstream diagnosis
Replacing the firewall is one atomic transaction. The controller needs enough room to send the full batch and receive its acknowledgments.
The fix sizes both buffers and reuses a connection for the controller run.
Released upstream. The v1.13 backport shipped in Talos v1.13.9. Local verification still requires checking that reconciliation completes with a large ruleset on the running cluster.
Public sources
- Talos #14001github.com
- Talos fix PR #14010github.com
- Talos backport PR #14060github.com
- Talos v1.13.9 releasegithub.com
