Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2579AC7618A for ; Thu, 16 Mar 2023 08:50:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231164AbjCPIu5 (ORCPT ); Thu, 16 Mar 2023 04:50:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230343AbjCPIuv (ORCPT ); Thu, 16 Mar 2023 04:50:51 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D8043772D; Thu, 16 Mar 2023 01:50:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AD7F8B820BD; Thu, 16 Mar 2023 08:50:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF0A0C433D2; Thu, 16 Mar 2023 08:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1678956615; bh=Yw0XkWiNepNxRy7LlF6E75KFF5KArp3QItXmXzfeSjo=; h=From:To:Cc:Subject:Date:From; b=iiRu+SpfOVUU3mdihSOWzVSI/qnEGAKJI49Uv0CRBOIZiM2J6jXe2JK3Nkvc+wL6X kCCXSwT6lzg1y+JaG5+pKKX7dsE0xoaMSzlAFHFjr0AyndKVgCBiZAdm10YuHADjpr EIOqOHNT+y8eQb2trgRb/La7zpu4tILV81lNJ6DA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de Subject: [PATCH 5.15 000/137] 5.15.103-rc2 review Date: Thu, 16 Mar 2023 09:50:12 +0100 Message-Id: <20230316083443.411936182@linuxfoundation.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.103-rc2.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.15.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.15.103-rc2 X-KernelTest-Deadline: 2023-03-18T08:34+00:00 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the start of the stable review cycle for the 5.15.103 release. There are 137 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat, 18 Mar 2023 08:33:04 +0000. Anything received after that time might be too late. The whole patch series can be found in one patch at: https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.103-rc2.gz or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman Linux 5.15.103-rc2 Nick Desaulniers Makefile: use -gdwarf-{4|5} for assembler for DEBUG_INFO_DWARF{4|5} Alexandru Matei KVM: VMX: Fix crash due to uninitialized current_vmcs Vitaly Kuznetsov KVM: VMX: Introduce vmx_msr_bitmap_l01_changed() helper Vitaly Kuznetsov KVM: nVMX: Don't use Enlightened MSR Bitmap for L3 Christian Brauner fs: hold writers when changing mount's idmapping Masahiro Yamada UML: define RUNTIME_DISCARD_EXIT Gaosheng Cui xfs: remove xfs_setattr_time() declaration Miaohe Lin KVM: fix memoryleak in kvm_init() Andres Freund tools bpftool: Fix compilation error with new binutils Andres Freund tools bpf_jit_disasm: Fix compilation error with new binutils Andres Freund tools perf: Fix compilation error with new binutils Andres Freund tools include: add dis-asm-compat.h to handle version differences Andres Freund tools build: Add feature test for init_disassemble_info API changes Tom Saeger sh: define RUNTIME_DISCARD_EXIT Masahiro Yamada s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36 Michael Ellerman powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds Michael Ellerman powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT Masahiro Yamada arch: fix broken BuildID for arm64 and riscv Lukas Czerner ext4: block range must be validated before use in ext4_mb_clear_bb() Ritesh Harjani ext4: add strict range checks while freeing blocks Ritesh Harjani ext4: add ext4_sb_block_valid() refactored out of ext4_inode_block_valid() Ritesh Harjani ext4: refactor ext4_free_blocks() to pull out ext4_mb_clear_bb() Seth Forshee filelocks: use mount idmapping for setlease permission check Li Jun media: rc: gpio-ir-recv: add remove function Paul Elder media: ov5640: Fix analogue gain control Masahiro Yamada scripts: handle BrokenPipeError for python scripts Alvaro Karsz PCI: Add SolidRun vendor ID Nathan Chancellor macintosh: windfarm: Use unsigned type for 1-bit bitfields Edward Humes alpha: fix R_ALPHA_LITERAL reloc for large modules Rohan McLure powerpc/kcsan: Exclude udelay to prevent recursive instrumentation Greg Kroah-Hartman powerpc/iommu: fix memory leak with using debugfs_lookup() xurui MIPS: Fix a compilation issue Dmitry Baryshkov clk: qcom: mmcc-apq8084: remove spdm clocks Christian Brauner fs: use consistent setgid checks in is_sxid() Christian Brauner attr: use consistent sgid stripping checks Christian Brauner attr: add setattr_should_drop_sgid() Christian Brauner fs: move should_remove_suid() Christian Brauner attr: add in_group_or_capable() Yang Xu fs: move S_ISGID stripping into the vfs_*() helpers Yang Xu fs: add mode_strip_sgid() helper Dave Chinner xfs: set prealloc flag in xfs_alloc_file_space() Dave Chinner xfs: fallocate() should call file_modified() Dave Chinner xfs: remove XFS_PREALLOC_SYNC Darrick J. Wong xfs: use setattr_copy to set vfs inode attributes Morten Linderud tpm/eventlog: Don't abort tpm_read_log on faulty ACPI address David Disseldorp watch_queue: fix IOC_WATCH_QUEUE_SET_SIZE alloc error paths Hans de Goede staging: rtl8723bs: Fix key-store index handling Hannes Braun staging: rtl8723bs: fix placement of braces Jagath Jog J Staging: rtl8723bs: Placing opening { braces in previous line Michael Straube staging: rtl8723bs: clean up comparsions to NULL Gavrilov Ilia iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter Kim Phillips iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options Suravee Suthikulpanit iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands Christoph Hellwig nbd: use the correct block_device in nbd_bdev_reset Johan Hovold irqdomain: Fix mapping-creation race Jan Kara ext4: Fix deadlock during directory rename Conor Dooley RISC-V: Don't check text_mutex during stop_machine Heiko Carstens s390/ftrace: remove dead code Alexandre Ghiti riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode Eric Dumazet af_unix: fix struct pid leaks in OOB support Kuniyuki Iwashima af_unix: Remove unnecessary brackets around CONFIG_AF_UNIX_OOB. Vladimir Oltean net: dsa: mt7530: permit port 5 to work without port 6 on MT7621 SoC Benjamin Coddington SUNRPC: Fix a server shutdown leak Suman Ghosh octeontx2-af: Unlock contexts in the queue context cache in case of fault detection D. Wythe net/smc: fix fallback failed while sendmsg with fastopen Randy Dunlap platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it Eric Dumazet netfilter: conntrack: adopt safer max chain length Chandrakanth Patil scsi: megaraid_sas: Update max supported LD IDs to 240 Daniel Golle net: ethernet: mtk_eth_soc: fix RX data corruption issue Heiner Kallweit net: phy: smsc: fix link up detection in forced irq mode Lukas Wunner net: phy: smsc: Cache interrupt mask Lorenz Bauer btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR Florian Westphal netfilter: tproxy: fix deadlock due to missing BH disable Ivan Delalande netfilter: ctnetlink: revert to dumping mark regardless of event type Michael Chan bnxt_en: Avoid order-5 memory allocation for TPA data Russell King (Oracle) net: phylib: get rid of unnecessary locking Rongguang Wei net: stmmac: add to set device wake up flag when stmmac init phy Dmitry Baryshkov drm/msm/dpu: fix len of sc7180 ctl blocks Liu Jian bpf, sockmap: Fix an infinite loop error when len is 0 in tcp_bpf_recvmsg_parser() Petr Oros ice: copy last block omitted in ice_get_module_eeprom() Shigeru Yoshida net: caif: Fix use-after-free in cfusbl_device_notify() Yuiko Oshino net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver Changbin Du perf stat: Fix counting when initial delay configured Hangbin Liu selftests: nft_nat: ensuring the listening side is up before starting the client Eric Dumazet ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping() Vladimir Oltean powerpc: dts: t1040rdb: fix compatible string for Rev A boards Kang Chen nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties Rafał Miłecki bgmac: fix *initial* chip reset to support BCM5358 Dmitry Baryshkov drm/msm/a5xx: fix context faults during ring switch Dmitry Baryshkov drm/msm/a5xx: fix the emptyness check in the preempt code Dmitry Baryshkov drm/msm/a5xx: fix highest bank bit for a530 Dmitry Baryshkov drm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register Rob Clark drm/msm: Fix potential invalid ptr free Jiri Slaby (SUSE) drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype Ben Skeggs drm/nouveau/kms/nv50-: remove unused functions Jan Kara ext4: Fix possible corruption when moving a directory Matthias Kaehlcke regulator: core: Use ktime_get_boottime() to determine how long a regulator was off Christian Kohlschütter regulator: core: Fix off-on-delay-us for always-on/boot-on regulators Mark Brown regulator: Flag uncontrollable regulators as always_on Bart Van Assche scsi: core: Remove the /proc/scsi/${proc_name} directory earlier Liao Chang riscv: Add header include guards to insn.h Mattias Nissler riscv: Avoid enabling interrupts in die() Palmer Dabbelt RISC-V: Avoid dereferening NULL regs in die() Pierre Gondois arm64: efi: Make efi_rt_lock a raw_spinlock Jens Axboe brd: mark as nowait compatible Luis Chamberlain block/brd: add error handling support for add_disk() Jacob Pan iommu/vt-d: Fix PASID directory pointer coherency Johan Hovold irqdomain: Refactor __irq_domain_alloc_irqs() Corey Minyard ipmi:ssif: Add a timer between request retries Corey Minyard ipmi:ssif: Increase the message retry time Jaegeuk Kim f2fs: retry to update the inode page given data corruption Jaegeuk Kim f2fs: do not bother checkpoint by f2fs_get_node_info Jaegeuk Kim f2fs: avoid down_write on nat_tree_lock during checkpoint Jan Kara udf: Fix off-by-one error when discarding preallocation Alexander Aring fs: dlm: start midcomms before scand Alexander Aring fs: dlm: add midcomms init/start functions Alexander Aring fs: dlm: fix log of lowcomms vs midcomms Sean Christopherson KVM: SVM: Process ICR on AVIC IPI delivery failure due to invalid target Sean Christopherson KVM: SVM: Don't rewrite guest ICR on AVIC IPI virtualization failure Sean Christopherson KVM: Register /dev/kvm as the _very_ last thing during initialization Vitaly Kuznetsov KVM: Pre-allocate cpumasks for kvm_make_all_cpus_request_except() Vitaly Kuznetsov KVM: Optimize kvm_make_vcpus_request_mask() a bit Fedor Pchelkin nfc: change order inside nfc_se_io error path Zhihao Cheng ext4: zero i_disksize when initializing the bootloader inode Ye Bin ext4: fix WARNING in ext4_update_inline_data Ye Bin ext4: move where set the MAY_INLINE_DATA flag is set Darrick J. Wong ext4: fix another off-by-one fsmap error on 1k block filesystems Eric Whitney ext4: fix RENAME_WHITEOUT handling for inline directories Eric Biggers ext4: fix cgroup writeback accounting with fs-layer encryption Hans de Goede staging: rtl8723bs: Pass correct parameters to cfg80211_get_bss() Harry Wentland drm/connector: print max_requested_bpc in state debugfs Alex Deucher drm/amdgpu: fix error checking in amdgpu_read_mm_registers for soc15 Andrew Cooper x86/CPU/AMD: Disable XSAVES on AMD family 0x17 Tobias Klauser fork: allow CLONE_NEWTIME in clone3 flags Namhyung Kim perf inject: Fix --buildid-all not to eat up MMAP2 Johannes Thumshirn btrfs: fix percent calculation for bg reclaim message Theodore Ts'o fs: prevent out-of-bounds array speculation when closing a file descriptor ------------- Diffstat: Documentation/admin-guide/kernel-parameters.txt | 51 ++- Documentation/trace/ftrace.rst | 2 +- Makefile | 5 +- arch/alpha/kernel/module.c | 4 +- arch/arm64/include/asm/efi.h | 6 +- arch/arm64/kernel/efi.c | 2 +- arch/mips/include/asm/mach-rc32434/pci.h | 2 +- arch/powerpc/boot/dts/fsl/t1040rdb-rev-a.dts | 1 - arch/powerpc/kernel/iommu.c | 4 +- arch/powerpc/kernel/time.c | 4 +- arch/powerpc/kernel/vmlinux.lds.S | 6 +- arch/riscv/include/asm/ftrace.h | 2 +- arch/riscv/include/asm/parse_asm.h | 5 + arch/riscv/include/asm/patch.h | 2 + arch/riscv/kernel/ftrace.c | 14 +- arch/riscv/kernel/patch.c | 28 +- arch/riscv/kernel/stacktrace.c | 2 +- arch/riscv/kernel/traps.c | 14 +- arch/s390/kernel/ftrace.c | 86 +---- arch/s390/kernel/vmlinux.lds.S | 2 + arch/sh/kernel/vmlinux.lds.S | 1 + arch/um/kernel/vmlinux.lds.S | 2 +- arch/x86/kernel/cpu/amd.c | 9 + arch/x86/kvm/lapic.c | 1 + arch/x86/kvm/svm/avic.c | 28 +- arch/x86/kvm/vmx/evmcs.h | 11 - arch/x86/kvm/vmx/vmx.c | 44 ++- drivers/block/brd.c | 10 +- drivers/block/nbd.c | 14 +- drivers/char/ipmi/ipmi_ssif.c | 34 +- drivers/char/tpm/eventlog/acpi.c | 6 +- drivers/clk/qcom/mmcc-apq8084.c | 271 ---------------- drivers/gpu/drm/amd/amdgpu/soc15.c | 5 +- drivers/gpu/drm/drm_atomic.c | 1 + drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 6 +- drivers/gpu/drm/msm/adreno/a5xx_preempt.c | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 6 +- drivers/gpu/drm/msm/msm_gem_submit.c | 5 +- drivers/gpu/drm/nouveau/dispnv50/disp.c | 16 - drivers/gpu/drm/nouveau/dispnv50/wndw.c | 12 - drivers/gpu/drm/nouveau/dispnv50/wndw.h | 7 +- drivers/iommu/amd/init.c | 105 ++++-- drivers/iommu/intel/pasid.c | 7 + drivers/macintosh/windfarm_lm75_sensor.c | 4 +- drivers/macintosh/windfarm_smu_sensors.c | 4 +- drivers/media/i2c/ov5640.c | 2 +- drivers/media/rc/gpio-ir-recv.c | 18 ++ drivers/net/dsa/mt7530.c | 35 +- drivers/net/ethernet/broadcom/bgmac.c | 8 +- drivers/net/ethernet/broadcom/bgmac.h | 2 + drivers/net/ethernet/broadcom/bnxt/bnxt.c | 23 +- drivers/net/ethernet/intel/ice/ice_ethtool.c | 6 +- drivers/net/ethernet/marvell/octeontx2/af/rvu.h | 5 + .../ethernet/marvell/octeontx2/af/rvu_debugfs.c | 7 +- .../net/ethernet/marvell/octeontx2/af/rvu_nix.c | 16 +- .../net/ethernet/marvell/octeontx2/af/rvu_npa.c | 58 +++- .../net/ethernet/marvell/octeontx2/af/rvu_reg.h | 3 + drivers/net/ethernet/mediatek/mtk_eth_soc.c | 3 +- drivers/net/ethernet/mediatek/mtk_eth_soc.h | 1 + drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 + drivers/net/phy/microchip.c | 32 ++ drivers/net/phy/phy_device.c | 8 +- drivers/net/phy/smsc.c | 20 +- drivers/net/usb/lan78xx.c | 27 +- drivers/nfc/fdp/i2c.c | 4 + drivers/platform/x86/Kconfig | 3 +- drivers/regulator/core.c | 27 +- drivers/scsi/hosts.c | 2 + drivers/scsi/megaraid/megaraid_sas.h | 2 + drivers/scsi/megaraid/megaraid_sas_fp.c | 2 +- drivers/staging/rtl8723bs/core/rtw_ap.c | 20 +- drivers/staging/rtl8723bs/core/rtw_cmd.c | 96 +++--- drivers/staging/rtl8723bs/core/rtw_ioctl_set.c | 4 +- drivers/staging/rtl8723bs/core/rtw_mlme.c | 6 +- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 56 ++-- drivers/staging/rtl8723bs/core/rtw_security.c | 6 +- drivers/staging/rtl8723bs/include/rtw_security.h | 8 +- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 355 +++++++-------------- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 51 +-- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 4 +- fs/attr.c | 72 ++++- fs/btrfs/block-group.c | 3 +- fs/dlm/lockspace.c | 21 +- fs/dlm/lowcomms.c | 16 +- fs/dlm/lowcomms.h | 1 + fs/dlm/main.c | 7 +- fs/dlm/midcomms.c | 17 +- fs/dlm/midcomms.h | 3 + fs/ext4/block_validity.c | 26 +- fs/ext4/ext4.h | 3 + fs/ext4/fsmap.c | 2 + fs/ext4/inline.c | 1 - fs/ext4/inode.c | 7 +- fs/ext4/ioctl.c | 1 + fs/ext4/mballoc.c | 205 +++++++----- fs/ext4/namei.c | 36 ++- fs/ext4/page-io.c | 11 +- fs/ext4/xattr.c | 3 + fs/f2fs/checkpoint.c | 2 +- fs/f2fs/compress.c | 2 +- fs/f2fs/data.c | 8 +- fs/f2fs/f2fs.h | 2 +- fs/f2fs/file.c | 2 +- fs/f2fs/gc.c | 6 +- fs/f2fs/inline.c | 4 +- fs/f2fs/inode.c | 14 +- fs/f2fs/node.c | 23 +- fs/f2fs/recovery.c | 2 +- fs/f2fs/segment.c | 2 +- fs/file.c | 1 + fs/fuse/file.c | 2 +- fs/inode.c | 90 +++--- fs/internal.h | 10 +- fs/locks.c | 3 +- fs/namei.c | 82 ++++- fs/namespace.c | 29 +- fs/ocfs2/file.c | 4 +- fs/ocfs2/namei.c | 1 + fs/open.c | 8 +- fs/udf/inode.c | 2 +- fs/xfs/xfs_bmap_util.c | 9 +- fs/xfs/xfs_file.c | 24 +- fs/xfs/xfs_iops.c | 56 +--- fs/xfs/xfs_iops.h | 1 - fs/xfs/xfs_pnfs.c | 9 +- include/asm-generic/vmlinux.lds.h | 5 + include/linux/fs.h | 6 +- include/linux/pci_ids.h | 2 + include/net/netfilter/nf_tproxy.h | 7 + kernel/bpf/btf.c | 1 + kernel/fork.c | 2 +- kernel/irq/irqdomain.c | 152 +++++---- kernel/watch_queue.c | 1 + net/caif/caif_usb.c | 3 + net/ipv4/netfilter/nf_tproxy_ipv4.c | 2 +- net/ipv4/tcp_bpf.c | 6 + net/ipv4/udp_bpf.c | 3 + net/ipv6/ila/ila_xlat.c | 1 + net/ipv6/netfilter/nf_tproxy_ipv6.c | 2 +- net/netfilter/nf_conntrack_core.c | 4 +- net/netfilter/nf_conntrack_netlink.c | 14 +- net/nfc/netlink.c | 2 +- net/smc/af_smc.c | 13 +- net/sunrpc/svc.c | 6 +- net/unix/af_unix.c | 16 +- net/unix/unix_bpf.c | 3 + scripts/checkkconfigsymbols.py | 13 +- scripts/clang-tools/run-clang-tools.py | 21 +- scripts/diffconfig | 16 +- tools/bpf/Makefile | 5 +- tools/bpf/bpf_jit_disasm.c | 5 +- tools/bpf/bpftool/Makefile | 5 +- tools/bpf/bpftool/jit_disasm.c | 42 ++- tools/build/Makefile.feature | 1 + tools/build/feature/Makefile | 4 + tools/build/feature/test-all.c | 4 + .../build/feature/test-disassembler-init-styled.c | 13 + tools/include/tools/dis-asm-compat.h | 55 ++++ tools/perf/Makefile.config | 8 + tools/perf/builtin-inject.c | 1 + tools/perf/builtin-stat.c | 15 +- tools/perf/util/annotate.c | 7 +- tools/perf/util/stat.c | 6 +- tools/perf/util/stat.h | 1 - tools/perf/util/target.h | 12 + tools/testing/selftests/netfilter/nft_nat.sh | 2 + virt/kvm/kvm_main.c | 145 ++++++--- 167 files changed, 1780 insertions(+), 1461 deletions(-)