Description
PX4 Autopilot through 1.17.0 contains a use-after-free vulnerability in the load_mon module's stop path where exit_and_cleanup() deletes the LoadMon object and frees the performance counter before perf_end() attempts to access it. Attackers can trigger this vulnerability by issuing the load_mon stop command from any PXH or MAVLink shell, causing reads and writes through freed memory that corrupt heap objects and destabilize the flight stack.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PX4 | PX4-Autopilot | ≤ 1.17.0 | — |
References
- Fix Pull Request patch issue-tracking
- Patch Commit patch
- https://github.com/PX4/PX4-Autopilot product
- LoadMon::Run() calls perf_end(_cycle_perf) after exit_and_cleanup(), v1.17.0 technical-description
- VulnCheck Advisory: PX4 Autopilot through 1.17.0 Use-After-Free in load_mon third-party-advisory