[PATCH 5.15 112/279] atm: Fix NULL pointer dereference