[PATCH 5.10 00/77] 5.10.77-rc1 review

Greg Kroah-Hartman
2021-11-01T09:35:41Z

This is the start of the stable review cycle for the 5.10.77 release.
There are 77 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, 03 Nov 2021 08:24: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.10.77-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@linuxfoundation.org>
Linux 5.10.77-rc1

Song Liu <songliubraving@fb.com>
perf script: Check session->header.env.arch before using it

Alexandre Ghiti <alexandre.ghiti@canonical.com>
riscv: Fix asan-stack clang build

Chen Lu <181250012@smail.nju.edu.cn>
riscv: fix misalgned trap vector base address

Chanho Park <chanho61.park@samsung.com>
scsi: ufs: ufs-exynos: Correct timeout value setting registers

Halil Pasic <pasic@linux.ibm.com>
KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu

Halil Pasic <pasic@linux.ibm.com>
KVM: s390: clear kicked_mask before sleeping again

Alexey Denisov <rtgbnm@gmail.com>
lan743x: fix endianness when accessing descriptors

Xin Long <lucien.xin@gmail.com>
sctp: add vtag check in sctp_sf_ootb

Xin Long <lucien.xin@gmail.com>
sctp: add vtag check in sctp_sf_do_8_5_1_E_sa

Xin Long <lucien.xin@gmail.com>
sctp: add vtag check in sctp_sf_violation

Xin Long <lucien.xin@gmail.com>
sctp: fix the processing for COOKIE_ECHO chunk

Xin Long <lucien.xin@gmail.com>
sctp: fix the processing for INIT_ACK chunk

Xin Long <lucien.xin@gmail.com>
sctp: use init_tag from inithdr for ABORT chunk

Andrew Lunn <andrew@lunn.ch>
phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings

Andrew Lunn <andrew@lunn.ch>
phy: phy_start_aneg: Add an unlocked version

Andrew Lunn <andrew@lunn.ch>
phy: phy_ethtool_ksettings_set: Move after phy_start_aneg

Andrew Lunn <andrew@lunn.ch>
phy: phy_ethtool_ksettings_get: Lock the phy for consistency

Daniel Jordan <daniel.m.jordan@oracle.com>
net/tls: Fix flipped sign in async_wait.err assignment

Trevor Woerner <twoerner@gmail.com>
net: nxp: lpc_eth.c: avoid hang when bringing interface down

Yuiko Oshino <yuiko.oshino@microchip.com>
net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent

Yuiko Oshino <yuiko.oshino@microchip.com>
net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails

Ido Schimmel <idosch@nvidia.com>
mlxsw: pci: Recycle received packet upon allocation failure

Guenter Roeck <linux@roeck-us.net>
nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST

Jonas Gorski <jonas.gorski@gmail.com>
gpio: xgs-iproc: fix parsing of ngpios property

Mark Zhang <markzhang@nvidia.com>
RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string

Michael Chan <michael.chan@broadcom.com>
net: Prevent infinite while loop in skb_tx_hash()

Janusz Dziedzic <janusz.dziedzic@gmail.com>
cfg80211: correct bridge/4addr mode check

Xin Long <lucien.xin@gmail.com>
net-sysfs: initialize uid and gid before calling net_ns_get_ownership

Pavel Skripkin <paskripkin@gmail.com>
net: batman-adv: fix error handling

Yang Yingliang <yangyingliang@huawei.com>
regmap: Fix possible double-free in regcache_rbtree_exit()

Jim Quinlan <jim2101024@gmail.com>
reset: brcmstb-rescal: fix incorrect polarity of status bit

Clément Bœsch <u@pkh.me>
arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node

Patrisious Haddad <phaddad@nvidia.com>
RDMA/mlx5: Set user priority for DCT

Rakesh Babu <rsaladi2@marvell.com>
octeontx2-af: Display all enabled PF VF rsrc_alloc entries.

Varun Prakash <varun@chelsio.com>
nvme-tcp: fix possible req->offset corruption

Varun Prakash <varun@chelsio.com>
nvme-tcp: fix data digest pointer calculation

Varun Prakash <varun@chelsio.com>
nvmet-tcp: fix data digest pointer calculation

Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
IB/hfi1: Fix abba locking issue with sc_disable()

Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields

