setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev->size - prev->used.
https://github.com/valkey-io/valkey/pull/2101
https://github.com/redis/redis/blob/994bc96bb1744cb153392fc96bdba43eae56e17f/src/networking.c#L783