[PATCH 5.15 132/168] netrom: check buffer length before accessing it