[PATCH 5.4 00/50] 5.4.149-rc1 review

From: Greg Kroah-Hartman
Date: Fri Sep 24 2021 - 08:55:45 EST


This is the start of the stable review cycle for the 5.4.149 release.
There are 50 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 Sun, 26 Sep 2021 12:43:20 +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.149-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.149-rc1

Guenter Roeck <linux@xxxxxxxxxxxx>
drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV

Yu-Tung Chang <mtwget@xxxxxxxxx>
rtc: rx8010: select REGMAP_I2C

Li Jinlin <lijinlin3@xxxxxxxxxx>
blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()

Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
pwm: stm32-lp: Don't modify HW state in .remove() callback

Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
pwm: rockchip: Don't modify HW state in .remove() callback

Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
pwm: img: Don't modify HW state in .remove() callback

Nanyong Sun <sunnanyong@xxxxxxxxxx>
nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group

Nanyong Sun <sunnanyong@xxxxxxxxxx>
nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group

Nanyong Sun <sunnanyong@xxxxxxxxxx>
nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group

Nanyong Sun <sunnanyong@xxxxxxxxxx>
nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group

Nanyong Sun <sunnanyong@xxxxxxxxxx>
nilfs2: fix NULL pointer in nilfs_##name##_attr_release

Nanyong Sun <sunnanyong@xxxxxxxxxx>
nilfs2: fix memory leak in nilfs_sysfs_create_device_group

Anand Jain <anand.jain@xxxxxxxxxx>
btrfs: fix lockdep warning while mounting sprout fs

Jeff Layton <jlayton@xxxxxxxxxx>
ceph: lockdep annotations for try_nonblocking_invalidate

Jeff Layton <jlayton@xxxxxxxxxx>
ceph: request Fw caps before updating the mtime in ceph_write_iter

Radhey Shyam Pandey <radhey.shyam.pandey@xxxxxxxxxx>
dmaengine: xilinx_dma: Set DMA mask for coherent APIs

Johannes Berg <johannes.berg@xxxxxxxxx>
dmaengine: ioat: depends on !UML

Zou Wei <zou_wei@xxxxxxxxxx>
dmaengine: sprd: Add missing MODULE_DEVICE_TABLE

Guenter Roeck <linux@xxxxxxxxxxxx>
parisc: Move pci_dev_is_behind_card_dino to where it is used

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()

Arnd Bergmann <arnd@xxxxxxxx>
thermal/core: Fix thermal_cooling_device_register() prototype

Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>
Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH

Jongsung Kim <neidhard.kim@xxxxxxx>
net: stmmac: reset Tx desc base address before restarting Tx

Petr Oros <poros@xxxxxxxxxx>
phy: avoid unnecessary link-up delay in polling mode

Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
pwm: mxs: Don't modify HW state in .probe() after the PWM chip was registered

Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered

Pavel Skripkin <paskripkin@xxxxxxxxx>
profiling: fix shift-out-of-bounds bugs

Zhen Lei <thunder.leizhen@xxxxxxxxxx>
nilfs2: use refcount_dec_and_lock() to fix potential UAF

Cyrill Gorcunov <gorcunov@xxxxxxxxx>
prctl: allow to setup brk for et_dyn executables

Xie Yongji <xieyongji@xxxxxxxxxxxxx>
9p/trans_virtio: Remove sysfs file on probe failure

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()

Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
dmaengine: acpi: Avoid comparison GSI with Linux vIRQ

Johannes Berg <johannes.berg@xxxxxxxxx>
um: virtio_uml: fix memory leak on init failures

Nathan Chancellor <nathan@xxxxxxxxxx>
staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb()

Marcelo Ricardo Leitner <marcelo.leitner@xxxxxxxxx>
sctp: add param size validation for SCTP_PARAM_SET_PRIMARY

Marcelo Ricardo Leitner <marcelo.leitner@xxxxxxxxx>
sctp: validate chunk size in __rcv_asconf_lookup

Alex Sverdlin <alexander.sverdlin@xxxxxxxxx>
ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE

Alex Sverdlin <alexander.sverdlin@xxxxxxxxx>
ARM: 9079/1: ftrace: Add MODULE_PLTS support

Alex Sverdlin <alexander.sverdlin@xxxxxxxxx>
ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link()

