The 2018 BMW M5 has 3 recalls, the most serious being a software fault in the engine control unit that can cut power to the fuel pump and stall the vehicle without warning.
The second recall involves the fuel level sensor inside the fuel tank, which can get physically stuck against an in-tank fuel line and cause the fuel gauge to read higher than the actual fuel level. A driver relying on that reading may unknowingly run the tank dry, stalling the car in traffic. On the visibility side, the backup camera can fail to display an image when reversing, leaving the driver without a rear view and raising the risk of a collision or striking a pedestrian behind the vehicle.