﻿# Loki disables implicit Multipath TCP listeners by default

Loki’s build default disables implicit MPTCP, but runtime overrides and explicit listener settings must be checked, and host kernel remediation remains separate.

Author: Retrivium team
Updated: 2026-11-15
Canonical URL: https://retrivium.ai/journal/week46-ops-loki-multipath-tcp-listener-default/
Language: en

Loki 3.7.10 changes the default inherited from the Go runtime so ordinary listeners do not implicitly use Multipath TCP. PR 26093 sets multipathtcp=0 at build time and describes an explicit runtime opt-in. The operational value is predictable listener behavior and reduced reliance on an unexpected transport default. This per-program setting is a mitigation boundary, not a substitute for updating a vulnerable host kernel or evidence that all listeners everywhere are covered.

## A runtime default can change application exposure

The PR explains that the Go runtime default caused Linux listeners to open as MPTCP even though Loki did not depend on it. The change restores plain TCP behavior for listeners that do not explicitly choose otherwise. A qualification record should include the Go build metadata and actual socket behavior of the shipped binary. Source inspection alone cannot establish that a downstream image was rebuilt with the release’s new default or is running that binary.

## Environment can override the build choice

PR 26093 documents GODEBUG=multipathtcp=2 as an opt-in. An inherited environment value can therefore undo the expected default. A proposed deployment check inspects effective process environment and tests the listener after startup, while avoiding disclosure of unrelated secrets. The setting applies where code has not explicitly called SetMultipathTCP. Operational reporting should not generalize the build default into a guarantee about every possible custom listener path or wrapper configuration.

## Transport mitigation and kernel repair differ

The upstream PR explicitly describes per-program disabling as a fragile mitigation and says the underlying kernel issue is not specific to MPTCP. The defensible conclusion is reduced exposure through these implicit listeners, not complete host remediation. Kernel patch status needs its own authoritative vendor evidence. Avoid copying exploit claims into an operational acceptance result merely because the application now defaults to plain TCP; the scope of the two changes is different.

## Check service continuity independently

Ordinary clients may have worked before because MPTCP listeners accept fallback TCP, so a successful HTTP request alone does not identify the transport default. Qualification should verify both the intended socket type and normal service connectivity. The release does not provide latency or throughput measurements for this change. Its practical contract is explicit transport selection with an opt-in escape hatch, while compatibility of any deliberate MPTCP deployment remains a separate decision for that environment.

## Sources

- [grafana/loki v3.7.10 release notes](https://github.com/grafana/loki/releases/tag/v3.7.10)
- [fix: Disable Multipath TCP on listeners by default by soymgomez](https://github.com/grafana/loki/pull/26093)

## Related reading

- [Spread packet reception across the intended CPU queues](/journal/guide-net-rss-queues/)
- [TCP_NOTSENT_LOWAT bounds unsent queueing, not peer progress](/journal/tcp-notsent-lowat-write-readiness/)
