Description of problem: meson_nand.c文件中的meson_nfc_nand_chip_cleanup函数中调用了如下2个函数: meson_nfc_free_buffer(&meson_chip->nand); nand_cleanup(&meson_chip->nand); 其中nand_cleanup的函数调用链如下: nand_cleanup --->>> nand_detach --->>> meson_nand_detach_chip --->>> meson_nfc_free_buffer 此调用链中的函数调用与meson_nfc_nand_chip_cleanup函数中的meson_nfc_free_buffer重复,会造成double free 问题。 upstream b0e82f95fded729dc63336819cd0ba43d250612f 已经解决了此问题
merged: https://gitee.com/anolis/cloud-kernel/pulls/1174