Adding to the list of recalls affecting large groups of cars, trucks, and SUVs, BMW (BMW.DE) has issued a recall for 51 different 2018 and 2019 vehicle models for a backup camera safety issue that could increase the risk of a crash.

The recall affects 257,481 vehicles, which include models from BMW, Rolls Royce, and Toyota.

Included in the recall are BMW’s 2018 540d, 2018 to 2020 530i, 530i xDrive, 540i, 540i xDrive, M550i xDrive, M5, 530e, 530e xDrive, X3 sDrive, X3 xDrive, X3 M40i, X3 M, and 2019 to 2020 X4 xDrive, X4 M40i, X4 M, X7 xDrive, X7 M50i, 740Li, 740Li xDrive, 750Li, 750Li xDrive, 8 Series Convertible and Coupe 840i, 840i xDrive, M850i xDrive, X5 sDrive, X5 xDrive, X5 M50i, X6 xDrive, X6 M50i, 330i, 330i xDrive, M340i, M340i xDrive, Z4 sDrive, Z4 M40i, 740Le xDrive, and 745Le xDrive models.

The recall also includes 2018 to2019 BMW 640i xDrive Gran Turismo and Rolls-Royce Phantom, 2019 BMW M850i xDrive Gran Coupe, and Rolls-Royce Cullinan, and 2020 Toyota Supra vehicle models. BMW produces the Supra for Toyota and is the parent company of Rolls Royce.

The issue with the backup camera stems from the display setting, which if adjusted, will prevent a rearview image from appearing on the camera’s interior screen. The backup camera will retain the setting the next time that the vehicle is placed in reverse, violating the Federal Motor Vehicle Safety Standard.

To repair the issue, BMW dealers will update the backup camera software free of charge.

Questions about the recall can be directed to BMW customer service at 1-800-525-7417 or Rolls Royce at 1-877-877-3735. Owners of the Supra can contact Toyota customer service at 1-888-270-9371.

The company said it expects to start notifying vehicle owners beginning on Nov. 19.

Shares of BMW stock were up 0.79 percent as of 3:08 p.m. ET on Wednesday.