إرسال #624722: PX4 PX4-Autopilot main and v1.15.4 Race Condition in File Accessالمعلومات

عنوانPX4 PX4-Autopilot main and v1.15.4 Race Condition in File Access
الوصفThe issue stems from unsynchronized access to the _mavlink_shell pointer shared between: MavlinkReceiver::handle_message_serial_control() — which may call get_shell() and close_shell(), and Mavlink::task_main() — which periodically checks _mavlink_shell->available() to send serial output back via MAVLink. When one thread deletes the _mavlink_shell instance via close_shell() (on receiving a SERIAL_CONTROL without the RESPOND flag), the other thread may still dereference the freed pointer during its polling loop. This results in a classic use-after-free triggered under specific timing conditions.
المصدر⚠️ https://github.com/PX4/PX4-Autopilot/pull/25082
المستخدم
 0x20z (UID 81279)
ارسال29/07/2025 11:59 AM (1 سنة منذ)
الاعتدال14/08/2025 08:01 AM (16 days later)
الحالةتمت الموافقة
إدخال VulDB320081 [PX4 PX4-Autopilot حتى 1.15.4 Mavlink Shell Closing mavlink_receiver.cpp handle_message_serial_control _mavlink_shell تلف الذاكرة]
النقاط20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!