Xu Kuohai <xukuohai@huawei.com>
bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()

Toke Høiland-Jørgensen <toke@redhat.com>
bpf: Fix potential race in tail call compatibility check

Liu Jian <liujian56@huawei.com>
tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function

Björn Töpel <bjorn@kernel.org>
riscv, bpf: Fix potential NULL dereference

Quanyang Wang <quanyang.wang@windriver.com>
cgroup: Fix memory leak caused by missing cgroup_bpf_offline

Thelford Williams <tdwilliamsiv@gmail.com>
drm/amdgpu: fix out of bounds write

Christian König <christian.koenig@amd.com>
drm/ttm: fix memleak in ttm_transfered_destroy

Rongwei Wang <rongwei.wang@linux.alibaba.com>
mm, thp: bail out early in collapse_file for writeback page

Johan Hovold <johan@kernel.org>
net: lan78xx: fix division by zero in send path

Johannes Berg <johannes.berg@intel.com>
cfg80211: fix management registrations locking

Johannes Berg <johannes.berg@intel.com>
cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()

Sagi Grimberg <sagi@grimberg.me>
nvme-tcp: fix H2CData PDU send accounting (again)

Gautham Ananthakrishna <gautham.ananthakrishna@oracle.com>
ocfs2: fix race between searching chunks and release journal_head from buffer_head

Haibo Chen <haibo.chen@nxp.com>
mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit

Shawn Guo <shawn.guo@linaro.org>
mmc: sdhci: Map more voltage level to SDHCI_POWER_330

Jaehoon Chung <jh80.chung@samsung.com>
mmc: dw_mmc: exynos: fix the finding clock sample value

Wenbin Mei <wenbin.mei@mediatek.com>
mmc: mediatek: Move cqhci init behind ungate clock

Wenbin Mei <wenbin.mei@mediatek.com>
mmc: cqhci: clear HALT state after CQE enable

Johan Hovold <johan@kernel.org>
mmc: vub300: fix control-message timeouts

Daniel Jordan <daniel.m.jordan@oracle.com>
net/tls: Fix flipped sign in tls_err_abort() calls

Pavel Skripkin <paskripkin@gmail.com>
Revert "net: mdiobus: Fix memory leak in __mdiobus_register"

Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
nfc: port100: fix using -ERRNO as command type mask

Max VA <maxv@sentinelone.com>
tipc: fix size validations for the MSG_CRYPTO type

Zheyu Ma <zheyuma97@gmail.com>
ata: sata_mv: Fix the error handling of mv_chip_id()

Sachi King <nakato@nakato.io>
pinctrl: amd: disable and mask interrupts on probe

Rafał Miłecki <rafal@milecki.pl>
Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"

Wang Hai <wanghai38@huawei.com>
usbnet: fix error return code in usbnet_probe()

Oliver Neukum <oneukum@suse.com>
usbnet: sanity check for maxpacket

Theodore Ts'o <tytso@mit.edu>
ext4: fix possible UAF when remounting r/o a mmp-protected file system

Robin Murphy <robin.murphy@arm.com>
arm64: Avoid premature usercopy failure

Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
powerpc/bpf: Fix BPF_MOD when imm == 1

Pavel Begunkov <asml.silence@gmail.com>
io_uring: don't take uring_lock during iowq cancel

Arnd Bergmann <arnd@arndb.de>
ARM: 9141/1: only warn about XIP address when not compile testing

Arnd Bergmann <arnd@arndb.de>
ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype

Arnd Bergmann <arnd@arndb.de>
ARM: 9138/1: fix link warning with XIP + frame-pointer

Arnd Bergmann <arnd@arndb.de>
ARM: 9134/1: remove duplicate memcpy() definition

Nick Desaulniers <ndesaulniers@google.com>
ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned

Lexi Shao <shaolexi@huawei.com>
ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images

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

Diffstat:

