[PATCH 5.10 000/104] 5.10.40-rc1 review

From: Greg Kroah-Hartman
Date: Mon May 24 2021 - 11:59:23 EST


This is the start of the stable review cycle for the 5.10.40 release.
There are 104 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, 26 May 2021 15:23:11 +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.10.40-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.10.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Linux 5.10.40-rc1

Joerg Roedel <jroedel@xxxxxxx>
x86/boot/compressed/64: Check SEV encryption in the 32-bit boot-path

Francois Gervais <fgervais@xxxxxxxxxxxxxxxxxxxx>
rtc: pcf85063: fallback to parent of_node

Christoph Hellwig <hch@xxxxxx>
nvme-multipath: fix double initialization of ANA state

Jan Beulich <jbeulich@xxxxxxxx>
x86/Xen: swap NX determination and GDT setup on BSP

Mike Rapoport <rppt@xxxxxxxxxx>
openrisc: mm/init.c: remove unused memblock_region variable in map_ram()

Simon Rettberg <simon.rettberg@xxxxxxxxxxxxxxxxxx>
drm/i915/gt: Disable HiZ Raw Stall Optimization on broken gen7

Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
tty: vt: always invoke vc->vc_sw->con_resize callback

Maciej W. Rozycki <macro@xxxxxxxxxxx>
vt: Fix character height handling with VT_RESIZEX

Maciej W. Rozycki <macro@xxxxxxxxxxx>
vt_ioctl: Revert VT_RESIZEX parameter handling removal

Maciej W. Rozycki <macro@xxxxxxxxxxx>
vgacon: Record video mode changes with VT_RESIZEX

Igor Matheus Andrade Torrente <igormtorrente@xxxxxxxxx>
video: hgafb: fix potential NULL pointer dereference

Tom Seewald <tseewald@xxxxxxxxx>
qlcnic: Add null check after calling netdev_alloc_skb

Phillip Potter <phil@xxxxxxxxxxxxxxxx>
leds: lp5523: check return value of lp5xx_read and jump to cleanup code

Darrick J. Wong <djwong@xxxxxxxxxx>
ics932s401: fix broken handling of errors when word reading fails

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
net: rtlwifi: properly check for alloc_workqueue() failure

Phillip Potter <phil@xxxxxxxxxxxxxxxx>
scsi: ufs: handle cleanup correctly on devm_reset_control_get error

Anirudh Rayabharam <mail@xxxxxxxxxxxxx>
net: stmicro: handle clk_prepare() failure during init

Du Cheng <ducheng2@xxxxxxxxx>
ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read()

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "niu: fix missing checks of niu_pci_eeprom_read"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "qlcnic: Avoid potential NULL pointer dereference"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "rtlwifi: fix a potential NULL pointer dereference"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "media: rcar_drif: fix a memory disclosure"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
cdrom: gdrom: initialize global variable at init time

Atul Gopinathan <atulgopinathan@xxxxxxxxx>
cdrom: gdrom: deallocate struct gdrom_unit fields in remove_gdrom

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "gdrom: fix a memory leak bug"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "scsi: ufs: fix a missing check of devm_reset_control_get"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "ecryptfs: replace BUG_ON with error handling code"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "video: imsttfb: fix potential NULL pointer dereferences"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "leds: lp5523: fix a missing check of return value of lp55xx_read"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "net: stmicro: fix a missing check of clk_prepare"

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "video: hgafb: fix potential NULL pointer dereference"

Arnd Bergmann <arnd@xxxxxxxx>
kcsan: Fix debugfs initcall return type

Mikulas Patocka <mpatocka@xxxxxxxxxx>
dm snapshot: fix crash with transient storage and zero chunk size

Mikulas Patocka <mpatocka@xxxxxxxxxx>
dm snapshot: fix a crash when an origin has no snapshots

Varad Gautam <varad.gautam@xxxxxxxx>
ipc/mqueue, msg, sem: avoid relying on a stack reference past its expiry

Jan Beulich <jbeulich@xxxxxxxx>
xen-pciback: reconfigure also from backend watch handler

Jan Beulich <jbeulich@xxxxxxxx>
xen-pciback: redo VF placement in the virtual topology

Daniel Beer <dlbeer@xxxxxxxxx>
mmc: sdhci-pci-gli: increase 1.8V regulator wait

