Description
PX4 Autopilot through 1.17.0 contains a NULL pointer dereference vulnerability in the sd_stress command where the -b byte count parameter is parsed without validation before being passed to malloc() and memset(). Attackers with shell access, including through MAVLink, can supply invalid byte count values to crash the flight controller.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PX4 | PX4-Autopilot | ≤ 1.17.0 | — |
References
- Pull Request #28795 issue-tracking patch
- Patch Commit patch
- https://github.com/PX4/PX4-Autopilot/blob/d6f12ad1c4f70ad3230afd7d86e971421e02fef4/src/systemcmds/sd_stress/sd_stress.cpp#L186-L204 technical-description
- https://github.com/PX4/PX4-Autopilot product
- VulnCheck Advisory: PX4 Autopilot through 1.17.0 NULL Pointer Dereference via sd_stress third-party-advisory