Makefile | 4 +-
arch/arm/boot/compressed/decompress.c | 3 +
arch/arm/include/asm/uaccess.h | 4 +-
arch/arm/kernel/vmlinux-xip.lds.S | 6 +-
arch/arm/mm/proc-macros.S | 1 +
arch/arm/probes/kprobes/core.c | 2 +-
.../boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts | 2 +-
arch/arm64/lib/copy_from_user.S | 13 +-
arch/arm64/lib/copy_in_user.S | 21 ++--
arch/arm64/lib/copy_to_user.S | 14 ++-
arch/nios2/platform/Kconfig.platform | 1 +
arch/powerpc/net/bpf_jit_comp64.c | 10 +-
arch/riscv/Kconfig | 6 +
arch/riscv/include/asm/kasan.h | 3 +-
arch/riscv/kernel/head.S | 1 +
arch/riscv/mm/kasan_init.c | 3 +
arch/riscv/net/bpf_jit_core.c | 3 +-
arch/s390/kvm/interrupt.c | 5 +-
arch/s390/kvm/kvm-s390.c | 1 +
drivers/ata/sata_mv.c | 4 +-
drivers/base/regmap/regcache-rbtree.c | 7 +-
drivers/gpio/gpio-xgs-iproc.c | 2 +-
.../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 2 +-
drivers/gpu/drm/ttm/ttm_bo_util.c | 1 +
drivers/infiniband/core/sa_query.c | 5 +-
drivers/infiniband/hw/hfi1/pio.c | 9 +-
drivers/infiniband/hw/mlx5/qp.c | 2 +
drivers/infiniband/hw/qib/qib_user_sdma.c | 33 +++--
drivers/mmc/host/cqhci.c | 3 +
drivers/mmc/host/dw_mmc-exynos.c | 14 +++
drivers/mmc/host/mtk-sd.c | 38 +++---
drivers/mmc/host/sdhci-esdhc-imx.c | 16 +++
drivers/mmc/host/sdhci.c | 6 +
drivers/mmc/host/vub300.c | 18 +--
.../ethernet/marvell/octeontx2/af/rvu_debugfs.c | 138 +++++++++++++++-----
drivers/net/ethernet/mellanox/mlxsw/pci.c | 25 ++--
drivers/net/ethernet/microchip/lan743x_main.c | 88 ++++++++-----
drivers/net/ethernet/microchip/lan743x_main.h | 20 +--
drivers/net/ethernet/nxp/lpc_eth.c | 5 +-
drivers/net/phy/mdio_bus.c | 1 -
drivers/net/phy/phy.c | 140 ++++++++++++---------
drivers/net/usb/lan78xx.c | 6 +
drivers/net/usb/usbnet.c | 5 +
drivers/nfc/port100.c | 4 +-
drivers/nvme/host/tcp.c | 9 +-
drivers/nvme/target/tcp.c | 2 +-
drivers/pinctrl/bcm/pinctrl-ns.c | 29 ++---
drivers/pinctrl/pinctrl-amd.c | 31 +++++
drivers/reset/reset-brcmstb-rescal.c | 2 +-
drivers/scsi/ufs/ufs-exynos.c | 6 +-
fs/ext4/mmp.c | 31 +++--
fs/ext4/super.c | 6 +-
fs/io_uring.c | 2 +
fs/ocfs2/suballoc.c | 22 ++--
include/linux/bpf.h | 7 +-
include/net/cfg80211.h | 2 -
include/net/tls.h | 9 +-
kernel/bpf/arraymap.c | 1 +
kernel/bpf/core.c | 20 +--
kernel/bpf/syscall.c | 11 +-
kernel/cgroup/cgroup.c | 4 +-
mm/khugepaged.c | 7 +-
net/batman-adv/bridge_loop_avoidance.c | 8 +-
net/batman-adv/main.c | 56 ++++++---
net/batman-adv/network-coding.c | 4 +-
net/batman-adv/translation-table.c | 4 +-
net/core/dev.c | 6 +
net/core/net-sysfs.c | 4 +-
net/ipv4/tcp_bpf.c | 12 ++
net/sctp/sm_statefuns.c | 67 +++++-----
net/tipc/crypto.c | 32 +++--
net/tls/tls_sw.c | 19 ++-
net/wireless/core.c | 2 +-
net/wireless/core.h | 2 +
net/wireless/mlme.c | 26 ++--
net/wireless/scan.c | 7 +-
net/wireless/util.c | 14 +--
tools/perf/builtin-script.c | 12 +-
78 files changed, 772 insertions(+), 399 deletions(-)