[PATCH 6.12 461/590] xfrm: state: fix out-of-bounds read during lookup