Alex Sverdlin <alexander.sverdlin@xxxxxxxxx>
ARM: 9077/1: PLT: Move struct plt_entries definition to header

Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
apparmor: remove duplicate macro list_entry_is_head()

Florian Fainelli <f.fainelli@xxxxxxxxx>
ARM: Qualify enabling of swiotlb_init()

David Hildenbrand <david@xxxxxxxxxx>
s390/pci_mmio: fully validate the VMA before calling follow_pte()

nick black <dankamongmen@xxxxxxxxx>
console: consume APC, DM, DCS

Radim Krčmář <rkrcmar@xxxxxxxxxx>
KVM: remember position in kvm->vcpus array

Tuan Phan <tuanphan@xxxxxxxxxxxxxxxxxxxxxx>
PCI/ACPI: Add Ampere Altra SOC MCFG quirk

Pali Rohár <pali@xxxxxxxxxx>
PCI: aardvark: Fix reporting CRS value

Pali Rohár <pali@xxxxxxxxxx>
PCI: pci-bridge-emul: Add PCIe Root Capabilities Register

Pali Rohár <pali@xxxxxxxxxx>
PCI: aardvark: Indicate error in 'val' when config read fails

Grzegorz Jaszczyk <jaz@xxxxxxxxxxxx>
PCI: pci-bridge-emul: Fix big-endian support


-------------

Diffstat:

Makefile | 4 +-
arch/arm/include/asm/ftrace.h | 3 +
arch/arm/include/asm/insn.h | 8 +--
arch/arm/include/asm/module.h | 10 +++
arch/arm/kernel/ftrace.c | 46 ++++++++++---
arch/arm/kernel/insn.c | 19 +++---
arch/arm/kernel/module-plts.c | 49 ++++++++++----
arch/arm/mm/init.c | 6 +-
arch/arm64/kernel/cacheinfo.c | 7 +-
arch/mips/kernel/cacheinfo.c | 7 +-
arch/riscv/kernel/cacheinfo.c | 7 +-
arch/s390/pci/pci_mmio.c | 2 +-
arch/um/drivers/virtio_uml.c | 4 +-
arch/x86/kernel/cpu/cacheinfo.c | 7 +-
block/blk-throttle.c | 1 +
drivers/acpi/pci_mcfg.c | 20 ++++++
drivers/dma/Kconfig | 2 +-
drivers/dma/acpi-dma.c | 10 ++-
drivers/dma/sprd-dma.c | 1 +
drivers/dma/xilinx/xilinx_dma.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c | 2 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +
drivers/net/phy/phy-c45.c | 5 +-
drivers/net/phy/phy_device.c | 5 +-
drivers/parisc/dino.c | 18 +++---
drivers/pci/controller/pci-aardvark.c | 71 +++++++++++++++++++--
drivers/pci/ecam.c | 10 +++
drivers/pci/pci-bridge-emul.c | 25 ++++----
drivers/pci/pci-bridge-emul.h | 78 +++++++++++------------
drivers/pwm/pwm-img.c | 16 -----
drivers/pwm/pwm-lpc32xx.c | 10 +--
drivers/pwm/pwm-mxs.c | 13 ++--
drivers/pwm/pwm-rockchip.c | 14 ----
drivers/pwm/pwm-stm32-lp.c | 2 -
drivers/rtc/Kconfig | 1 +
drivers/staging/rtl8192u/r8192U_core.c | 2 +-
drivers/thermal/samsung/exynos_tmu.c | 1 +
drivers/tty/vt/vt.c | 31 +++++++--
fs/btrfs/volumes.c | 7 +-
fs/ceph/caps.c | 2 +
fs/ceph/file.c | 32 +++++-----
fs/nilfs2/sysfs.c | 26 ++++----
fs/nilfs2/the_nilfs.c | 9 ++-
include/linux/cacheinfo.h | 18 ------
include/linux/kvm_host.h | 11 +---
include/linux/pci-ecam.h | 1 +
include/linux/thermal.h | 5 +-
kernel/profile.c | 21 +++---
kernel/sys.c | 7 --
lib/Kconfig.debug | 1 -
net/9p/trans_virtio.c | 4 +-
net/sctp/input.c | 3 +
net/sctp/sm_make_chunk.c | 13 +++-
security/apparmor/apparmorfs.c | 3 -
virt/kvm/kvm_main.c | 5 +-
55 files changed, 414 insertions(+), 275 deletions(-)