There may be an internal leakage in the brake fluid expansion tank (aka brake fluid reservoir). In the rare case of a leak, the filling level sensor might malfunction over a relatively long period of time.
NANHTSA · manufacturer bulletin11021109
Service bulletins
Concerns: BMW 3 Series (G20) (Model years 2024) · BMW 4 Series (G22) (Model years 2024) · BMW G80 M3 (Model years 2024) · BMW M4 II (Model years 2024)
Sources: NHTSA (United States, public domain), Transport Canada (Open Government Licence – Canada), DVSA (United Kingdom, Open Government Licence v3.0), RappelConso and EU Safety Gate (France, Licence Ouverte 2.0), Japan's MLIT (Public Data License 1.0) and South Korea's MOLIT (car.go.kr).