Too Afraid to Drive: Systematic Discovery of Semantic DoS Vulnerability in Autonomous Driving Planning under Physical-World Attacks

Ziwen Wan, Junjie Shen, Jalen Chuang, Xin Xia, Joshua Garcia, Jiaqi Ma, Qi Alfred Chen

Autonomous Driving (AD) systems are built on a foundation of safety-first principles. While prioritizing safety is essential for public trust and physical well-being, this inherent conservativeness can be weaponized. This paper, presented at NDSS 2022, introduces the concept of "Semantic Denial-of-Service" (DoS)—a vulnerability where an AD vehicle is manipulated into a permanent stop or dangerous braking by exploiting its own safety logic.

The Shift to Behavioral Planning Vulnerabilities

Traditional security research in AD has largely focused on "perception attacks," such as tricking sensors into misidentifying objects. However, this research shifts the focus downstream to the Behavioral Planning (BP) layer. In a Semantic DoS attack, the vehicle's software does not crash, nor do its sensors fail. Instead, the car's internal logic concludes that the environment is too risky to proceed, even when a human driver would see no danger.

Illustration of Semantic DoS: (A) Normal operation. (B) Narrowed drivable space due to obstacles. (C) A permanent stop triggered by benign objects like cardboard boxes.

As shown in Figure 2, by placing seemingly benign objects like cardboard boxes at specific lateral distances, an attacker can reduce the "drivable space" below the vehicle's required safety threshold. If the remaining width is less than the car's width plus its pre-defined safety buffers, the planner concludes the path is blocked, leading to a "permanent stop."

PlanFuzz: A Systematic Testing Framework

To discover these vulnerabilities, the researchers developed PlanFuzz, an evolutionary testing framework tailored for AD planning logic. Unlike traditional fuzzers that modify code bits, PlanFuzz generates realistic physical-world scenarios.

The PlanFuzz framework architecture, featuring offline analysis, an online testing phase with Planning Invariants, and an evolutionary testing loop.

The framework relies on three core innovations:

  1. Planning Invariants (PIs): These act as testing oracles. For instance, a PI might state that a car should not stop if an obstacle is entirely off-road. If the car stops, a vulnerability is flagged.
  2. PI-Aware Input Generation: PlanFuzz generates "seeds"—placements of pedestrians, vehicles, or boxes—that adhere to traffic norms to ensure the attack remains stealthy and realistic.
  3. Behavioral Planning Vulnerability Distance: This metric guides the fuzzer by monitoring internal code variables, such as calculated buffer widths. It measures how close the planner is to a "scared" state, allowing the fuzzer to iteratively refine object placement to trigger a stop.

Key Findings and Real-World Impact

The researchers evaluated PlanFuzz using high-fidelity simulator traces from LGSVL and validated findings with real-vehicle sensor data. The results were significant:

  • Discovery of 9 New Vulnerabilities: PlanFuzz identified nine previously unknown semantic DoS vulnerabilities in industry-standard systems like Baidu Apollo and Autoware.
  • Severe Operational Impact: Eight of these vulnerabilities resulted in a "permanent stop," requiring human intervention to resume driving. One vulnerability triggered an unnecessary emergency stop, posing a rear-end collision risk.
  • Efficiency Gains: PlanFuzz proved to be 3.5x to 7.7x more efficient at finding these flaws compared to random testing.
  • Real-World Validation: The team successfully demonstrated an Autoware "permanent stop" in a physical environment using only a cardboard box and a trash can placed near a driving lane.

The Safety-Security Tradeoff

This research highlights a fundamental tension in AD design: the more conservative and "safe" a planner is, the more susceptible it becomes to DoS attacks. These are not traditional bugs like memory leaks; the code is executing exactly as specified. The vulnerability lies in the parameters of the safety specifications themselves.

While current work focuses on rule-based planners, future research is needed to address learning-based (AI) planners and multi-modal attacks that combine physical objects with sensor spoofing or adverse weather conditions.

Summary updated

BibTeX
@inproceedings{wan2022too,
  author = {Ziwen Wan and Junjie Shen and Jalen Chuang and Xin Xia and Joshua Garcia and Jiaqi Ma and Qi Alfred Chen},
  title = {{Too Afraid to Drive: Systematic Discovery of Semantic DoS Vulnerability in Autonomous Driving Planning under Physical-World Attacks}},
  booktitle = {NDSS},
  year = {2022},
  url = {https://openreview.net/forum?id=tfYwt0R4vz},
}
Figure