Configuration Rollback Timer (cfg-save revert) Triggering Premature Reboot
The FortiOS configuration rollback watchdog (cfg-save revert) triggers unexpected system reboots during active remote branch maintenance, discarding valid staging changes and causing branch isolation.
Technical Root Cause Analysis
FortiOS provides the cfg-save revert capability to safeguard against administrative network cutover lockouts: if an engineer applies an erroneous routing or interface change, the system automatically reboots and restores the pre-maintenance configuration snapshot after a configurable timer window (e.g., 600 seconds) expires.
In affected FortiOS versions (7.0, 7.2, 7.4, and early 7.6), the configuration management daemon (fcnfg) tracks the countdown based on monotonic kernel clock ticks initiated from the moment revert mode is engaged, rather than monitoring active administrator session activity. If complex configuration changes—such as BGP multi-homing reconfiguration or multi-member SD-WAN deployment—require more time than estimated, or if an administrator remains actively executing commands inside a sub-configuration block without issuing an explicit confirmation commit, the watchdog timer fires unannounced. The kernel forces an immediate reboot (System is rebooting to revert unconfirmed configuration changes!), tearing down live tunnels, reverting interfaces, and leaving remote branch appliances unreachable.
Affected Firmware & Blast Radius Matrix
| FortiOS Branch | Vulnerable Builds | Confirmed Clean Build | Status & Workaround |
|---|---|---|---|
| FortiOS 7.2 | 7.2.2 – 7.2.6 | 7.2.7+ | Manually disarm timer or issue confirmation commit |
| FortiOS 7.4 | 7.4.0 – 7.4.2 | 7.4.3+ | Active session auto-extend integrated |
| FortiOS 7.0 | 7.0.10 – 7.0.14 | 7.0.15+ | Use configuration revision backup instead |
| FortiOS 7.6 | 7.6.0 | 7.6.1+ | Confirmed clean in 7.6.1 |
Platform Impact: Affects all FortiGate models deployed as remote branch firewalls (FG-40F to FG-200F) undergoing remote network maintenance via SSH or VPN without out-of-band console access.
Step 01: Free Verification CLI (Safe Read-Only)
Run these diagnostic commands to check system reboot history, inspect crashlogs for revert signatures, and audit current configuration save parameters:
Diagnostic Commands
# 1. Check system uptime, firmware version, and reboot reason
get system status
# 2. Inspect kernel crashlog for automatic rollback reboot signatures
diagnose debug crashlog read | grep -i revert
# 3. Verify current configuration save and revert timeout settings
show system global | grep -i "cfg-"
# 4. Check configuration commit error records and pending rollback states
diagnose sys conf-error
Remediation & Workaround Steps (Teaser Preview)
Review the complete safe maintenance protocol and interactive cutover verification inside the Ferrite platform:
Frequently Asked Questions
The watchdog timer in fcnfg fails to reset during active multi-command CLI sessions. When the configured timeout elapses, the kernel triggers an automatic reboot to restore the backup configuration.
Explicitly confirm configuration changes before the timeout expires, or configure a generous timer window (e.g. 1800 seconds) prior to executing large batch scripts.
The defect is resolved in FortiOS 7.2.7, 7.4.3+, and 7.6.1+, featuring automatic timer prolongation for active CLI sessions.