kernel: fix possible mtd NULL pointer dereference
authorRafał Miłecki <rafal@milecki.pl>
Tue, 4 Oct 2022 10:04:37 +0000 (12:04 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 4 Oct 2022 10:06:03 +0000 (12:06 +0200)
commita5265497a4f6da158e95d6a450cb2cb6dc085cab
treef4dbe5b49558e8458c1d01bb91f4a4469ce9f9bc
parent45109f69a64c31aa64db05d5de37cd7f6a1aaaa2
kernel: fix possible mtd NULL pointer dereference

Fixes: 1a9ee367343ed ("kernel: backport mtd dynamic partition patch")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/generic/backport-5.10/415-v6.0-mtd-core-check-partition-before-dereference.patch [new file with mode: 0644]
target/linux/generic/backport-5.15/404-v6.0-mtd-core-check-partition-before-dereference.patch [new file with mode: 0644]
target/linux/generic/hack-5.10/402-mtd-blktrans-call-add-disks-after-mtd-device.patch
target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch
target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch
target/linux/generic/hack-5.15/402-mtd-blktrans-call-add-disks-after-mtd-device.patch
target/linux/generic/hack-5.15/420-mtd-set-rootfs-to-be-root-dev.patch