Nicholas Piggin <npiggin@xxxxxxxxx>
powerpc/64s/syscall: Fix ptrace syscall info with scv syscalls

Nicholas Piggin <npiggin@xxxxxxxxx>
powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls

Guchun Chen <guchun.chen@xxxxxxx>
drm/amdgpu: update sdma golden setting for Navi12

Guchun Chen <guchun.chen@xxxxxxx>
drm/amdgpu: update gc golden setting for Navi12

Changfeng <Changfeng.Zhu@xxxxxxx>
drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang

Yi Li <liyi@xxxxxxxxxxx>
drm/amdgpu: Fix GPU TLB update error when PAGE_SIZE > AMDGPU_PAGE_SIZE

Joerg Roedel <jroedel@xxxxxxx>
x86/sev-es: Forward page-faults which happen during emulation

Joerg Roedel <jroedel@xxxxxxx>
x86/sev-es: Use __put_user()/__get_user() for data accesses

Joerg Roedel <jroedel@xxxxxxx>
x86/sev-es: Don't return NULL from sev_es_get_ghcb()

Tom Lendacky <thomas.lendacky@xxxxxxx>
x86/sev-es: Invalidate the GHCB after completing VMGEXIT

Tom Lendacky <thomas.lendacky@xxxxxxx>
x86/sev-es: Move sev_es_put_ghcb() in prep for follow on patch

Sagi Grimberg <sagi@xxxxxxxxxxx>
nvme-tcp: fix possible use-after-completion

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference"

Anirudh Rayabharam <mail@xxxxxxxxxxxxx>
rapidio: handle create_workqueue() failure

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "rapidio: fix a NULL pointer dereference when create_workqueue() fails"

Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
uio_hv_generic: Fix a memory leak in error handling paths

Elia Devito <eliadevito@xxxxxxxxx>
ALSA: hda/realtek: Add fixup for HP Spectre x360 15-df0xxx

Takashi Iwai <tiwai@xxxxxxx>
ALSA: hda/realtek: Add fixup for HP OMEN laptop

Takashi Iwai <tiwai@xxxxxxx>
ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA

PeiSen Hou <pshou@xxxxxxxxxxx>
ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293

Hui Wang <hui.wang@xxxxxxxxxxxxx>
ALSA: hda/realtek: reset eapd coeff to default value for alc287

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: firewire-lib: fix check for the size of isochronous packet payload

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Revert "ALSA: sb8: add a check for request_region"

Daniel Cordova A <danesc87@xxxxxxxxx>
ALSA: hda: fixup headset for ASUS GU502 laptop

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro

Takashi Iwai <tiwai@xxxxxxx>
ALSA: usb-audio: Validate MS endpoint descriptors

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: firewire-lib: fix calculation for size of IR context payload

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26

Takashi Iwai <tiwai@xxxxxxx>
ALSA: line6: Fix racy initialization of LINE6 MIDI

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: firewire-lib: fix amdtp_packet tracepoints event for packet_index field

Takashi Iwai <tiwai@xxxxxxx>
ALSA: intel8x0: Don't update period unless prepared

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency

Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx>
misc: eeprom: at24: check suspend status before disable regulator

Ronnie Sahlberg <lsahlber@xxxxxxxxxx>
cifs: fix memory leak in smb2_copychunk_range

Josef Bacik <josef@xxxxxxxxxxxxxx>
btrfs: avoid RCU stalls while running delayed iputs

Alexey Kardashevskiy <aik@xxxxxxxxx>
powerpc: Fix early setup to make early_ioremap() work

Zqiang <qiang.zhang@xxxxxxxxxxxxx>
locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal

Leo Yan <leo.yan@xxxxxxxxxx>
locking/lockdep: Correct calling tracepoints

Like Xu <like.xu@xxxxxxxxxxxxxxx>
perf/x86: Avoid touching LBR_TOS MSR for Arch LBR

Daniel Wagner <dwagner@xxxxxxx>
nvmet: seset ns->file when open fails

Oleg Nesterov <oleg@xxxxxxxxxx>
ptrace: make ptrace() fail if the tracee changed its pid unexpectedly

Nicholas Piggin <npiggin@xxxxxxxxx>
powerpc/pseries: Fix hcall tracing recursion in pv queued spinlocks

