Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Rollback

Direct answer

Rollback undoes a problematic update by uninstalling it, restoring a snapshot or redeploying the previous version. Plan it before deployment, especially for servers and network devices.

When to use this

Use this when a patch causes problems and must be undone.

First 30 seconds

1. Plan rollback before deploying.

2. Snapshots, package history, uninstall.

3. Test rollback for critical systems.

4. Decide rollback criteria.

5. Security fixes should be reapplied quickly after fixing issues.

Operational verification

patch issue → rollback → fix → reapply

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Security assurance and compliance
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSecurity assurance and compliance
Scope / prerequisiteUse this when a patch causes problems and must be undone.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Rollback commands Verify boundary
PlatformCommand
Windowswusa /uninstall /kb:5031356 or Settings → Update history
Debian/Ubuntuapt install pkg=<old-version>
RHELdnf history undo <id>
VMware VMRevert snapshot (delete it after success)
Cisco IOS XEinstall rollback to committed / boot old image

Some updates (firmware, schema changes) cannot be rolled back — plan forward fixes instead.

Step 2 Common mistakes Narrow the fault
  • No tested uninstall path for patches.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Plan rollback before deploying.
  • Uninstall, snapshot revert or redeploy.
  • Some patches cannot be removed.
Key checks
  • Snapshot/backup before patching — rollback point
  • wusa /uninstall /kb:<n> — Windows rollback
  • dnf history undo <id> — RHEL rollback
ReferenceWhy it matters1 section · depth on demand

Planning a rollback

PlatformRollback method
Windowswusa /uninstall /kb:<number> or remove via Settings (not always possible for cumulative updates)
LinuxPackage downgrade (dnf history undo, apt install pkg=<version>) or previous kernel at boot
VMsSnapshot taken before the update (delete it afterwards)
Network devicesKeep the previous image; install rollback on IOS XE

Decide in advance what failure triggers a rollback and who decides.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Patch rollback removes an update that caused problems, returning the system to its previous state. Having a reliable rollback plan makes faster patching safer.

PlatformRollback options
WindowsUninstall update (wusa /uninstall), system restore, VM snapshot
LinuxPackage downgrade (dnf history undo, apt install pkg=version), snapshots (Btrfs, LVM)
Network devicesBoot previous image, install rollback
VMsSnapshot before patching (delete after validation)
ContainersRedeploy previous image

Rolling back reintroduces the vulnerability — treat it as temporary, apply mitigations, and work with the vendor on a fixed update.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSecurity assurance and compliance current

Authoritative/upstream documentation reviewed for bounded claims in Patch Management → Rollback. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/40/r4/final · confidence 94%
Confirmation

Confirm action

Continue?