What's the maximum size of a USB descriptor?
For the configuration descriptor the wTotalLength field is 2 byte, that would indicate a 64 KB maximum. But you cannot have more than 32 endpoints in a single USB device - there are only four bits for the ep number for each direction (in/out).