Yang Yingliang <yangyingliang@xxxxxxxxxx>
tools/testing/selftests/exec: fix link error

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
RDMA/uverbs: Fix a NULL vs IS_ERR() bug

Maor Gottlieb <maorg@xxxxxxxxxx>
RDMA/mlx5: Fix query DCT via DEVX

Hans de Goede <hdegoede@xxxxxxxxxx>
platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios

Hans de Goede <hdegoede@xxxxxxxxxx>
platform/x86: intel_int0002_vgpio: Only call enable_irq_wake() when using s2idle

Liming Sun <limings@xxxxxxxxxx>
platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue

James Smart <jsmart2021@xxxxxxxxx>
nvme-fc: clear q_live at beginning of association teardown

Keith Busch <kbusch@xxxxxxxxxx>
nvme-tcp: rerun io_work if req_list is not empty

Wu Bo <wubo40@xxxxxxxxxx>
nvme-loop: fix memory leak in nvme_loop_create_ctrl()

Wu Bo <wubo40@xxxxxxxxxx>
nvmet: fix memory leak in nvmet_alloc_ctrl()

Amit <amit.engel@xxxxxxxx>
nvmet: remove unused ctrl->cqs

Shay Drory <shayd@xxxxxxxxxx>
RDMA/core: Don't access cm_id after its destruction

Maor Gottlieb <maorg@xxxxxxxxxx>
RDMA/mlx5: Recover from fatal event in dual port mode

Zhen Lei <thunder.leizhen@xxxxxxxxxx>
scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword()

Javed Hasan <jhasan@xxxxxxxxxxx>
scsi: qedf: Add pointer checks in qedf_update_link_speed()

Bart Van Assche <bvanassche@xxxxxxx>
scsi: ufs: core: Increase the usable queue depth

Leon Romanovsky <leon@xxxxxxxxxx>
RDMA/rxe: Clear all QP fields if creation failed

Leon Romanovsky <leon@xxxxxxxxxx>
RDMA/core: Prevent divide-by-zero error triggered by the user

Leon Romanovsky <leon@xxxxxxxxxx>
RDMA/siw: Release xarray entry

Leon Romanovsky <leon@xxxxxxxxxx>
RDMA/siw: Properly check send and receive CQ pointers

Rijo Thomas <Rijo-john.Thomas@xxxxxxx>
tee: amdtee: unload TA only when its refcount becomes 0

Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
openrisc: Fix a memory leak

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
firmware: arm_scpi: Prevent the ternary sign expansion bug


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

Diffstat:

