kernel: Update kernel 4.14 to version 4.14.187
Fixes: - CVE-2020-10757 The "mtd: rawnand: Pass a nand_chip object to nand_release()" commit was backported which needed some adaptations to other code. Build tested: ramips Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
@@ -3590,7 +3590,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
||||
+
|
||||
+out:
|
||||
+ MSG(INIT, "[NFI] mtk_nand_probe fail, err = %d!\n", err);
|
||||
+ nand_release(mtd);
|
||||
+ nand_release(nand_chip);
|
||||
+ platform_set_drvdata(pdev, NULL);
|
||||
+ kfree(host);
|
||||
+ nand_disable_clock();
|
||||
@@ -3604,7 +3604,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
|
||||
+ struct mtd_info *mtd = host->mtd;
|
||||
+ struct nand_chip *nand_chip = &host->nand_chip;
|
||||
+
|
||||
+ nand_release(mtd);
|
||||
+ nand_release(nand_chip);
|
||||
+ kfree(host);
|
||||
+ nand_disable_clock();
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user