
There is no exploit packet and no attacker in the chain. A configuration
commit, a link event or a statistics poll is enough. The switch restarts its
own daemon, drops every BGP session, and takes about 23 minutes to come back —
then does it again when the trigger recurs.
The chain
- A routine event arrives. An automation run commits a VLAN change. A
server NIC flaps. A monitoring poll walks the interface counters. Nothing
here is unusual; it is the work the switch was bought to do. switchdissues SDK work. The event becomes one or more calls into the
closed ASIC library, on a worker thread.- An SDK thread stops responding. It blocks, waits, or starves. There is
no error, because a hang is not an error the process can report. - The watchdog's window expires. The heartbeat that proves liveness is not
serviced, because the thread that would service it is behind the same SDK
access. - The watchdog restarts
switchd. Whole process. The recovery action is
larger than the fault by several orders of magnitude. - The ASIC is reinitialised. Ports are reprogrammed, tables are rebuilt,
and forwarding is interrupted while it happens. - Every BGP session drops. Not one peer, not one address family: every
session on the box, because the interfaces and the CPU path to peers went
away with the restart. - The fabric reconverges. Spines and reflectors withdraw the switch's
prefixes, traffic reroutes or is dropped, sessions re-establish, full tables
are exchanged in both directions, and the FIB is reprogrammed. - If the trigger recurs, the loop repeats. Each pass costs another ~23
minutes, and nothing in the chain removes the original trigger.
The amplification: damping
Step 8 has a second-order effect that turns a bad minute into a bad hour.
Route reflectors and BGP peers can run route dampening. When a client
flaps repeatedly, damping assigns it a penalty and suppresses its routes for a
growing period — by design, to protect the fabric from unstable prefixes.
Applied to #5376361, damping does the opposite of its purpose. The switch is
not unstable because its routes are bad; it is unstable because its daemon is
being restarted. Damping holds its prefixes down after the switch has
recovered, so the outage outlasts the restart — and this is the one part of the
chain an operator can switch off locally.
The arithmetic
Twenty-three minutes is 0.228% of a week and 0.053% of a month — small until
multiplied by a fleet:
| Scenario | Switch-minutes lost | What it means |
|---|---|---|
| One switch, one event per week | 23 per week | 0.23% availability loss on that box |
| One switch, one event per month | 276 per year | roughly half a working day, annually |
| One switch looping three times | 69 per event | the outage is now over an hour |
| 200 leaves, one event each per month | 4,600 per month | 76.7 switch-hours, ~2.6 per day |
Events are uncorrelated with traffic, so the average understates bad minutes.
If a maintenance window pushes a template to 200 leaves at once, the triggers
can correlate — and then the fabric is not losing one switch at a time.
Is there an attacker?
Not in the conventional sense. There is no packet that reaches switchd, no
remote code path, and no signature. The corpus scores coverage at C=1 for
exactly this reason: the only defensible control is observability.
But "no attacker" is not "no adversary." The trigger surface is operational
control: a config commit, an automation loop that flaps an interface, a poll
that leaks memory until FRR restarts (#5432451). Anyone with that access
already has control-plane authority; the realistic threat model is a busy
Thursday and a bad template.
What the chain tells you to do
Every step after 3 is a consequence. Intervene before step 1 (change control),
at step 5 (redundancy), at step 9 (remove the trigger) or after step 8 (damping
off).

Next: Part 10 — the way out: watch, drain, damp, roll back, and the
mitigation bundle that ships with this series.

Comments (0)