--- /dev/null
+udf-fix-crash-on-io-error-during-truncate.patch
--- /dev/null
+From d3ca4651d05c0ff7259d087d8c949bcf3e14fb46 Mon Sep 17 00:00:00 2001
+From: Jan Kara <jack@suse.cz>
+Date: Mon, 11 Mar 2019 15:04:18 +0100
+Subject: udf: Fix crash on IO error during truncate
+
+From: Jan Kara <jack@suse.cz>
+
+commit d3ca4651d05c0ff7259d087d8c949bcf3e14fb46 upstream.
+
+When truncate(2) hits IO error when reading indirect extent block the
+code just bugs with:
+
+kernel BUG at linux-4.15.0/fs/udf/truncate.c:249!
+...
+
+Fix the problem by bailing out cleanly in case of IO error.
+
+CC: stable@vger.kernel.org
+Reported-by: jean-luc malet <jeanluc.malet@gmail.com>
+Signed-off-by: Jan Kara <jack@suse.cz>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ fs/udf/truncate.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/fs/udf/truncate.c
++++ b/fs/udf/truncate.c
+@@ -261,6 +261,9 @@ void udf_truncate_extents(struct inode *
+ epos.block = eloc;
+ epos.bh = udf_tread(sb,
+ udf_get_lb_pblock(sb, &eloc, 0));
++ /* Error reading indirect block? */
++ if (!epos.bh)
++ return;
+ if (elen)
+ indirect_ext_len =
+ (elen + sb->s_blocksize - 1) >>
--- /dev/null
+mmc-pxamci-fix-enum-type-confusion.patch
+drm-vmwgfx-don-t-double-free-the-mode-stored-in-par-set_mode.patch
+iommu-amd-fix-sg-dma_address-for-sg-offset-bigger-than-page_size.patch
+libceph-wait-for-latest-osdmap-in-ceph_monc_blacklist_add.patch
+udf-fix-crash-on-io-error-during-truncate.patch
+mips-loongson64-lemote-2f-add-irqf_no_suspend-to-cascade-irqaction.patch
+mips-ensure-elf-appended-dtb-is-relocated.patch
+mips-fix-kernel-crash-for-r6-in-jump-label-branch-function.patch
--- /dev/null
+alsa-hda-add-lenovo-ideacentre-b550-to-the-power_save_blacklist.patch
+alsa-firewire-motu-use-version-field-of-unit-directory-to-identify-model.patch
+mmc-pxamci-fix-enum-type-confusion.patch
+mmc-mxcmmc-revert-mmc-mxcmmc-handle-highmem-pages.patch
+mmc-renesas_sdhi-limit-block-count-to-16-bit-for-old-revisions.patch
+drm-vmwgfx-don-t-double-free-the-mode-stored-in-par-set_mode.patch
+drm-vmwgfx-return-0-when-gmrid-get_node-runs-out-of-id-s.patch
+iommu-amd-fix-sg-dma_address-for-sg-offset-bigger-than-page_size.patch
+libceph-wait-for-latest-osdmap-in-ceph_monc_blacklist_add.patch
+udf-fix-crash-on-io-error-during-truncate.patch
+mips-loongson64-lemote-2f-add-irqf_no_suspend-to-cascade-irqaction.patch
+mips-ensure-elf-appended-dtb-is-relocated.patch
+mips-fix-kernel-crash-for-r6-in-jump-label-branch-function.patch
+powerpc-vdso64-fix-clock_monotonic-inconsistencies-across-y2038.patch
--- /dev/null
+mmc-pxamci-fix-enum-type-confusion.patch
+drm-vmwgfx-don-t-double-free-the-mode-stored-in-par-set_mode.patch
+udf-fix-crash-on-io-error-during-truncate.patch
+mips-loongson64-lemote-2f-add-irqf_no_suspend-to-cascade-irqaction.patch
+mips-fix-kernel-crash-for-r6-in-jump-label-branch-function.patch
--- /dev/null
+mmc-pxamci-fix-enum-type-confusion.patch
+drm-vmwgfx-don-t-double-free-the-mode-stored-in-par-set_mode.patch
+iommu-amd-fix-sg-dma_address-for-sg-offset-bigger-than-page_size.patch
+libceph-wait-for-latest-osdmap-in-ceph_monc_blacklist_add.patch
+udf-fix-crash-on-io-error-during-truncate.patch
+mips-loongson64-lemote-2f-add-irqf_no_suspend-to-cascade-irqaction.patch
+mips-ensure-elf-appended-dtb-is-relocated.patch
+mips-fix-kernel-crash-for-r6-in-jump-label-branch-function.patch
--- /dev/null
+alsa-hda-add-lenovo-ideacentre-b550-to-the-power_save_blacklist.patch
+alsa-firewire-motu-use-version-field-of-unit-directory-to-identify-model.patch
+mmc-pxamci-fix-enum-type-confusion.patch
+mmc-alcor-fix-dma-reads.patch
+mmc-mxcmmc-revert-mmc-mxcmmc-handle-highmem-pages.patch
+mmc-renesas_sdhi-limit-block-count-to-16-bit-for-old-revisions.patch
+drm-amdgpu-fix-invalid-use-of-change_bit.patch
+drm-vmwgfx-don-t-double-free-the-mode-stored-in-par-set_mode.patch
+drm-vmwgfx-return-0-when-gmrid-get_node-runs-out-of-id-s.patch
+iommu-amd-fix-sg-dma_address-for-sg-offset-bigger-than-page_size.patch
+iommu-iova-fix-tracking-of-recently-failed-iova-address.patch
+libceph-wait-for-latest-osdmap-in-ceph_monc_blacklist_add.patch
+udf-fix-crash-on-io-error-during-truncate.patch
+mips-loongson64-lemote-2f-add-irqf_no_suspend-to-cascade-irqaction.patch
+mips-ensure-elf-appended-dtb-is-relocated.patch
+mips-fix-kernel-crash-for-r6-in-jump-label-branch-function.patch
+powerpc-vdso64-fix-clock_monotonic-inconsistencies-across-y2038.patch
+powerpc-mm-only-define-max_physmem_bits-in-sparsemem-configurations.patch
+powerpc-security-fix-spectre_v2-reporting.patch
+net-mlx5-fix-dct-creation-bad-flow.patch