App note from Macronix all about NAND flash bad blocks management. Link here (PDF)
Today, NAND flash is used in many fields, such as consumer, industrial, and automotive. Compared with NOR flash, NAND flash has the advantage of availability at higher densities and lower cost per bit. However, NAND flash has the disadvantage of requiring system management of bad blocks, while NOR flash does not. This application note describes how Macronix marks bad blocks in NAND flash and recommends the creation and usage of a bad block table to properly manage bad blocks.