Use this when a patch causes problems and must be undone.
Rollback
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.
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.
patch issue → rollback → fix → reapply
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Rollback commands Verify boundary
| Platform | Command |
|---|---|
| Windows | wusa /uninstall /kb:5031356 or Settings → Update history |
| Debian/Ubuntu | apt install pkg=<old-version> |
| RHEL | dnf history undo <id> |
| VMware VM | Revert snapshot (delete it after success) |
| Cisco IOS XE | install 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 · 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.
- Plan rollback before deploying.
- Uninstall, snapshot revert or redeploy.
- Some patches cannot be removed.
- Snapshot/backup before patching — rollback point
wusa /uninstall /kb:<n>— Windows rollbackdnf history undo <id>— RHEL rollback
ReferenceWhy it matters1 section · depth on demand
Planning a rollback
| Platform | Rollback method |
|---|---|
| Windows | wusa /uninstall /kb:<number> or remove via Settings (not always possible for cumulative updates) |
| Linux | Package downgrade (dnf history undo, apt install pkg=<version>) or previous kernel at boot |
| VMs | Snapshot taken before the update (delete it afterwards) |
| Network devices | Keep 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.
| Platform | Rollback options |
|---|---|
| Windows | Uninstall update (wusa /uninstall), system restore, VM snapshot |
| Linux | Package downgrade (dnf history undo, apt install pkg=version), snapshots (Btrfs, LVM) |
| Network devices | Boot previous image, install rollback |
| VMs | Snapshot before patching (delete after validation) |
| Containers | Redeploy previous image |
Rolling back reintroduces the vulnerability — treat it as temporary, apply mitigations, and work with the vendor on a fixed update.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%