the bms must be designed to handle the entire full voltage of *both packs* in total, because when one bms shuts off, the fets in it will then have the full voltage of both packs across them.
if the fets aren't capable of that full voltage, then they'll fail or be damaged, and then the bms either has no output, or more commonly the fets fail shorted, so the bms cannot turn the output off anymore, and the cells are now unprotected against overdischarge. in that event, you probably won't know until the cells are damaged enough to show symptoms on their own (and externally visible symptoms are usually very bad.
).
so your best bet is to rebuild the battery so it is a single 21s battery with a 21s bms.
your next best bet is to stick diodes in parallel with the packs so they'll bypass the voltage across a pack when a bms tries to open up the circuit, so the bms doens't get slapped with voltage it's not meant for. there are a number of threads about seriesing battery packs that discuss this and talk about the kind of diodes and how to wire them.
not all the threads in these lists are relevant, but the titles should indicate which are what you're after
https://endless-sphere.com/forums/search.php?keywords=batter*+series*&terms=all&author=&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search
https://endless-sphere.com/forums/search.php?keywords=pack*+series*&terms=all&author=&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search