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@xxxxxxxxxxxxxxxxxxx> Linux 5.10.77-rc1 Song Liu <songliubraving@xxxxxx> perf script: Check session->header.env.arch before using it Alexandre Ghiti <alexandre.ghiti@xxxxxxxxxxxxx> riscv: Fix asan-stack clang build Chen Lu <181250012@xxxxxxxxxxxxxxxx> riscv: fix misalgned trap vector base address Chanho Park <chanho61.park@xxxxxxxxxxx> scsi: ufs: ufs-exynos: Correct timeout value setting registers Halil Pasic <pasic@xxxxxxxxxxxxx> KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu Halil Pasic <pasic@xxxxxxxxxxxxx> KVM: s390: clear kicked_mask before sleeping again Alexey Denisov <rtgbnm@xxxxxxxxx> lan743x: fix endianness when accessing descriptors Xin Long <lucien.xin@xxxxxxxxx> sctp: add vtag check in sctp_sf_ootb Xin Long <lucien.xin@xxxxxxxxx> sctp: add vtag check in sctp_sf_do_8_5_1_E_sa Xin Long <lucien.xin@xxxxxxxxx> sctp: add vtag check in sctp_sf_violation Xin Long <lucien.xin@xxxxxxxxx> sctp: fix the processing for COOKIE_ECHO chunk Xin Long <lucien.xin@xxxxxxxxx> sctp: fix the processing for INIT_ACK chunk Xin Long <lucien.xin@xxxxxxxxx> sctp: use init_tag from inithdr for ABORT chunk Andrew Lunn <andrew@xxxxxxx> phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings Andrew Lunn <andrew@xxxxxxx> phy: phy_start_aneg: Add an unlocked version Andrew Lunn <andrew@xxxxxxx> phy: phy_ethtool_ksettings_set: Move after phy_start_aneg Andrew Lunn <andrew@xxxxxxx> phy: phy_ethtool_ksettings_get: Lock the phy for consistency Daniel Jordan <daniel.m.jordan@xxxxxxxxxx> net/tls: Fix flipped sign in async_wait.err assignment Trevor Woerner <twoerner@xxxxxxxxx> net: nxp: lpc_eth.c: avoid hang when bringing interface down Yuiko Oshino <yuiko.oshino@xxxxxxxxxxxxx> net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent Yuiko Oshino <yuiko.oshino@xxxxxxxxxxxxx> net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails Ido Schimmel <idosch@xxxxxxxxxx> mlxsw: pci: Recycle received packet upon allocation failure Guenter Roeck <linux@xxxxxxxxxxxx> nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST Jonas Gorski <jonas.gorski@xxxxxxxxx> gpio: xgs-iproc: fix parsing of ngpios property Mark Zhang <markzhang@xxxxxxxxxx> RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string Michael Chan <michael.chan@xxxxxxxxxxxx> net: Prevent infinite while loop in skb_tx_hash() Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx> cfg80211: correct bridge/4addr mode check Xin Long <lucien.xin@xxxxxxxxx> net-sysfs: initialize uid and gid before calling net_ns_get_ownership Pavel Skripkin <paskripkin@xxxxxxxxx> net: batman-adv: fix error handling Yang Yingliang <yangyingliang@xxxxxxxxxx> regmap: Fix possible double-free in regcache_rbtree_exit() Jim Quinlan <jim2101024@xxxxxxxxx> reset: brcmstb-rescal: fix incorrect polarity of status bit Clément Bœsch <u@xxxxxx> arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node Patrisious Haddad <phaddad@xxxxxxxxxx> RDMA/mlx5: Set user priority for DCT Rakesh Babu <rsaladi2@xxxxxxxxxxx> octeontx2-af: Display all enabled PF VF rsrc_alloc entries. Varun Prakash <varun@xxxxxxxxxxx> nvme-tcp: fix possible req->offset corruption Varun Prakash <varun@xxxxxxxxxxx> nvme-tcp: fix data digest pointer calculation Varun Prakash <varun@xxxxxxxxxxx> nvmet-tcp: fix data digest pointer calculation Mike Marciniszyn <mike.marciniszyn@xxxxxxxxxxxxxxxxxxxx> IB/hfi1: Fix abba locking issue with sc_disable() Mike Marciniszyn <mike.marciniszyn@xxxxxxxxxxxxxxxxxxxx> IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields Xu Kuohai <xukuohai@xxxxxxxxxx> bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch() Toke Høiland-Jørgensen <toke@xxxxxxxxxx> bpf: Fix potential race in tail call compatibility check Liu Jian <liujian56@xxxxxxxxxx> tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function Björn Töpel <bjorn@xxxxxxxxxx> riscv, bpf: Fix potential NULL dereference Quanyang Wang <quanyang.wang@xxxxxxxxxxxxx> cgroup: Fix memory leak caused by missing cgroup_bpf_offline Thelford Williams <tdwilliamsiv@xxxxxxxxx> drm/amdgpu: fix out of bounds write Christian König <christian.koenig@xxxxxxx> drm/ttm: fix memleak in ttm_transfered_destroy Rongwei Wang <rongwei.wang@xxxxxxxxxxxxxxxxx> mm, thp: bail out early in collapse_file for writeback page Johan Hovold <johan@xxxxxxxxxx> net: lan78xx: fix division by zero in send path Johannes Berg <johannes.berg@xxxxxxxxx> cfg80211: fix management registrations locking Johannes Berg <johannes.berg@xxxxxxxxx> cfg80211: scan: fix RCU in cfg80211_add_nontrans_list() Sagi Grimberg <sagi@xxxxxxxxxxx> nvme-tcp: fix H2CData PDU send accounting (again) Gautham Ananthakrishna <gautham.ananthakrishna@xxxxxxxxxx> ocfs2: fix race between searching chunks and release journal_head from buffer_head Haibo Chen <haibo.chen@xxxxxxx> mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit Shawn Guo <shawn.guo@xxxxxxxxxx> mmc: sdhci: Map more voltage level to SDHCI_POWER_330 Jaehoon Chung <jh80.chung@xxxxxxxxxxx> mmc: dw_mmc: exynos: fix the finding clock sample value Wenbin Mei <wenbin.mei@xxxxxxxxxxxx> mmc: mediatek: Move cqhci init behind ungate clock Wenbin Mei <wenbin.mei@xxxxxxxxxxxx> mmc: cqhci: clear HALT state after CQE enable Johan Hovold <johan@xxxxxxxxxx> mmc: vub300: fix control-message timeouts Daniel Jordan <daniel.m.jordan@xxxxxxxxxx> net/tls: Fix flipped sign in tls_err_abort() calls Pavel Skripkin <paskripkin@xxxxxxxxx> Revert "net: mdiobus: Fix memory leak in __mdiobus_register" Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx> nfc: port100: fix using -ERRNO as command type mask Max VA <maxv@xxxxxxxxxxxxxxx> tipc: fix size validations for the MSG_CRYPTO type Zheyu Ma <zheyuma97@xxxxxxxxx> ata: sata_mv: Fix the error handling of mv_chip_id() Sachi King <nakato@xxxxxxxxx> pinctrl: amd: disable and mask interrupts on probe Rafał Miłecki <rafal@xxxxxxxxxx> Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" Wang Hai <wanghai38@xxxxxxxxxx> usbnet: fix error return code in usbnet_probe() Oliver Neukum <oneukum@xxxxxxxx> usbnet: sanity check for maxpacket Theodore Ts'o <tytso@xxxxxxx> ext4: fix possible UAF when remounting r/o a mmp-protected file system Robin Murphy <robin.murphy@xxxxxxx> arm64: Avoid premature usercopy failure Naveen N. Rao <naveen.n.rao@xxxxxxxxxxxxxxxxxx> powerpc/bpf: Fix BPF_MOD when imm == 1 Pavel Begunkov <asml.silence@xxxxxxxxx> io_uring: don't take uring_lock during iowq cancel Arnd Bergmann <arnd@xxxxxxxx> ARM: 9141/1: only warn about XIP address when not compile testing Arnd Bergmann <arnd@xxxxxxxx> ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype Arnd Bergmann <arnd@xxxxxxxx> ARM: 9138/1: fix link warning with XIP + frame-pointer Arnd Bergmann <arnd@xxxxxxxx> ARM: 9134/1: remove duplicate memcpy() definition Nick Desaulniers <ndesaulniers@xxxxxxxxxx> ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned Lexi Shao <shaolexi@xxxxxxxxxx> 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(-)