The partitions are just a thing from our perspective, at the logical block level. The physical blocks assigned to a partition, take for example the 10GB partition, change over and over as you keep saving data to it.
The partitions are red herrings in this question, sort of. Due to how SSDs handle memory, the LBA layer is separate from the physical layer and their connection is a dynamic mapping table (FTL).
![enter image description here](https://cdn.statically.io/img/i.sstatic.net/fz3iak96.png)
If the drive would run into a bad block and it decided to reallocate it, it has no effect on any particular partition other than data in the block could be lost (and thus the partition the block is correctly assigned to), but does on the overall drive's health. After all, after eventually the drive 'runs out' of spares, the drive may declare it's unsafe to continue using the drive.
Some notes ..
- An underlying cause for the bad sectors could affect the whole drive and other partitions, for example degrading NAND.
- One LBA block is only a subset of a 'physical block', (LBA block = subset of Page = subset of Erase Block). SSD can write per page, but can only erase per erase block.