This is the start of the stable review cycle for the 5.4.156 release. There are 58 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 Wed, 27 Oct 2021 19:07:44 +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.4.156-rc1.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.4.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 5.4.156-rc1 Fabien Dessenne <fabien.dessenne@xxxxxxxxxxx> pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume() Nick Desaulniers <ndesaulniers@xxxxxxxxxx> ARM: 9122/1: select HAVE_FUTEX_CMPXCHG Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> tracing: Have all levels of checks prevent recursion Yanfei Xu <yanfei.xu@xxxxxxxxxxxxx> net: mdiobus: Fix memory leak in __mdiobus_register Oliver Neukum <oneukum@xxxxxxxx> usbnet: sanity check for maxpacket Dexuan Cui <decui@xxxxxxxxxxxxx> scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma() Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Input: snvs_pwrkey - add clk handling Kai Vehmanen <kai.vehmanen@xxxxxxxxxxxxxxx> ALSA: hda: avoid write to STATESTS if controller is in reset Prashant Malani <pmalani@xxxxxxxxxxxx> platform/x86: intel_scu_ipc: Update timeout value in comment Zheyu Ma <zheyuma97@xxxxxxxxx> isdn: mISDN: Fix sleeping function called from invalid context Herve Codina <herve.codina@xxxxxxxxxxx> ARM: dts: spear3xx: Fix gmac node Herve Codina <herve.codina@xxxxxxxxxxx> net: stmmac: add support for dwmac 3.40a Filipe Manana <fdmanana@xxxxxxxx> btrfs: deal with errors when checking if a dir entry exists during log replay Brendan Higgins <brendanhiggins@xxxxxxxxxx> gcc-plugins/structleak: add makefile var for disabling structleak Florian Westphal <fw@xxxxxxxxx> selftests: netfilter: remove stray bash debug line Vegard Nossum <vegard.nossum@xxxxxxxxx> netfilter: Kconfig: use 'default y' instead of 'm' for bool config option Xiaolong Huang <butterflyhuangxx@xxxxxxxxx> isdn: cpai: check ctr->cnr to avoid array index out of bound Lin Ma <linma@xxxxxxxxxx> nfc: nci: fix the UAF of rf_conn_info object Miaohe Lin <linmiaohe@xxxxxxxxxx> mm, slub: fix potential memoryleak in kmem_cache_open() Miaohe Lin <linmiaohe@xxxxxxxxxx> mm, slub: fix mismatch between reconstructed freelist depth and cnt Michael Ellerman <mpe@xxxxxxxxxxxxxx> powerpc/idle: Don't corrupt back chain when going idle Michael Ellerman <mpe@xxxxxxxxxxxxxx> KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest Michael Ellerman <mpe@xxxxxxxxxxxxxx> KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest() Christopher M. Riedl <cmr@xxxxxxxxxxx> powerpc64/idle: Fix SP offsets when saving GPRs Gaosheng Cui <cuigaosheng1@xxxxxxxxxx> audit: fix possible null-pointer dereference in audit_filter_rules Takashi Iwai <tiwai@xxxxxxx> ASoC: DAPM: Fix missing kctl change notifications Steven Clarkson <sc@xxxxxxxxxxx> ALSA: hda/realtek: Add quirk for Clevo PC50HS Brendan Grieve <brendan@xxxxxxxxxxxxx> ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> vfs: check fd has read access in kernel_read_file_from_fd() Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> elfcore: correct reference to CONFIG_UML Valentin Vidic <vvidic@xxxxxxxxxxxxxxxxxxxxxx> ocfs2: mount fails with buffer overflow in strlen Jan Kara <jack@xxxxxxx> ocfs2: fix data corruption after conversion from inline format Jeff Layton <jlayton@xxxxxxxxxx> ceph: fix handling of "meta" errors Zhang Changzhong <zhangchangzhong@xxxxxxxxxx> can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes Zhang Changzhong <zhangchangzhong@xxxxxxxxxx> can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length Ziyang Xuan <william.xuanziyang@xxxxxxxxxx> can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv Ziyang Xuan <william.xuanziyang@xxxxxxxxxx> can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer Zheyu Ma <zheyuma97@xxxxxxxxx> can: peak_pci: peak_pci_remove(): fix UAF Stephane Grosjean <s.grosjean@xxxxxxxxxxxxxxx> can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> can: rcar_can: fix suspend/resume Vladimir Oltean <vladimir.oltean@xxxxxxx> net: enetc: fix ethtool counter name for PM0_TERR Kurt Kanzenbach <kurt@xxxxxxxxxxxxx> net: stmmac: Fix E2E delay mechanism Peng Li <lipeng321@xxxxxxxxxx> net: hns3: disable sriov before unload hclge layer Guangbin Huang <huangguangbin2@xxxxxxxxxx> net: hns3: add limit ets dwrr bandwidth cannot be 0 Guangbin Huang <huangguangbin2@xxxxxxxxxx> net: hns3: reset DWRR of unused tc to zero Randy Dunlap <rdunlap@xxxxxxxxxxxxx> NIOS2: irqflags: rename a redefined register name Aleksander Jan Bajkowski <olek2@xxxxx> net: dsa: lantiq_gswip: fix register definition Vegard Nossum <vegard.nossum@xxxxxxxxxx> lan78xx: select CRC32 Antoine Tenart <atenart@xxxxxxxxxx> netfilter: ipvs: make global sysctl readonly in non-init netns Shengjiu Wang <shengjiu.wang@xxxxxxx> ASoC: wm8960: Fix clock configuration on slave mode Gerald Schaefer <gerald.schaefer@xxxxxxxxxxxxx> dma-debug: fix sg checks in debug_dma_map_sg() Benjamin Coddington <bcodding@xxxxxxxxxx> NFSD: Keep existing listeners on portlist error Guenter Roeck <linux@xxxxxxxxxxxx> xtensa: xtfpga: Try software restart before simulating CPU reset Max Filippov <jcmvbkbc@xxxxxxxxx> xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF Eugen Hristev <eugen.hristev@xxxxxxxxxxxxx> ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default Sumit Garg <sumit.garg@xxxxxxxxxx> tee: optee: Fix missing devices unregister during optee_remove Russell King <rmk+kernel@xxxxxxxxxxxxxxx> net: switchdev: do not propagate bridge updates across bridges Helge Deller <deller@xxxxxx> parisc: math-emu: Fix fall-through warnings ------------- Diffstat: Makefile | 4 +- arch/arm/Kconfig | 1 + arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 1 - arch/arm/boot/dts/spear3xx.dtsi | 2 +- arch/nios2/include/asm/irqflags.h | 4 +- arch/nios2/include/asm/registers.h | 2 +- arch/parisc/math-emu/fpudispatch.c | 56 +++++++- arch/powerpc/kernel/idle_book3s.S | 148 +++++++++++---------- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 28 ++-- arch/xtensa/platforms/xtfpga/setup.c | 12 +- drivers/input/keyboard/snvs_pwrkey.c | 29 ++++ drivers/isdn/capi/kcapi.c | 5 + drivers/isdn/hardware/mISDN/netjet.c | 2 +- drivers/net/can/rcar/rcar_can.c | 20 +-- drivers/net/can/sja1000/peak_pci.c | 9 +- drivers/net/can/usb/peak_usb/pcan_usb_fd.c | 5 +- drivers/net/dsa/lantiq_gswip.c | 2 +- .../net/ethernet/freescale/enetc/enetc_ethtool.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hnae3.c | 21 +++ drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 9 ++ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 1 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 2 + .../net/ethernet/stmicro/stmmac/dwmac-generic.c | 1 + drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 8 ++ drivers/net/phy/mdio_bus.c | 1 + drivers/net/usb/Kconfig | 1 + drivers/net/usb/usbnet.c | 4 + drivers/pinctrl/stm32/pinctrl-stm32.c | 4 +- drivers/platform/x86/intel_scu_ipc.c | 2 +- drivers/scsi/hosts.c | 3 +- drivers/tee/optee/core.c | 3 + drivers/tee/optee/device.c | 22 +++ drivers/tee/optee/optee_private.h | 1 + fs/btrfs/tree-log.c | 47 ++++--- fs/ceph/caps.c | 12 +- fs/ceph/file.c | 1 - fs/ceph/inode.c | 2 - fs/ceph/mds_client.c | 17 +-- fs/ceph/super.h | 3 - fs/exec.c | 2 +- fs/nfsd/nfsctl.c | 5 +- fs/ocfs2/alloc.c | 46 ++----- fs/ocfs2/super.c | 14 +- include/linux/elfcore.h | 2 +- kernel/auditsc.c | 2 +- kernel/dma/debug.c | 12 +- kernel/trace/ftrace.c | 4 +- kernel/trace/trace.h | 64 +++------ kernel/trace/trace_functions.c | 2 +- mm/slub.c | 13 +- net/can/j1939/j1939-priv.h | 1 + net/can/j1939/main.c | 7 +- net/can/j1939/transport.c | 14 +- net/netfilter/Kconfig | 2 +- net/netfilter/ipvs/ip_vs_ctl.c | 5 + net/nfc/nci/rsp.c | 2 + net/switchdev/switchdev.c | 9 ++ scripts/Makefile.gcc-plugins | 4 + sound/hda/hdac_controller.c | 5 +- sound/pci/hda/patch_realtek.c | 1 + sound/soc/codecs/wm8960.c | 13 +- sound/soc/soc-dapm.c | 13 +- sound/usb/quirks-table.h | 32 +++++ tools/testing/selftests/netfilter/nft_flowtable.sh | 1 - 66 files changed, 495 insertions(+), 280 deletions(-)