This is the start of the stable review cycle for the 5.4.140 release. There are 85 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 Thu, 12 Aug 2021 17:29:30 +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.140-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.140-rc1 Mark Rutland <mark.rutland@xxxxxxx> arm64: fix compat syscall return truncation Letu Ren <fantasquex@xxxxxxxxx> net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset Prarit Bhargava <prarit@xxxxxxxxxx> alpha: Send stop IPI to send to online CPUs Matteo Croce <mcroce@xxxxxxxxxxxxx> virt_wifi: fix error on connect Shreyansh Chouhan <chouhan.shreyansh630@xxxxxxxxx> reiserfs: check directory items on read from disk Yu Kuai <yukuai3@xxxxxxxxxx> reiserfs: add check for root_inode in reiserfs_fill_super Christoph Hellwig <hch@xxxxxx> libata: fix ata_pio_sector for CONFIG_HIGHMEM Daniel Borkmann <daniel@xxxxxxxxxxxxx> bpf, selftests: Adjust few selftest result_unpriv outcomes Like Xu <likexu@xxxxxxxxxxx> perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest Arnd Bergmann <arnd@xxxxxxxx> soc: ixp4xx/qmgr: fix invalid __iomem access Dongliang Mu <mudongliangabcd@xxxxxxxxx> spi: meson-spicc: fix memory leak in meson_spicc_remove Arnd Bergmann <arnd@xxxxxxxx> soc: ixp4xx: fix printing resources Will Deacon <will@xxxxxxxxxx> arm64: vdso: Avoid ISB after reading from cntvct_el0 Sean Christopherson <seanjc@xxxxxxxxxx> KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds Paolo Bonzini <pbonzini@xxxxxxxxxx> KVM: Do not leak memory for duplicate debugfs directories Paolo Bonzini <pbonzini@xxxxxxxxxx> KVM: x86: accept userspace interrupt only if no event is injected Wei Shuyu <wsy@xxxxxxxxxx> md/raid10: properly indicate failure when ending a failed write request Zheyu Ma <zheyuma97@xxxxxxxxx> pcmcia: i82092: fix a null pointer dereference bug Thomas Gleixner <tglx@xxxxxxxxxxxxx> timers: Move clearing of base::timer_running under base:: Lock Mario Kleiner <mario.kleiner.de@xxxxxxxxx> serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts. Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver Maciej W. Rozycki <macro@xxxxxxxxxxx> MIPS: Malta: Do not byte-swap accesses to the CBUS UART Maciej W. Rozycki <macro@xxxxxxxxxxx> serial: 8250: Mask out floating 16/32-bit bus bits Zhiyong Tao <zhiyong.tao@xxxxxxxxxxxx> serial: 8250_mtk: fix uart corruption issue when rx power off Jon Hunter <jonathanh@xxxxxxxxxx> serial: tegra: Only print FIFO error message when an error occurs Theodore Ts'o <tytso@xxxxxxx> ext4: fix potential htree corruption when growing large_dir directories Alex Xu (Hello71) <alex_y_xu@xxxxxxxx> pipe: increase minimum default pipe size to 2 pages Johan Hovold <johan@xxxxxxxxxx> media: rtl28xxu: fix zero-length control request Pavel Skripkin <paskripkin@xxxxxxxxx> staging: rtl8712: get rid of flush_scheduled_work Xiangyang Zhang <xyz.sun.ok@xxxxxxxxx> staging: rtl8723bs: Fix a resource leak in sd_int_dpc Tyler Hicks <tyhicks@xxxxxxxxxxxxxxxxxxx> tpm_ftpm_tee: Free and unregister TEE shared memory during kexec Tyler Hicks <tyhicks@xxxxxxxxxxxxxxxxxxx> optee: Fix memory leak when failing to register shm pages Jens Wiklander <jens.wiklander@xxxxxxxxxx> tee: add tee_shm_alloc_kernel_buf() Tyler Hicks <tyhicks@xxxxxxxxxxxxxxxxxxx> optee: Clear stale cache entries during initialization Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> tracing / histogram: Give calculation hist_fields a size Hui Su <suhui@xxxxxxxx> scripts/tracing: fix the bug that can't parse raw_trace_func Brian Norris <briannorris@xxxxxxxxxxxx> clk: fix leak on devm_clk_bulk_get_all() unwind Dmitry Osipenko <digetx@xxxxxxxxx> usb: otg-fsm: Fix hrtimer list corruption Maxim Devaev <mdevaev@xxxxxxxxx> usb: gadget: f_hid: idle uses the highest byte for duration Phil Elwell <phil@xxxxxxxxxxxxxxx> usb: gadget: f_hid: fixed NULL pointer dereference Maxim Devaev <mdevaev@xxxxxxxxx> usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers Pawel Laszczak <pawell@xxxxxxxxxxx> usb: cdns3: Fixed incorrect gadget state Alexander Tsoy <alexander@xxxxxxx> ALSA: usb-audio: Add registration quirk for JBL Quantum 600 Alexander Monakov <amonakov@xxxxxxxxx> ALSA: hda/realtek: add mic quirk for Acer SF314-42 Anirudh Rayabharam <mail@xxxxxxxxxxxxx> firmware_loader: fix use-after-free in firmware_fallback_sysfs Anirudh Rayabharam <mail@xxxxxxxxxxxxx> firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback David Bauer <mail@xxxxxxxxxxxxxxx> USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2 Willy Tarreau <w@xxxxxx> USB: serial: ch341: fix character loss at high transfer rates Daniele Palmas <dnlplm@xxxxxxxxx> USB: serial: option: add Telit FD980 composition 0x1056 Qiang.zhang <qiang.zhang@xxxxxxxxxxxxx> USB: usbtmc: Fix RCU stall warning Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> Bluetooth: defer cleanup of resources in hci_unregister_dev() Yu Kuai <yukuai3@xxxxxxxxxx> blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit() Pavel Skripkin <paskripkin@xxxxxxxxx> net: vxge: fix use-after-free in vxge_device_unregister Pavel Skripkin <paskripkin@xxxxxxxxx> net: fec: fix use-after-free in fec_drv_remove Pavel Skripkin <paskripkin@xxxxxxxxx> net: pegasus: fix uninit-value in get_interrupt_interval Dan Carpenter <dan.carpenter@xxxxxxxxxx> bnx2x: fix an error code in bnx2x_nic_load() H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> mips: Fix non-POSIX regexp Antoine Tenart <atenart@xxxxxxxxxx> net: ipv6: fix returned variable type in ip6_skb_dst_mtu Fei Qin <fei.qin@xxxxxxxxxxxx> nfp: update ethtool reporting of pauseframe control Xin Long <lucien.xin@xxxxxxxxx> sctp: move the active_key update after sh_keys is added Matthias Schiffer <matthias.schiffer@xxxxxxxxxxxxxxx> gpio: tqmx86: really make IRQ optional Wang Hai <wanghai38@xxxxxxxxxx> net: natsemi: Fix missing pci_disable_device() in probe and remove Steve Bennett <steveb@xxxxxxxxxxxxxxx> net: phy: micrel: Fix detection of ksz87xx switch Vladimir Oltean <vladimir.oltean@xxxxxxx> net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones Vladimir Oltean <vladimir.oltean@xxxxxxx> net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add Jakub Sitnicki <jakub@xxxxxxxxxxxxxx> net, gro: Set inner transport header offset in tcp/udp GRO hook Juergen Borleis <jbe@xxxxxxxxxxxxxx> dmaengine: imx-dma: configure the generic DMA type to make it work Hans Verkuil <hverkuil-cisco@xxxxxxxxx> media: videobuf2-core: dequeue if start_streaming fails Li Manyi <limanyi@xxxxxxxxxxxxx> scsi: sr: Return correct event when media event code is 3 Marek Vasut <marex@xxxxxxx> spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation Marek Vasut <marex@xxxxxxx> spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator Dario Binacchi <dariobin@xxxxxxxxx> ARM: dts: am437x-l4: fix typo in can@0 node Dario Binacchi <dariobin@xxxxxxxxx> clk: stm32f4: fix post divisor setup for I2S/SAI PLLs chihhao.chen <chihhao.chen@xxxxxxxxxxxx> ALSA: usb-audio: fix incorrect clock source setting Pali Rohár <pali@xxxxxxxxxx> arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode Marek Vasut <marex@xxxxxxx> ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins Colin Ian King <colin.king@xxxxxxxxxxxxx> ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init Oleksandr Suvorov <oleksandr.suvorov@xxxxxxxxxxx> ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx> ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms Yang Yingliang <yangyingliang@xxxxxxxxxx> ARM: imx: add missing clk_disable_unprepare() Yang Yingliang <yangyingliang@xxxxxxxxxx> ARM: imx: add missing iounmap() Vladimir Oltean <vladimir.oltean@xxxxxxx> arm64: dts: ls1028a: fix node name for the sysclk Takashi Iwai <tiwai@xxxxxxx> ALSA: seq: Fix racy deletion of subscriber Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> Revert "ACPICA: Fix memory leak caused by _CID repair function" ------------- Diffstat: Makefile | 4 +- arch/alpha/kernel/smp.c | 2 +- arch/arm/boot/dts/am437x-l4.dtsi | 2 +- arch/arm/boot/dts/imx53-m53menlo.dts | 4 +- arch/arm/boot/dts/imx6qdl-sr-som.dtsi | 8 ++- arch/arm/boot/dts/imx6ull-colibri-wifi.dtsi | 1 + arch/arm/boot/dts/omap5-board-common.dtsi | 9 +-- arch/arm/mach-imx/mmdc.c | 17 +++++- arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 2 +- .../boot/dts/marvell/armada-3720-turris-mox.dts | 1 + arch/arm64/include/asm/arch_timer.h | 21 ------- arch/arm64/include/asm/barrier.h | 19 ++++++ arch/arm64/include/asm/ptrace.h | 12 +++- arch/arm64/include/asm/syscall.h | 19 +++--- arch/arm64/include/asm/vdso/gettimeofday.h | 6 +- arch/arm64/kernel/ptrace.c | 2 +- arch/arm64/kernel/signal.c | 3 +- arch/arm64/kernel/syscall.c | 7 +-- arch/mips/Makefile | 2 +- arch/mips/mti-malta/malta-platform.c | 3 +- arch/x86/events/perf_event.h | 3 +- arch/x86/kvm/mmu.c | 2 +- arch/x86/kvm/x86.c | 13 ++++- block/blk-iolatency.c | 6 +- drivers/acpi/acpica/nsrepair2.c | 7 --- drivers/ata/libata-sff.c | 35 ++++++++--- drivers/base/firmware_loader/fallback.c | 14 +++-- drivers/base/firmware_loader/firmware.h | 10 +++- drivers/base/firmware_loader/main.c | 2 + drivers/char/tpm/tpm_ftpm_tee.c | 8 +-- drivers/clk/clk-devres.c | 9 ++- drivers/clk/clk-stm32f4.c | 10 ++-- drivers/dma/imx-dma.c | 2 + drivers/gpio/gpio-tqmx86.c | 6 +- drivers/md/raid1.c | 2 - drivers/md/raid10.c | 4 +- drivers/media/common/videobuf2/videobuf2-core.c | 13 ++++- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 11 +++- drivers/net/dsa/sja1105/sja1105_main.c | 67 ++++++++++++++++++++-- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 3 +- drivers/net/ethernet/freescale/fec_main.c | 2 +- drivers/net/ethernet/natsemi/natsemi.c | 8 +-- drivers/net/ethernet/neterion/vxge/vxge-main.c | 6 +- .../net/ethernet/netronome/nfp/nfp_net_ethtool.c | 2 + drivers/net/ethernet/qlogic/qla3xxx.c | 6 +- drivers/net/phy/micrel.c | 10 ++-- drivers/net/usb/pegasus.c | 14 ++++- drivers/net/wireless/virt_wifi.c | 52 ++++++++++------- drivers/pcmcia/i82092.c | 1 + drivers/scsi/sr.c | 2 +- drivers/soc/ixp4xx/ixp4xx-npe.c | 11 ++-- drivers/soc/ixp4xx/ixp4xx-qmgr.c | 9 +-- drivers/spi/spi-imx.c | 52 +++++++++++------ drivers/spi/spi-meson-spicc.c | 2 + drivers/staging/rtl8712/rtl8712_led.c | 8 +++ drivers/staging/rtl8712/rtl871x_led.h | 1 + drivers/staging/rtl8712/rtl871x_pwrctrl.c | 8 +++ drivers/staging/rtl8712/rtl871x_pwrctrl.h | 1 + drivers/staging/rtl8712/usb_intf.c | 3 +- drivers/staging/rtl8723bs/hal/sdio_ops.c | 2 + drivers/tee/optee/call.c | 36 +++++++++++- drivers/tee/optee/core.c | 9 +++ drivers/tee/optee/optee_private.h | 1 + drivers/tee/optee/shm_pool.c | 12 +++- drivers/tee/tee_shm.c | 18 ++++++ drivers/tty/serial/8250/8250_mtk.c | 5 ++ drivers/tty/serial/8250/8250_pci.c | 7 +++ drivers/tty/serial/8250/8250_port.c | 12 +++- drivers/tty/serial/serial-tegra.c | 6 +- drivers/usb/cdns3/ep0.c | 1 + drivers/usb/class/usbtmc.c | 9 +-- drivers/usb/common/usb-otg-fsm.c | 6 +- drivers/usb/gadget/function/f_hid.c | 44 ++++++++++++-- drivers/usb/serial/ch341.c | 1 + drivers/usb/serial/ftdi_sio.c | 1 + drivers/usb/serial/ftdi_sio_ids.h | 3 + drivers/usb/serial/option.c | 2 + fs/ext4/namei.c | 2 +- fs/pipe.c | 19 +++++- fs/reiserfs/stree.c | 31 ++++++++-- fs/reiserfs/super.c | 8 +++ include/linux/tee_drv.h | 1 + include/linux/usb/otg-fsm.h | 1 + include/net/bluetooth/hci_core.h | 1 + include/net/ip6_route.h | 2 +- kernel/time/timer.c | 6 +- kernel/trace/trace_events_hist.c | 4 ++ net/bluetooth/hci_core.c | 16 +++--- net/bluetooth/hci_sock.c | 49 ++++++++++------ net/bluetooth/hci_sysfs.c | 3 + net/ipv4/tcp_offload.c | 3 + net/ipv4/udp_offload.c | 4 ++ net/sctp/auth.c | 14 +++-- scripts/tracing/draw_functrace.py | 6 +- sound/core/seq/seq_ports.c | 39 +++++++++---- sound/pci/hda/patch_realtek.c | 1 + sound/usb/clock.c | 6 ++ sound/usb/quirks.c | 1 + tools/testing/selftests/bpf/verifier/stack_ptr.c | 2 - .../selftests/bpf/verifier/value_ptr_arith.c | 8 --- virt/kvm/kvm_main.c | 18 +++++- 101 files changed, 708 insertions(+), 281 deletions(-)