The business risk of a failed Over the Air (OTA) update is that one bad release can disable many devices at once, turning a software problem into field visits, replacements, customer downtime and possibly a recall. The size of that risk depends less on how often updates fail and more on whether a failed device can recover by itself. Design controls decided early in the product decide which of these outcomes you face.
For a Chief Technology Officer (CTO) or product owner, OTA is both a safety net and a single point of failure. It lets you fix bugs and security vulnerabilities without touching devices, and regulations such as the EU Cyber Resilience Act increasingly expect manufacturers to deliver security updates over the support period. The same channel, if poorly designed, can push a broken image to an entire fleet within hours.
How do OTA updates fail in the field?
Most field failures fall into a small number of patterns:
- Power loss or reset while the new image is being written, leaving no valid image if the device has a single slot.
- A corrupted or truncated download that is installed without full integrity verification.
- An image built for the wrong hardware revision, memory map or region, sent because the fleet inventory was incomplete.
- Firmware that boots but fails later, for example a broken network stack that prevents the next update from arriving.
- A configuration or data migration that cannot be undone, so rolling back the code leaves incompatible stored data.
- A compromised or leaked signing key that lets an attacker distribute malicious firmware.
- A bootloader update that fails, which is the most severe case because the bootloader is the recovery mechanism.
What drives the cost of a bricked fleet?
The recovery path of a failed device sets its cost, so classify every failure mode by how the device gets back to a working state.
| Recovery path | What happens | Main cost drivers | Design control that enables it |
|---|---|---|---|
| Automatic rollback | Device boots the previous image after a failed self test | Engineering time to fix and re release | A/B image slots with boot confirmation and watchdog |
| Remote recovery | Support team triggers a reinstall or recovery image | Support hours, customer coordination | Recovery partition and an update agent that survives application faults |
| Customer assisted recovery | User or site staff follows a recovery procedure | Support calls, documentation, customer goodwill | Hardware recovery mode such as a button held at power on |
| Field service visit | Technician reflashes the device on site | Travel, technician hours, customer downtime | Accessible programming interface and service tooling |
| Replacement or return | Device is swapped and returned for repair | Units, logistics, refurbishment, possible recall reporting | None; this is the outcome controls try to avoid |
How do you estimate OTA failure exposure?
A useful planning formula is: exposure per release = devices updated before you can stop the rollout, multiplied by the probability a device fails, multiplied by the cost of its recovery path. You control the first factor with staged rollout, the second with testing and the third with recovery design. Estimate the cost of each recovery path from your own service rates, travel distances and unit costs.
The following numbers are hypothetical and for illustration only. Take a fleet of 20,000 devices and a defect that makes 1 in 200 devices fail to boot. Pushed to the whole fleet at once, 100 devices fail. Without rollback, each needs a site visit at an assumed 150 USD, so the release costs 15,000 USD plus customer downtime. With A/B rollback, most of those devices recover by themselves. With a first wave of 1 percent, or 200 devices, the defect would likely appear on about 1 device, the rollout halts and the remaining 19,800 devices never receive the faulty image. An expected count of about 1 is not a guarantee: by the Poisson approximation there is roughly a 37 percent chance that the first wave shows no failure at all. Size each wave from the defect rate you need to catch, for example a 2 percent wave of 400 devices expects about 2 failures and leaves roughly a 14 percent chance of seeing none, and keep later waves small enough that a missed defect stays affordable.
Which design controls reduce the risk?
These controls work together; each one covers a different failure pattern:
- Signed images verified by the bootloader before boot, using asymmetric signatures such as the Elliptic Curve Digital Signature Algorithm (ECDSA) or Ed25519, so only firmware from your build pipeline runs.
- A secure boot chain anchored in immutable code or hardware, so verification cannot be skipped.
- A/B or dual bank image slots, so the running image is never overwritten during download.
- Boot confirmation with a watchdog: the new image must pass a self test and confirm itself, otherwise the bootloader returns to the previous image.
- Anti rollback version counters, so an attacker cannot install an older signed image with known vulnerabilities, while legitimate recovery to the last good image still works.
- Hardware compatibility metadata in the image manifest, checked on the device before install.
- Staged rollout with defined halt criteria such as failed confirmations or rising reset counts, reported by device telemetry.
- Signing keys held in a Hardware Security Module (HSM) or managed key service, with a documented rotation and revocation plan.
Which costs turn a failed update into a recall?
A failed update becomes a recall when devices cannot be recovered remotely and the failure affects safety, regulatory compliance or a large share of the fleet. At that point the cost is no longer engineering time. It includes logistics for collecting and returning units, replacement stock that may not exist because production has moved to a newer model, refurbishment labour, customer compensation, regulatory notifications in some sectors and the sales time spent rebuilding trust with affected customers. Many of these costs fall outside the engineering budget, which is why the decision to invest in recovery design belongs with product and business leadership, not only with the firmware team.
How should an OTA process be tested before release?
Test the update mechanism itself, not only the new features in each release:
- Step 1: Update real devices from every firmware version still present in the field, not only from the latest release.
- Step 2: Interrupt power and connectivity at each stage: during download, during write, during the first boot and during confirmation.
- Step 3: Install a deliberately broken image on test devices and confirm they roll back without help.
- Step 4: Attempt to install an unsigned image, an image signed with a wrong key and an older vulnerable image, and confirm all are rejected.
- Step 5: Send an image built for another hardware revision and confirm the compatibility check blocks it.
- Step 6: Run the staged rollout tooling against test devices, including the halt decision, before using it on customers.
What should executives ask the engineering team?
Five questions reveal whether a fleet is recoverable:
- What happens if power is lost at any point during an update?
- Can a device that boots but loses connectivity still roll back without help?
- How many devices receive a new release before we can stop it, and who decides?
- Where are the signing keys, who can use them and how would we revoke one?
- When did we last test a rollback on real hardware, not only in simulation?
When this does not apply
Devices with very small flash memory may not fit two full images; they need a compact recovery image, external flash or delta updates, each with its own trade offs. Products in regulated sectors such as medical or automotive add process requirements on top of these controls. And no design removes risk entirely: the goal is that a failed update is an engineering incident, not a field service operation.
Sources and standards
The controls above align with these references:
- IETF RFC 9019 (firmware update architecture from the Software Updates for Internet of Things (SUIT) working group)
- IETF RFC 9124 (SUIT manifest information model)
- NIST SP 800 193 (platform firmware resiliency guidelines)
- ETSI EN 303 645 (cyber security for consumer Internet of Things devices)
- IEC 62443 (security for industrial automation and control systems)
- UNECE Regulation No. 156 (software update management for vehicles)