Documentation/powerpc/syscall64-abi.rst | 10 ++
Makefile | 4 +-
arch/openrisc/kernel/setup.c | 2 +
arch/openrisc/mm/init.c | 3 +-
arch/powerpc/include/asm/hvcall.h | 3 +
arch/powerpc/include/asm/paravirt.h | 22 +++-
arch/powerpc/include/asm/ptrace.h | 45 ++++---
arch/powerpc/include/asm/syscall.h | 42 ++++---
arch/powerpc/kernel/setup_64.c | 4 +-
arch/powerpc/platforms/pseries/hvCall.S | 10 ++
arch/powerpc/platforms/pseries/lpar.c | 3 +-
arch/x86/boot/compressed/head_64.S | 85 +++++++++++++
arch/x86/events/intel/core.c | 2 +-
arch/x86/kernel/sev-es-shared.c | 1 +
arch/x86/kernel/sev-es.c | 136 +++++++++++++--------
arch/x86/xen/enlighten_pv.c | 8 +-
drivers/cdrom/gdrom.c | 13 +-
drivers/firmware/arm_scpi.c | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 6 +-
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 10 +-
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 4 +
drivers/gpu/drm/amd/amdgpu/soc15.c | 2 -
drivers/gpu/drm/i915/gt/gen7_renderclear.c | 5 +-
drivers/hwmon/lm80.c | 11 +-
drivers/infiniband/core/cma.c | 5 +-
drivers/infiniband/core/uverbs_std_types_device.c | 7 +-
drivers/infiniband/hw/mlx5/devx.c | 6 +-
drivers/infiniband/hw/mlx5/main.c | 1 +
drivers/infiniband/sw/rxe/rxe_qp.c | 7 ++
drivers/infiniband/sw/siw/siw_verbs.c | 11 +-
drivers/leds/leds-lp5523.c | 2 +-
drivers/md/dm-snap.c | 6 +-
drivers/media/platform/rcar_drif.c | 1 -
drivers/misc/eeprom/at24.c | 6 +-
drivers/misc/ics932s401.c | 2 +-
drivers/mmc/host/sdhci-pci-gli.c | 7 +-
.../net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c | 3 +-
drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 8 +-
drivers/net/ethernet/sun/niu.c | 32 +++--
drivers/net/wireless/realtek/rtlwifi/base.c | 18 +--
drivers/nvme/host/core.c | 3 +-
drivers/nvme/host/fc.c | 12 ++
drivers/nvme/host/multipath.c | 55 +++++----
drivers/nvme/host/nvme.h | 8 +-
drivers/nvme/host/tcp.c | 5 +-
drivers/nvme/target/core.c | 15 +--
drivers/nvme/target/io-cmd-file.c | 8 +-
drivers/nvme/target/loop.c | 4 +-
drivers/nvme/target/nvmet.h | 1 -
drivers/platform/mellanox/mlxbf-tmfifo.c | 11 +-
drivers/platform/x86/Kconfig | 2 +-
drivers/platform/x86/dell-smbios-wmi.c | 3 +-
drivers/platform/x86/intel_int0002_vgpio.c | 80 ++++++++----
drivers/rapidio/rio_cm.c | 17 ++-
drivers/rtc/rtc-pcf85063.c | 7 +-
drivers/scsi/qedf/qedf_main.c | 4 +-
drivers/scsi/qla2xxx/qla_nx.c | 3 +-
drivers/scsi/ufs/ufs-hisi.c | 15 ++-
drivers/scsi/ufs/ufshcd.c | 5 +-
drivers/tee/amdtee/amdtee_private.h | 13 ++
drivers/tee/amdtee/call.c | 94 ++++++++++++--
drivers/tee/amdtee/core.c | 15 ++-
drivers/tty/serial/mvebu-uart.c | 3 -
drivers/tty/vt/vt.c | 2 +-
drivers/tty/vt/vt_ioctl.c | 57 +++++++--
drivers/uio/uio_hv_generic.c | 8 +-
drivers/video/console/vgacon.c | 56 +++++----
drivers/video/fbdev/core/fbcon.c | 2 +-
drivers/video/fbdev/hgafb.c | 21 ++--
drivers/video/fbdev/imsttfb.c | 5 -
drivers/xen/xen-pciback/vpci.c | 14 ++-
drivers/xen/xen-pciback/xenbus.c | 22 +++-
fs/btrfs/inode.c | 1 +
fs/cifs/smb2ops.c | 2 +
fs/ecryptfs/crypto.c | 6 +-
include/linux/console_struct.h | 1 +
ipc/mqueue.c | 6 +-
ipc/msg.c | 6 +-
ipc/sem.c | 6 +-
kernel/kcsan/debugfs.c | 3 +-
kernel/locking/lockdep.c | 4 +-
kernel/locking/mutex-debug.c | 4 +-
kernel/locking/mutex-debug.h | 2 +-
kernel/locking/mutex.c | 18 ++-
kernel/locking/mutex.h | 4 +-
kernel/ptrace.c | 18 ++-
sound/firewire/Kconfig | 4 +-
sound/firewire/amdtp-stream-trace.h | 6 +-
sound/firewire/amdtp-stream.c | 42 ++++---
sound/firewire/bebob/bebob.c | 2 +-
sound/firewire/dice/dice-alesis.c | 2 +-
sound/firewire/dice/dice-tcelectronic.c | 4 +-
sound/firewire/oxfw/oxfw.c | 1 -
sound/isa/sb/sb8.c | 4 -
sound/pci/hda/patch_realtek.c | 135 +++++++++++++++++++-
sound/pci/intel8x0.c | 7 ++
sound/usb/line6/driver.c | 4 +
sound/usb/line6/pod.c | 5 -
sound/usb/line6/variax.c | 6 -
sound/usb/midi.c | 4 +
tools/testing/selftests/exec/Makefile | 6 +-
tools/testing/selftests/seccomp/seccomp_bpf.c | 27 ++--
103 files changed, 1035 insertions(+), 434 deletions(-)