pve-kernel/patches/kernel
Christian Ebner e64f4bfb14 fix #5683: netfs: reset subreq iov iter before tail clean
Fixes rare read corruption issues using the in kernel ceph client.

On incomplete read requests, the clean tail flag should make sure to
zero fill the remaining bytes for the subrequest.
If the iov iterator is not at the correct position, e.g., because the
subreq->transferred was not yet updated, this can however zero fill
downloaded data, corrupting the read content.

Link to issue:
https://bugzilla.proxmox.com/show_bug.cgi?id=5683

Link to upstream issue:
https://bugzilla.kernel.org/show_bug.cgi?id=219237

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
 [ TL: mention an specific example for subreq misalignment ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-10-23 13:08:26 +02:00
..
0001-Make-mkcompile_h-accept-an-alternate-timestamp-strin.patch update kernel and patches for Ubuntu-6.5.0-20.20 2024-02-14 11:08:30 +01:00
0002-wireless-Add-Debian-wireless-regdb-certificates.patch wireless: Add Debian wireless-regdb certificates 2023-02-10 12:48:20 +01:00
0003-bridge-keep-MAC-of-first-assigned-port.patch wireless: Add Debian wireless-regdb certificates 2023-02-10 12:48:20 +01:00
0004-pci-Enable-overrides-for-missing-ACS-capabilities-4..patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0005-kvm-disable-default-dynamic-halt-polling-growth.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0006-net-core-downgrade-unregister_netdevice-refcount-lea.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0007-Revert-fortify-Do-not-cast-to-unsigned-char.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0008-kvm-xsave-set-mask-out-PKRU-bit-in-xfeatures-if-vCPU.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0009-allow-opt-in-to-allow-pass-through-on-broken-hardwar.patch rebase patches on top of Ubuntu-6.8.0-38.38 2024-06-10 11:10:14 +02:00
0010-KVM-nSVM-Advertise-support-for-flush-by-ASID.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0011-revert-memfd-improve-userspace-warnings-for-missing-.patch update submodule and patches for 24.04 Noble based kernel 2024-04-02 18:14:21 +02:00
0012-apparmor-expect-msg_namelen-0-for-recvmsg-calls.patch update sources and patches to Ubuntu-6.8.0-32.32 2024-05-02 13:51:01 +02:00
0013-x86-CPU-AMD-Improve-the-erratum-1386-workaround.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0014-cifs-fix-pagecache-leak-when-do-writepages.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0015-drm-amdgpu-pm-Don-t-use-OD-table-on-Arcturus.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0016-SUNRPC-Fix-backchannel-reply-again.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0017-tap-add-missing-verification-for-short-frame.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0018-tun-add-missing-verification-for-short-frame.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0019-apparmor-fix-possible-NULL-pointer-dereference.patch rebase patches on top of Ubuntu-6.8.0-43.43 2024-08-05 18:16:10 +02:00
0020-PCI-pciehp-Retain-Power-Indicator-bits-for-userspace.patch cherry-pick "PCI: pciehp: Retain Power Indicator bits for userspace indicators" 2024-09-05 09:27:11 +02:00
0021-io_uring-rw-treat-EOPNOTSUPP-for-IOCB_NOWAIT-like-EA.patch fix #5430: cherry-pick fix for ocfs2 io_uring rw issues 2024-10-22 16:02:24 +02:00
0021-netfs-reset-subreq-iov-iter-before-tail-clean.patch fix #5683: netfs: reset subreq iov iter before tail clean 2024-10-23 13:08:26 +02:00