[PATCH 5.16 029/164] CDC-NCM: avoid overflow in sanity checking