]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.6-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jul 2024 10:36:37 +0000 (12:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jul 2024 10:36:37 +0000 (12:36 +0200)
added patches:
nilfs2-fix-incorrect-inode-allocation-from-reserved-inodes.patch

140 files changed:
queue-6.6/alsa-hda-realtek-enable-headset-mic-of-jp-ik-leap-w5.patch [moved from temp-6.6/alsa-hda-realtek-enable-headset-mic-of-jp-ik-leap-w5.patch with 100% similarity]
queue-6.6/alsa-ump-set-default-protocol-when-not-given-explici.patch [moved from temp-6.6/alsa-ump-set-default-protocol-when-not-given-explici.patch with 100% similarity]
queue-6.6/arm64-dts-rockchip-fix-the-dcdc_reg2-minimum-voltage-on-quartz64-model-b.patch [moved from temp-6.6/arm64-dts-rockchip-fix-the-dcdc_reg2-minimum-voltage-on-quartz64-model-b.patch with 100% similarity]
queue-6.6/bluetooth-hci-disallow-setting-handle-bigger-than-hc.patch [moved from temp-6.6/bluetooth-hci-disallow-setting-handle-bigger-than-hc.patch with 100% similarity]
queue-6.6/bluetooth-hci_bcm4377-fix-msgid-release.patch [moved from temp-6.6/bluetooth-hci_bcm4377-fix-msgid-release.patch with 100% similarity]
queue-6.6/bluetooth-hci_event-fix-setting-of-unicast-qos-inter.patch [moved from temp-6.6/bluetooth-hci_event-fix-setting-of-unicast-qos-inter.patch with 100% similarity]
queue-6.6/bluetooth-ignore-too-large-handle-values-in-big.patch [moved from temp-6.6/bluetooth-ignore-too-large-handle-values-in-big.patch with 100% similarity]
queue-6.6/bluetooth-iso-check-socket-flag-instead-of-hcon.patch [moved from temp-6.6/bluetooth-iso-check-socket-flag-instead-of-hcon.patch with 100% similarity]
queue-6.6/bluetooth-qca-fix-bt-enable-failure-again-for-qca6390-after-warm-reboot.patch [moved from temp-6.6/bluetooth-qca-fix-bt-enable-failure-again-for-qca6390-after-warm-reboot.patch with 100% similarity]
queue-6.6/bnx2x-fix-multiple-ubsan-array-index-out-of-bounds.patch [moved from temp-6.6/bnx2x-fix-multiple-ubsan-array-index-out-of-bounds.patch with 100% similarity]
queue-6.6/bonding-fix-out-of-bounds-read-in-bond_option_arp_ip.patch [moved from temp-6.6/bonding-fix-out-of-bounds-read-in-bond_option_arp_ip.patch with 100% similarity]
queue-6.6/bpf-avoid-uninitialized-value-in-bpf_core_read_bitfi.patch [moved from temp-6.6/bpf-avoid-uninitialized-value-in-bpf_core_read_bitfi.patch with 100% similarity]
queue-6.6/btrfs-fix-adding-block-group-to-a-reclaim-list-and-the-unused-list-during-reclaim.patch [moved from temp-6.6/btrfs-fix-adding-block-group-to-a-reclaim-list-and-the-unused-list-during-reclaim.patch with 100% similarity]
queue-6.6/btrfs-scrub-initialize-ret-in-scrub_simple_mirror-to.patch [moved from temp-6.6/btrfs-scrub-initialize-ret-in-scrub_simple_mirror-to.patch with 100% similarity]
queue-6.6/can-kvaser_usb-explicitly-initialize-family-in-leafimx-driver_info-struct.patch [moved from temp-6.6/can-kvaser_usb-explicitly-initialize-family-in-leafimx-driver_info-struct.patch with 100% similarity]
queue-6.6/cdrom-rearrange-last_media_change-check-to-avoid-uni.patch [moved from temp-6.6/cdrom-rearrange-last_media_change-check-to-avoid-uni.patch with 100% similarity]
queue-6.6/clk-mediatek-mt8183-only-enable-runtime-pm-on-mt8183.patch [moved from temp-6.6/clk-mediatek-mt8183-only-enable-runtime-pm-on-mt8183.patch with 100% similarity]
queue-6.6/clk-qcom-clk-alpha-pll-set-alpha_en-bit-for-stromer-.patch [moved from temp-6.6/clk-qcom-clk-alpha-pll-set-alpha_en-bit-for-stromer-.patch with 100% similarity]
queue-6.6/clk-qcom-gcc-ipq9574-add-branch_halt_voted-flag.patch [moved from temp-6.6/clk-qcom-gcc-ipq9574-add-branch_halt_voted-flag.patch with 100% similarity]
queue-6.6/clk-qcom-gcc-sm6350-fix-gpll6-gpll7-parents.patch [moved from temp-6.6/clk-qcom-gcc-sm6350-fix-gpll6-gpll7-parents.patch with 100% similarity]
queue-6.6/clk-sunxi-ng-common-don-t-call-hw_to_ccu_common-on-hw-without-common.patch [moved from temp-6.6/clk-sunxi-ng-common-don-t-call-hw_to_ccu_common-on-hw-without-common.patch with 100% similarity]
queue-6.6/connector-fix-invalid-conversion-in-cn_proc.h.patch [moved from temp-6.6/connector-fix-invalid-conversion-in-cn_proc.h.patch with 100% similarity]
queue-6.6/cpu-fix-broken-cmdline-nosmp-and-maxcpus-0.patch [moved from temp-6.6/cpu-fix-broken-cmdline-nosmp-and-maxcpus-0.patch with 100% similarity]
queue-6.6/crypto-aead-cipher-zeroize-key-buffer-after-use.patch [moved from temp-6.6/crypto-aead-cipher-zeroize-key-buffer-after-use.patch with 100% similarity]
queue-6.6/crypto-hisilicon-debugfs-fix-debugfs-uninit-process-.patch [moved from temp-6.6/crypto-hisilicon-debugfs-fix-debugfs-uninit-process-.patch with 100% similarity]
queue-6.6/dma-mapping-benchmark-avoid-needless-copy_to_user-if.patch [moved from temp-6.6/dma-mapping-benchmark-avoid-needless-copy_to_user-if.patch with 100% similarity]
queue-6.6/drm-amd-display-check-index-msg_id-before-read-or-wr.patch [moved from temp-6.6/drm-amd-display-check-index-msg_id-before-read-or-wr.patch with 100% similarity]
queue-6.6/drm-amd-display-check-pipe-offset-before-setting-vbl.patch [moved from temp-6.6/drm-amd-display-check-pipe-offset-before-setting-vbl.patch with 100% similarity]
queue-6.6/drm-amd-display-fix-uninitialized-variables-in-dm.patch [moved from temp-6.6/drm-amd-display-fix-uninitialized-variables-in-dm.patch with 100% similarity]
queue-6.6/drm-amd-display-skip-finding-free-audio-for-unknown-.patch [moved from temp-6.6/drm-amd-display-skip-finding-free-audio-for-unknown-.patch with 100% similarity]
queue-6.6/drm-amdgpu-atomfirmware-silence-ubsan-warning.patch [moved from temp-6.6/drm-amdgpu-atomfirmware-silence-ubsan-warning.patch with 100% similarity]
queue-6.6/drm-amdgpu-fix-the-warning-about-the-expression-int-.patch [moved from temp-6.6/drm-amdgpu-fix-the-warning-about-the-expression-int-.patch with 100% similarity]
queue-6.6/drm-amdgpu-fix-uninitialized-scalar-variable-warning.patch [moved from temp-6.6/drm-amdgpu-fix-uninitialized-scalar-variable-warning.patch with 100% similarity]
queue-6.6/drm-amdgpu-fix-uninitialized-variable-warnings.patch [moved from temp-6.6/drm-amdgpu-fix-uninitialized-variable-warnings.patch with 100% similarity]
queue-6.6/drm-amdgpu-initialize-timestamp-for-some-legacy-socs.patch [moved from temp-6.6/drm-amdgpu-initialize-timestamp-for-some-legacy-socs.patch with 100% similarity]
queue-6.6/drm-amdgpu-silence-ubsan-warning.patch [moved from temp-6.6/drm-amdgpu-silence-ubsan-warning.patch with 100% similarity]
queue-6.6/drm-amdgpu-using-uninitialized-value-size-when-calli.patch [moved from temp-6.6/drm-amdgpu-using-uninitialized-value-size-when-calli.patch with 100% similarity]
queue-6.6/drm-lima-fix-shared-irq-handling-on-driver-remove.patch [moved from temp-6.6/drm-lima-fix-shared-irq-handling-on-driver-remove.patch with 100% similarity]
queue-6.6/drm-nouveau-fix-null-pointer-dereference-in-nouveau_connector_get_modes.patch [moved from temp-6.6/drm-nouveau-fix-null-pointer-dereference-in-nouveau_connector_get_modes.patch with 100% similarity]
queue-6.6/drm-panel-orientation-quirks-add-quirk-for-valve-galileo.patch [moved from temp-6.6/drm-panel-orientation-quirks-add-quirk-for-valve-galileo.patch with 100% similarity]
queue-6.6/e1000e-fix-s0ix-residency-on-corporate-systems.patch [moved from temp-6.6/e1000e-fix-s0ix-residency-on-corporate-systems.patch with 100% similarity]
queue-6.6/f2fs-add-inline-to-f2fs_build_fault_attr-stub.patch [moved from temp-6.6/f2fs-add-inline-to-f2fs_build_fault_attr-stub.patch with 100% similarity]
queue-6.6/f2fs-check-validation-of-fault-attrs-in-f2fs_build_f.patch [moved from temp-6.6/f2fs-check-validation-of-fault-attrs-in-f2fs_build_f.patch with 100% similarity]
queue-6.6/firmware-dmi-stop-decoding-on-broken-entry.patch [moved from temp-6.6/firmware-dmi-stop-decoding-on-broken-entry.patch with 100% similarity]
queue-6.6/fs-ntfs3-mark-volume-as-dirty-if-xattr-is-broken.patch [moved from temp-6.6/fs-ntfs3-mark-volume-as-dirty-if-xattr-is-broken.patch with 100% similarity]
queue-6.6/fsnotify-do-not-generate-events-for-o_path-file-descriptors.patch [moved from temp-6.6/fsnotify-do-not-generate-events-for-o_path-file-descriptors.patch with 100% similarity]
queue-6.6/gpio-mmio-do-not-calculate-bgpio_bits-via-ngpios.patch [moved from temp-6.6/gpio-mmio-do-not-calculate-bgpio_bits-via-ngpios.patch with 100% similarity]
queue-6.6/gpiolib-of-add-polarity-quirk-for-tsc2005.patch [moved from temp-6.6/gpiolib-of-add-polarity-quirk-for-tsc2005.patch with 100% similarity]
queue-6.6/gpiolib-of-fix-lookup-quirk-for-mips-lantiq.patch [moved from temp-6.6/gpiolib-of-fix-lookup-quirk-for-mips-lantiq.patch with 100% similarity]
queue-6.6/i2c-i801-annotate-apanel_addr-as-__ro_after_init.patch [moved from temp-6.6/i2c-i801-annotate-apanel_addr-as-__ro_after_init.patch with 100% similarity]
queue-6.6/i2c-pnx-fix-potential-deadlock-warning-from-del_time.patch [moved from temp-6.6/i2c-pnx-fix-potential-deadlock-warning-from-del_time.patch with 100% similarity]
queue-6.6/ib-core-implement-a-limit-on-umad-receive-list.patch [moved from temp-6.6/ib-core-implement-a-limit-on-umad-receive-list.patch with 100% similarity]
queue-6.6/igc-fix-a-log-entry-using-uninitialized-netdev.patch [moved from temp-6.6/igc-fix-a-log-entry-using-uninitialized-netdev.patch with 100% similarity]
queue-6.6/ima-avoid-blocking-in-rcu-read-side-critical-section.patch [moved from temp-6.6/ima-avoid-blocking-in-rcu-read-side-critical-section.patch with 100% similarity]
queue-6.6/inet_diag-initialize-pad-field-in-struct-inet_diag_r.patch [moved from temp-6.6/inet_diag-initialize-pad-field-in-struct-inet_diag_r.patch with 100% similarity]
queue-6.6/input-ff-core-prefer-struct_size-over-open-coded-ari.patch [moved from temp-6.6/input-ff-core-prefer-struct_size-over-open-coded-ari.patch with 100% similarity]
queue-6.6/irqchip-gic-v3-its-remove-bug_on-in-its_vpe_irq_doma.patch [moved from temp-6.6/irqchip-gic-v3-its-remove-bug_on-in-its_vpe_irq_doma.patch with 100% similarity]
queue-6.6/jffs2-fix-potential-illegal-address-access-in-jffs2_.patch [moved from temp-6.6/jffs2-fix-potential-illegal-address-access-in-jffs2_.patch with 100% similarity]
queue-6.6/kbuild-fix-short-log-for-as-in-link-vmlinux.sh.patch [moved from temp-6.6/kbuild-fix-short-log-for-as-in-link-vmlinux.sh.patch with 100% similarity]
queue-6.6/kunit-fix-timeout-message.patch [moved from temp-6.6/kunit-fix-timeout-message.patch with 100% similarity]
queue-6.6/kunit-handle-test-faults.patch [moved from temp-6.6/kunit-handle-test-faults.patch with 100% similarity]
queue-6.6/kvm-s390-fix-lpswey-handling.patch [moved from temp-6.6/kvm-s390-fix-lpswey-handling.patch with 100% similarity]
queue-6.6/leds-an30259a-use-devm_mutex_init-for-mutex-initiali.patch [moved from temp-6.6/leds-an30259a-use-devm_mutex_init-for-mutex-initiali.patch with 100% similarity]
queue-6.6/locking-mutex-introduce-devm_mutex_init.patch [moved from temp-6.6/locking-mutex-introduce-devm_mutex_init.patch with 100% similarity]
queue-6.6/mac802154-fix-time-calculation-in-ieee802154_configu.patch [moved from temp-6.6/mac802154-fix-time-calculation-in-ieee802154_configu.patch with 100% similarity]
queue-6.6/media-dvb-as102-fe-fix-as10x_register_addr-packing.patch [moved from temp-6.6/media-dvb-as102-fe-fix-as10x_register_addr-packing.patch with 100% similarity]
queue-6.6/media-dvb-frontends-tda10048-fix-integer-overflow.patch [moved from temp-6.6/media-dvb-frontends-tda10048-fix-integer-overflow.patch with 100% similarity]
queue-6.6/media-dvb-frontends-tda18271c2dd-remove-casting-duri.patch [moved from temp-6.6/media-dvb-frontends-tda18271c2dd-remove-casting-duri.patch with 100% similarity]
queue-6.6/media-dvb-usb-dib0700_devices-add-missing-release_fi.patch [moved from temp-6.6/media-dvb-usb-dib0700_devices-add-missing-release_fi.patch with 100% similarity]
queue-6.6/media-dw2102-don-t-translate-i2c-read-into-write.patch [moved from temp-6.6/media-dw2102-don-t-translate-i2c-read-into-write.patch with 100% similarity]
queue-6.6/media-dw2102-fix-a-potential-buffer-overflow.patch [moved from temp-6.6/media-dw2102-fix-a-potential-buffer-overflow.patch with 100% similarity]
queue-6.6/media-mediatek-vcodec-only-free-buffer-va-that-is-no.patch [moved from temp-6.6/media-mediatek-vcodec-only-free-buffer-va-that-is-no.patch with 100% similarity]
queue-6.6/media-s2255-use-refcount_t-instead-of-atomic_t-for-n.patch [moved from temp-6.6/media-s2255-use-refcount_t-instead-of-atomic_t-for-n.patch with 100% similarity]
queue-6.6/mlxsw-core_linecards-fix-double-memory-deallocation-.patch [moved from temp-6.6/mlxsw-core_linecards-fix-double-memory-deallocation-.patch with 100% similarity]
queue-6.6/mm-avoid-overflows-in-dirty-throttling-logic.patch [moved from temp-6.6/mm-avoid-overflows-in-dirty-throttling-logic.patch with 100% similarity]
queue-6.6/mm-optimize-the-redundant-loop-of-mm_update_owner_next.patch [moved from temp-6.6/mm-optimize-the-redundant-loop-of-mm_update_owner_next.patch with 100% similarity]
queue-6.6/mtd-rawnand-bypass-a-couple-of-sanity-checks-during-nand-identification.patch [moved from temp-6.6/mtd-rawnand-bypass-a-couple-of-sanity-checks-during-nand-identification.patch with 100% similarity]
queue-6.6/mtd-rawnand-ensure-ecc-configuration-is-propagated-to-upper-layers.patch [moved from temp-6.6/mtd-rawnand-ensure-ecc-configuration-is-propagated-to-upper-layers.patch with 100% similarity]
queue-6.6/mtd-rawnand-fix-the-nand_read_data_op-early-check.patch [moved from temp-6.6/mtd-rawnand-fix-the-nand_read_data_op-early-check.patch with 100% similarity]
queue-6.6/mtd-rawnand-rockchip-ensure-nvddr-timings-are-rejected.patch [moved from temp-6.6/mtd-rawnand-rockchip-ensure-nvddr-timings-are-rejected.patch with 100% similarity]
queue-6.6/net-allow-skb_datagram_iter-to-be-called-from-any-co.patch [moved from temp-6.6/net-allow-skb_datagram_iter-to-be-called-from-any-co.patch with 100% similarity]
queue-6.6/net-dsa-mv88e6xxx-correct-check-for-empty-list.patch [moved from temp-6.6/net-dsa-mv88e6xxx-correct-check-for-empty-list.patch with 100% similarity]
queue-6.6/net-mlx5-e-switch-create-ingress-acl-when-needed.patch [moved from temp-6.6/net-mlx5-e-switch-create-ingress-acl-when-needed.patch with 100% similarity]
queue-6.6/net-mlx5e-add-mqprio_rl-cleanup-and-free-in-mlx5e_pr.patch [moved from temp-6.6/net-mlx5e-add-mqprio_rl-cleanup-and-free-in-mlx5e_pr.patch with 100% similarity]
queue-6.6/net-ntb_netdev-move-ntb_netdev_rx_handler-to-call-ne.patch [moved from temp-6.6/net-ntb_netdev-move-ntb_netdev_rx_handler-to-call-ne.patch with 100% similarity]
queue-6.6/net-phy-phy_device-fix-phy-led-blinking-code-comment.patch [moved from temp-6.6/net-phy-phy_device-fix-phy-led-blinking-code-comment.patch with 100% similarity]
queue-6.6/net-stmmac-dwmac-qcom-ethqos-fix-error-array-size.patch [moved from temp-6.6/net-stmmac-dwmac-qcom-ethqos-fix-error-array-size.patch with 100% similarity]
queue-6.6/net-txgbe-initialize-num_q_vectors-for-msi-intx-inte.patch [moved from temp-6.6/net-txgbe-initialize-num_q_vectors-for-msi-intx-inte.patch with 100% similarity]
queue-6.6/netfilter-nf_tables-unconditionally-flush-pending-wo.patch [moved from temp-6.6/netfilter-nf_tables-unconditionally-flush-pending-wo.patch with 100% similarity]
queue-6.6/nfc-nci-add-the-inconsistency-check-between-the-inpu.patch [moved from temp-6.6/nfc-nci-add-the-inconsistency-check-between-the-inpu.patch with 100% similarity]
queue-6.6/nilfs2-add-missing-check-for-inode-numbers-on-directory-entries.patch [moved from temp-6.6/nilfs2-add-missing-check-for-inode-numbers-on-directory-entries.patch with 100% similarity]
queue-6.6/nilfs2-fix-incorrect-inode-allocation-from-reserved-inodes.patch [new file with mode: 0644]
queue-6.6/nilfs2-fix-inode-number-range-checks.patch [moved from temp-6.6/nilfs2-fix-inode-number-range-checks.patch with 100% similarity]
queue-6.6/null_blk-do-not-allow-runt-zone-with-zone-capacity-s.patch [moved from temp-6.6/null_blk-do-not-allow-runt-zone-with-zone-capacity-s.patch with 100% similarity]
queue-6.6/nvme-adjust-multiples-of-nvme_ctrl_page_size-in-offs.patch [moved from temp-6.6/nvme-adjust-multiples-of-nvme_ctrl_page_size-in-offs.patch with 100% similarity]
queue-6.6/nvme-multipath-find-numa-path-only-for-online-numa-n.patch [moved from temp-6.6/nvme-multipath-find-numa-path-only-for-online-numa-n.patch with 100% similarity]
queue-6.6/nvmet-fix-a-possible-leak-when-destroy-a-ctrl-during.patch [moved from temp-6.6/nvmet-fix-a-possible-leak-when-destroy-a-ctrl-during.patch with 100% similarity]
queue-6.6/orangefs-fix-out-of-bounds-fsid-access.patch [moved from temp-6.6/orangefs-fix-out-of-bounds-fsid-access.patch with 100% similarity]
queue-6.6/platform-x86-toshiba_acpi-fix-quickstart-quirk-handling.patch [moved from temp-6.6/platform-x86-toshiba_acpi-fix-quickstart-quirk-handling.patch with 100% similarity]
queue-6.6/platform-x86-touchscreen_dmi-add-info-for-globalspac.patch [moved from temp-6.6/platform-x86-touchscreen_dmi-add-info-for-globalspac.patch with 100% similarity]
queue-6.6/platform-x86-touchscreen_dmi-add-info-for-the-ezpad-.patch [moved from temp-6.6/platform-x86-touchscreen_dmi-add-info-for-the-ezpad-.patch with 100% similarity]
queue-6.6/powerpc-64-set-_io_base-to-poison_pointer_delta-not-.patch [moved from temp-6.6/powerpc-64-set-_io_base-to-poison_pointer_delta-not-.patch with 100% similarity]
queue-6.6/powerpc-64s-fix-unnecessary-copy-to-0-when-kernel-is-booted-at-address-0.patch [moved from temp-6.6/powerpc-64s-fix-unnecessary-copy-to-0-when-kernel-is-booted-at-address-0.patch with 100% similarity]
queue-6.6/powerpc-avoid-nmi_enter-nmi_exit-in-real-mode-interr.patch [moved from temp-6.6/powerpc-avoid-nmi_enter-nmi_exit-in-real-mode-interr.patch with 100% similarity]
queue-6.6/powerpc-dexcr-track-the-dexcr-per-process.patch [moved from temp-6.6/powerpc-dexcr-track-the-dexcr-per-process.patch with 100% similarity]
queue-6.6/powerpc-pseries-fix-scv-instruction-crash-with-kexec.patch [moved from temp-6.6/powerpc-pseries-fix-scv-instruction-crash-with-kexec.patch with 100% similarity]
queue-6.6/powerpc-xmon-check-cpu-id-in-commands-c-dp-and-dx.patch [moved from temp-6.6/powerpc-xmon-check-cpu-id-in-commands-c-dp-and-dx.patch with 100% similarity]
queue-6.6/regmap-i2c-subtract-reg-size-from-max_write.patch [moved from temp-6.6/regmap-i2c-subtract-reg-size-from-max_write.patch with 100% similarity]
queue-6.6/revert-igc-fix-a-log-entry-using-uninitialized-netdev.patch [moved from temp-6.6/revert-igc-fix-a-log-entry-using-uninitialized-netdev.patch with 100% similarity]
queue-6.6/revert-mm-writeback-fix-possible-divide-by-zero-in-wb_dirty_limits-again.patch [moved from temp-6.6/revert-mm-writeback-fix-possible-divide-by-zero-in-wb_dirty_limits-again.patch with 100% similarity]
queue-6.6/risc-v-kvm-fix-the-initial-sample-period-value.patch [moved from temp-6.6/risc-v-kvm-fix-the-initial-sample-period-value.patch with 100% similarity]
queue-6.6/riscv-apply-sifive-cip-1200-workaround-to-single-asi.patch [moved from temp-6.6/riscv-apply-sifive-cip-1200-workaround-to-single-asi.patch with 100% similarity]
queue-6.6/riscv-kexec-avoid-deadlock-in-kexec-crash-path.patch [moved from temp-6.6/riscv-kexec-avoid-deadlock-in-kexec-crash-path.patch with 100% similarity]
queue-6.6/s390-mark-psw-in-__load_psw_mask-as-__unitialized.patch [moved from temp-6.6/s390-mark-psw-in-__load_psw_mask-as-__unitialized.patch with 100% similarity]
queue-6.6/s390-pkey-wipe-sensitive-data-on-failure.patch [moved from temp-6.6/s390-pkey-wipe-sensitive-data-on-failure.patch with 100% similarity]
queue-6.6/scsi-mpi3mr-sanitise-num_phys.patch [moved from temp-6.6/scsi-mpi3mr-sanitise-num_phys.patch with 100% similarity]
queue-6.6/scsi-mpi3mr-use-proper-format-specifier-in-mpi3mr_sas_port_add.patch [moved from temp-6.6/scsi-mpi3mr-use-proper-format-specifier-in-mpi3mr_sas_port_add.patch with 100% similarity]
queue-6.6/scsi-qedf-make-qedf_execute_tmf-non-preemptible.patch [moved from temp-6.6/scsi-qedf-make-qedf_execute_tmf-non-preemptible.patch with 100% similarity]
queue-6.6/sctp-prefer-struct_size-over-open-coded-arithmetic.patch [moved from temp-6.6/sctp-prefer-struct_size-over-open-coded-arithmetic.patch with 100% similarity]
queue-6.6/selftests-bpf-adjust-dummy_st_ops_success-to-detect-.patch [moved from temp-6.6/selftests-bpf-adjust-dummy_st_ops_success-to-detect-.patch with 100% similarity]
queue-6.6/selftests-bpf-do-not-pass-null-for-non-nullable-para.patch [moved from temp-6.6/selftests-bpf-do-not-pass-null-for-non-nullable-para.patch with 100% similarity]
queue-6.6/selftests-bpf-dummy_st_ops-should-reject-0-for-non-n.patch [moved from temp-6.6/selftests-bpf-dummy_st_ops-should-reject-0-for-non-n.patch with 100% similarity]
queue-6.6/selftests-fix-oom-in-msg_zerocopy-selftest.patch [moved from temp-6.6/selftests-fix-oom-in-msg_zerocopy-selftest.patch with 100% similarity]
queue-6.6/selftests-make-order-checking-verbose-in-msg_zerocop.patch [moved from temp-6.6/selftests-make-order-checking-verbose-in-msg_zerocop.patch with 100% similarity]
queue-6.6/selftests-net-fix-uninitialized-variables.patch [moved from temp-6.6/selftests-net-fix-uninitialized-variables.patch with 100% similarity]
queue-6.6/serial-imx-raise-tx-trigger-level-to-8.patch [moved from temp-6.6/serial-imx-raise-tx-trigger-level-to-8.patch with 100% similarity]
queue-6.6/series [moved from temp-6.6/series with 99% similarity]
queue-6.6/spi-cadence-ensure-data-lines-set-to-low-during-dumm.patch [moved from temp-6.6/spi-cadence-ensure-data-lines-set-to-low-during-dumm.patch with 100% similarity]
queue-6.6/tcp_metrics-validate-source-addr-length.patch [moved from temp-6.6/tcp_metrics-validate-source-addr-length.patch with 100% similarity]
queue-6.6/thermal-drivers-mediatek-lvts_thermal-check-null-ptr.patch [moved from temp-6.6/thermal-drivers-mediatek-lvts_thermal-check-null-ptr.patch with 100% similarity]
queue-6.6/tools-power-turbostat-remember-global-max_die_id.patch [moved from temp-6.6/tools-power-turbostat-remember-global-max_die_id.patch with 100% similarity]
queue-6.6/upstream-tcp-fix-dsack-undo-in-fast-recovery-to-call.patch [moved from temp-6.6/upstream-tcp-fix-dsack-undo-in-fast-recovery-to-call.patch with 100% similarity]
queue-6.6/usb-xhci-prevent-potential-failure-in-handle_tx_even.patch [moved from temp-6.6/usb-xhci-prevent-potential-failure-in-handle_tx_even.patch with 100% similarity]
queue-6.6/vhost-release-worker-mutex-during-flushes.patch [moved from temp-6.6/vhost-release-worker-mutex-during-flushes.patch with 100% similarity]
queue-6.6/vhost-scsi-handle-vhost_vq_work_queue-failures-for-e.patch [moved from temp-6.6/vhost-scsi-handle-vhost_vq_work_queue-failures-for-e.patch with 100% similarity]
queue-6.6/vhost-use-virtqueue-mutex-for-swapping-worker.patch [moved from temp-6.6/vhost-use-virtqueue-mutex-for-swapping-worker.patch with 100% similarity]
queue-6.6/vhost_task-handle-sigkill-by-flushing-work-and-exiti.patch [moved from temp-6.6/vhost_task-handle-sigkill-by-flushing-work-and-exiti.patch with 100% similarity]
queue-6.6/wifi-mt76-mt7996-add-sanity-checks-for-background-ra.patch [moved from temp-6.6/wifi-mt76-mt7996-add-sanity-checks-for-background-ra.patch with 100% similarity]
queue-6.6/wifi-mt76-replace-skb_put-with-skb_put_zero.patch [moved from temp-6.6/wifi-mt76-replace-skb_put-with-skb_put_zero.patch with 100% similarity]
queue-6.6/wifi-wilc1000-fix-ies_len-type-in-connect-path.patch [moved from temp-6.6/wifi-wilc1000-fix-ies_len-type-in-connect-path.patch with 100% similarity]

diff --git a/queue-6.6/nilfs2-fix-incorrect-inode-allocation-from-reserved-inodes.patch b/queue-6.6/nilfs2-fix-incorrect-inode-allocation-from-reserved-inodes.patch
new file mode 100644 (file)
index 0000000..3e63845
--- /dev/null
@@ -0,0 +1,148 @@
+From 93aef9eda1cea9e84ab2453fcceb8addad0e46f1 Mon Sep 17 00:00:00 2001
+From: Ryusuke Konishi <konishi.ryusuke@gmail.com>
+Date: Sun, 23 Jun 2024 14:11:35 +0900
+Subject: nilfs2: fix incorrect inode allocation from reserved inodes
+
+From: Ryusuke Konishi <konishi.ryusuke@gmail.com>
+
+commit 93aef9eda1cea9e84ab2453fcceb8addad0e46f1 upstream.
+
+If the bitmap block that manages the inode allocation status is corrupted,
+nilfs_ifile_create_inode() may allocate a new inode from the reserved
+inode area where it should not be allocated.
+
+Previous fix commit d325dc6eb763 ("nilfs2: fix use-after-free bug of
+struct nilfs_root"), fixed the problem that reserved inodes with inode
+numbers less than NILFS_USER_INO (=11) were incorrectly reallocated due to
+bitmap corruption, but since the start number of non-reserved inodes is
+read from the super block and may change, in which case inode allocation
+may occur from the extended reserved inode area.
+
+If that happens, access to that inode will cause an IO error, causing the
+file system to degrade to an error state.
+
+Fix this potential issue by adding a wraparound option to the common
+metadata object allocation routine and by modifying
+nilfs_ifile_create_inode() to disable the option so that it only allocates
+inodes with inode numbers greater than or equal to the inode number read
+in "nilfs->ns_first_ino", regardless of the bitmap status of reserved
+inodes.
+
+Link: https://lkml.kernel.org/r/20240623051135.4180-4-konishi.ryusuke@gmail.com
+Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
+Cc: Hillf Danton <hdanton@sina.com>
+Cc: Jan Kara <jack@suse.cz>
+Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
+Cc: <stable@vger.kernel.org>
+Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ fs/nilfs2/alloc.c |   18 ++++++++++++++----
+ fs/nilfs2/alloc.h |    4 ++--
+ fs/nilfs2/dat.c   |    2 +-
+ fs/nilfs2/ifile.c |    7 ++-----
+ 4 files changed, 19 insertions(+), 12 deletions(-)
+
+--- a/fs/nilfs2/alloc.c
++++ b/fs/nilfs2/alloc.c
+@@ -377,11 +377,12 @@ void *nilfs_palloc_block_get_entry(const
+  * @target: offset number of an entry in the group (start point)
+  * @bsize: size in bits
+  * @lock: spin lock protecting @bitmap
++ * @wrap: whether to wrap around
+  */
+ static int nilfs_palloc_find_available_slot(unsigned char *bitmap,
+                                           unsigned long target,
+                                           unsigned int bsize,
+-                                          spinlock_t *lock)
++                                          spinlock_t *lock, bool wrap)
+ {
+       int pos, end = bsize;
+@@ -397,6 +398,8 @@ static int nilfs_palloc_find_available_s
+               end = target;
+       }
++      if (!wrap)
++              return -ENOSPC;
+       /* wrap around */
+       for (pos = 0; pos < end; pos++) {
+@@ -495,9 +498,10 @@ int nilfs_palloc_count_max_entries(struc
+  * nilfs_palloc_prepare_alloc_entry - prepare to allocate a persistent object
+  * @inode: inode of metadata file using this allocator
+  * @req: nilfs_palloc_req structure exchanged for the allocation
++ * @wrap: whether to wrap around
+  */
+ int nilfs_palloc_prepare_alloc_entry(struct inode *inode,
+-                                   struct nilfs_palloc_req *req)
++                                   struct nilfs_palloc_req *req, bool wrap)
+ {
+       struct buffer_head *desc_bh, *bitmap_bh;
+       struct nilfs_palloc_group_desc *desc;
+@@ -516,7 +520,7 @@ int nilfs_palloc_prepare_alloc_entry(str
+       entries_per_group = nilfs_palloc_entries_per_group(inode);
+       for (i = 0; i < ngroups; i += n) {
+-              if (group >= ngroups) {
++              if (group >= ngroups && wrap) {
+                       /* wrap around */
+                       group = 0;
+                       maxgroup = nilfs_palloc_group(inode, req->pr_entry_nr,
+@@ -541,7 +545,13 @@ int nilfs_palloc_prepare_alloc_entry(str
+                               bitmap = bitmap_kaddr + bh_offset(bitmap_bh);
+                               pos = nilfs_palloc_find_available_slot(
+                                       bitmap, group_offset,
+-                                      entries_per_group, lock);
++                                      entries_per_group, lock, wrap);
++                              /*
++                               * Since the search for a free slot in the
++                               * second and subsequent bitmap blocks always
++                               * starts from the beginning, the wrap flag
++                               * only has an effect on the first search.
++                               */
+                               if (pos >= 0) {
+                                       /* found a free entry */
+                                       nilfs_palloc_group_desc_add_entries(
+--- a/fs/nilfs2/alloc.h
++++ b/fs/nilfs2/alloc.h
+@@ -50,8 +50,8 @@ struct nilfs_palloc_req {
+       struct buffer_head *pr_entry_bh;
+ };
+-int nilfs_palloc_prepare_alloc_entry(struct inode *,
+-                                   struct nilfs_palloc_req *);
++int nilfs_palloc_prepare_alloc_entry(struct inode *inode,
++                                   struct nilfs_palloc_req *req, bool wrap);
+ void nilfs_palloc_commit_alloc_entry(struct inode *,
+                                    struct nilfs_palloc_req *);
+ void nilfs_palloc_abort_alloc_entry(struct inode *, struct nilfs_palloc_req *);
+--- a/fs/nilfs2/dat.c
++++ b/fs/nilfs2/dat.c
+@@ -75,7 +75,7 @@ int nilfs_dat_prepare_alloc(struct inode
+ {
+       int ret;
+-      ret = nilfs_palloc_prepare_alloc_entry(dat, req);
++      ret = nilfs_palloc_prepare_alloc_entry(dat, req, true);
+       if (ret < 0)
+               return ret;
+--- a/fs/nilfs2/ifile.c
++++ b/fs/nilfs2/ifile.c
+@@ -55,13 +55,10 @@ int nilfs_ifile_create_inode(struct inod
+       struct nilfs_palloc_req req;
+       int ret;
+-      req.pr_entry_nr = 0;  /*
+-                             * 0 says find free inode from beginning
+-                             * of a group. dull code!!
+-                             */
++      req.pr_entry_nr = NILFS_FIRST_INO(ifile->i_sb);
+       req.pr_entry_bh = NULL;
+-      ret = nilfs_palloc_prepare_alloc_entry(ifile, &req);
++      ret = nilfs_palloc_prepare_alloc_entry(ifile, &req, false);
+       if (!ret) {
+               ret = nilfs_palloc_get_entry_block(ifile, req.pr_entry_nr, 1,
+                                                  &req.pr_entry_bh);
similarity index 99%
rename from temp-6.6/series
rename to queue-6.6/series
index 2ac2eefe6cd0dac242f04423ee92d661a3f78835..c3fe45e50ccc420fdecc70a99f2c29fbda934b97 100644 (file)
@@ -136,3 +136,4 @@ spi-cadence-ensure-data-lines-set-to-low-during-dumm.patch
 alsa-ump-set-default-protocol-when-not-given-explici.patch
 drm-amdgpu-silence-ubsan-warning.patch
 null_blk-do-not-allow-runt-zone-with-zone-capacity-s.patch
+nilfs2-fix-incorrect-inode-allocation-from-reserved-inodes.patch