Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81FF4C05027 for ; Tue, 14 Feb 2023 17:41:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232864AbjBNRlb (ORCPT ); Tue, 14 Feb 2023 12:41:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233011AbjBNRlY (ORCPT ); Tue, 14 Feb 2023 12:41:24 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C5A323127; Tue, 14 Feb 2023 09:41:14 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 21C14CE217D; Tue, 14 Feb 2023 17:41:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBED2C4339B; Tue, 14 Feb 2023 17:41:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1676396470; bh=vFYV457dqWQ9Xbj7rreExa5InfnlwbNj0ViChYfD+/E=; h=From:To:Cc:Subject:Date:From; b=hFBPLE/zc9Ji0oNRgN/J4dzE8G8QOBold2SiabHJFPRpteYJcKJmPJFKtC/I6PljV 1xKQzeTiJVXWmaHIuQ6h6s1I/MONm32nyNFoHMD+nVybq4kv+GX8klpIsg/jnlBjJC ka8k7nysvv0KfdiCn6fuP+Sej/oLVJ5ReSUwcz48= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de Subject: [PATCH 5.10 000/134] 5.10.168-rc2 review Date: Tue, 14 Feb 2023 18:41:06 +0100 Message-Id: <20230214172549.450713187@linuxfoundation.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.10.168-rc2.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.10.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.10.168-rc2 X-KernelTest-Deadline: 2023-02-16T17:25+00:00 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the start of the stable review cycle for the 5.10.168 release. There are 134 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, 16 Feb 2023 17:25:19 +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.168-rc2.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 Linux 5.10.168-rc2 David Chen Fix page corruption caused by racy check in __free_pages Heiner Kallweit arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive Heiner Kallweit arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive Heiner Kallweit arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive Guo Ren riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte Xiubo Li ceph: flush cap releases when the session is flushed Prashant Malani usb: typec: altmodes/displayport: Fix probe pin assign check Mark Pearson usb: core: add quirk for Alcor Link AK9563 smartcard reader Anand Jain btrfs: free device in btrfs_close_devices for a single device filesystem Alan Stern net: USB: Fix wrong-direction WARNING in plusb.c ZhaoLong Wang cifs: Fix use-after-free in rdata->read_into_pages() Andy Shevchenko pinctrl: intel: Restore the pins that used to be in Direct IRQ mode Serge Semin spi: dw: Fix wrong FIFO level setting for long xfers Maxim Korotkov pinctrl: single: fix potential NULL dereference Joel Stanley pinctrl: aspeed: Fix confusing types in return value Dan Carpenter ALSA: pci: lx6464es: fix a debug loop Hangbin Liu selftests: forwarding: lib: quote the sysctl values Pietro Borrello rds: rds_rm_zerocopy_callback() use list_first_entry() Shay Drory net/mlx5: fw_tracer, Zero consumer index when reloading the tracer Shay Drory net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers Dragos Tatulea net/mlx5e: IPoIB, Show unknown speed instead of error Vladimir Oltean net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q" Anirudh Venkataramanan ice: Do not use WQ_MEM_RECLAIM flag for workqueue Herton R. Krzesinski uapi: add missing ip/ipv6 header dependencies for linux/stddef.h Neel Patel ionic: clean interrupt before enabling queue to avoid credit race Heiner Kallweit net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY Qi Zheng bonding: fix error checking in bond_debug_reregister() Christian Hopps xfrm: fix bug with DSCP copy to v6 from v4 tunnel Yang Yingliang RDMA/usnic: use iommu_map_atomic() under spin_lock() Dragos Tatulea IB/IPoIB: Fix legacy IPoIB due to wrong number of queues Eric Dumazet xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr() Dean Luick IB/hfi1: Restore allocated resources on failed copyout Anastasia Belova xfrm: compat: change expression for switch in xfrm_xlate64 Devid Antonio Filoni can: j1939: do not wait 250 ms if the same addr was already claimed Mark Brown of/address: Return an error when no valid dma-ranges are found Shiju Jose tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw Guillaume Pinot ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360 Artemii Karasev ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() Edson Juliano Drosdeck ALSA: hda/realtek: Add Positivo N14KP6-TG Alexander Potapenko btrfs: zlib: zero-initialize zlib workspace Josef Bacik btrfs: limit device extents to the device size Mike Kravetz migrate: hugetlb: check for hugetlb shared PMD in node migration Miaohe Lin mm/migration: return errno when isolate_huge_page failed Andreas Kemnade iio:adc:twl6030: Enable measurement of VAC Martin KaFai Lau bpf: Do not reject when the stack read size is different from the tracked scalar size Christophe Kerello nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property Minsuk Kang wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads Chao Yu f2fs: fix to do sanity check on i_extra_isize in is_alive() Dongliang Mu fbdev: smscufx: fix error handling code in ufx_usb_probe Ilpo Järvinen serial: 8250_dma: Fix DMA Rx rearm race Ilpo Järvinen serial: 8250_dma: Fix DMA Rx completion race Michael Walle nvmem: core: fix cell removal on error Russell King (Oracle) nvmem: core: initialise nvmem->id early Rob Clark drm/i915: Fix potential bit_17 double-free Phillip Lougher Squashfs: fix handling and sanity checking of xattr_ids count Longlong Xia mm/swapfile: add cond_resched() in get_swap_pages() Zheng Yongjun fpga: stratix10-soc: Fix return value check in s10_ops_write_init() Joerg Roedel x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses Mike Kravetz mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps Andreas Schwab riscv: disable generation of unwind tables Helge Deller parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case Helge Deller parisc: Fix return code of pdc_iodc_print() Johan Hovold nvmem: qcom-spmi-sdam: fix module autoloading Carlos Song iio: imu: fxos8700: fix MAGN sensor scale and unit Carlos Song iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN Carlos Song iio: imu: fxos8700: fix failed initialization ODR mode assignment Carlos Song iio: imu: fxos8700: fix incorrect ODR mode readback Carlos Song iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback Carlos Song iio: imu: fxos8700: fix map label of channel type to MAGN sensor Carlos Song iio: imu: fxos8700: fix IMU data bits returned to user space Carlos Song iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback Carlos Song iio: imu: fxos8700: fix ACCEL measurement range selection Andreas Kemnade iio:adc:twl6030: Enable measurements of VUSB, VBAT and others Xiongfeng Wang iio: adc: berlin2-adc: Add missing of_node_put() in error path Dmitry Perchanov iio: hid: fix the retval in accel_3d_capture_sample Ard Biesheuvel efi: Accept version 2 of memory attributes table Victor Shyba ALSA: hda/realtek: Add Acer Predator PH315-54 Alexander Egorenkov watchdog: diag288_wdt: fix __diag288() inline assembly Alexander Egorenkov watchdog: diag288_wdt: do not use stack buffers for hardware data Natalia Petrova net: qrtr: free memory on error path in radix_tree_insert() Samuel Thibault fbcon: Check font dimension limits Werner Sembach Input: i8042 - add Clevo PCX0DX to i8042 quirk table Werner Sembach Input: i8042 - add TUXEDO devices to i8042 quirk tables Werner Sembach Input: i8042 - merge quirk tables Werner Sembach Input: i8042 - move __initconst to fix code styling warning George Kennedy vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF Udipto Goswami usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait Neil Armstrong usb: dwc3: qcom: enable vbus override when in OTG dr-mode Wesley Cheng usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override API Olivier Moysan iio: adc: stm32-dfsdm: fill module aliases Hyunwoo Kim net/x25: Fix to not accept on connected socket Koba Ko platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table Randy Dunlap i2c: rk3x: fix a bunch of kernel-doc warnings Mike Christie scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress Maurizio Lombardi scsi: target: core: Fix warning on RT kernels Stefan Wahren i2c: mxs: suppress probe-deferral error message Magnus Karlsson qede: execute xdp_do_flush() before napi_complete_done() Bhaskar Upadhaya qede: add netpoll support for qede driver Anton Gusev efi: fix potential NULL deref in efi_mem_reserve_persistent Fedor Pchelkin net: openvswitch: fix flow memory leak in ovs_flow_cmd_new Parav Pandit virtio-net: Keep stop() to follow mirror sequence of open() Andrei Gherzan selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking Andrei Gherzan selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs Andrei Gherzan selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided Andrei Gherzan selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning Damien Le Moal ata: libata: Fix sata_down_spd_limit() when no link speed is reported Ziyang Xuan can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate Tom Rix igc: return an error if the mac type is unknown in igc_ptp_systim_to_hwtstamp() Chris Healy net: phy: meson-gxl: Add generic dummy stubs for MMD register access Fedor Pchelkin squashfs: harden sanity check in squashfs_read_xattr_id_table Florian Westphal netfilter: br_netfilter: disable sabotage_in hook after first suppression Hyunwoo Kim netrom: Fix use-after-free caused by accept on already connected socket Andre Kalb net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices Íñigo Huguet sfc: correctly advertise tunneled IPv6 segmentation Magnus Karlsson virtio-net: execute xdp_do_flush() before napi_complete_done() Al Viro fix "direction" argument of iov_iter_kvec() Al Viro fix iov_iter_bvec() "direction" argument Al Viro READ is "data destination", not source... Al Viro WRITE is "data source", not destination... Eric Auger vhost/net: Clear the pending messages when the backend is removed Martin K. Petersen scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT" Hans Verkuil drm/vc4: hdmi: make CEC adapter name unique Pierluigi Passaro arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX Jakub Sitnicki bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener Eduard Zingerman bpf: Fix to preserve reg parent/live fields when copying range info Martin KaFai Lau bpf: Support <8-byte scalar spill and refill Christophe Leroy powerpc/bpf: Move common helpers into bpf_jit.h Christophe Leroy powerpc/bpf: Change register numbering for bpf_set/is_seen_register() Artemii Karasev ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path() Yonghong Song bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers Michael Ellerman powerpc/imc-pmu: Revert nest_init_lock to being a mutex Paul Chaignon bpf: Fix incorrect state pruning for <8B spill/fill Yuan Can bus: sunxi-rsb: Fix error handling in sunxi_rsb_init() Takashi Sakamoto firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region ------------- Diffstat: Makefile | 4 +- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 +- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 6 +- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 +- arch/arm64/boot/dts/freescale/imx8mm-pinfunc.h | 2 +- arch/parisc/kernel/firmware.c | 5 +- arch/parisc/kernel/ptrace.c | 15 +- arch/powerpc/net/bpf_jit.h | 35 + arch/powerpc/net/bpf_jit64.h | 19 - arch/powerpc/net/bpf_jit_comp64.c | 28 +- arch/powerpc/perf/imc-pmu.c | 14 +- arch/riscv/Makefile | 3 + arch/riscv/mm/cacheflush.c | 4 +- arch/x86/include/asm/debugreg.h | 26 +- drivers/ata/libata-core.c | 2 +- drivers/bus/sunxi-rsb.c | 8 +- drivers/firewire/core-cdev.c | 4 +- drivers/firmware/efi/efi.c | 2 + drivers/firmware/efi/memattr.c | 2 +- drivers/fpga/stratix10-soc.c | 4 +- drivers/fsi/fsi-sbefifo.c | 6 +- drivers/gpu/drm/i915/gem/i915_gem_tiling.c | 9 +- drivers/gpu/drm/vc4/vc4_hdmi.c | 3 +- drivers/i2c/busses/i2c-mxs.c | 4 +- drivers/i2c/busses/i2c-rk3x.c | 44 +- drivers/iio/accel/hid-sensor-accel-3d.c | 1 + drivers/iio/adc/berlin2-adc.c | 4 +- drivers/iio/adc/stm32-dfsdm-adc.c | 1 + drivers/iio/adc/twl6030-gpadc.c | 32 + drivers/iio/imu/fxos8700_core.c | 111 +- drivers/infiniband/hw/hfi1/file_ops.c | 7 +- drivers/infiniband/hw/usnic/usnic_uiom.c | 8 +- drivers/infiniband/ulp/ipoib/ipoib_main.c | 8 + drivers/infiniband/ulp/rtrs/rtrs-clt.c | 2 +- drivers/input/serio/i8042-x86ia64io.h | 1188 ++++++++++++-------- drivers/net/bonding/bond_debugfs.c | 2 +- drivers/net/ethernet/intel/ice/ice_main.c | 2 +- drivers/net/ethernet/intel/igc/igc_ptp.c | 14 +- .../ethernet/mellanox/mlx5/core/diag/fw_tracer.c | 3 +- .../ethernet/mellanox/mlx5/core/ipoib/ethtool.c | 13 +- drivers/net/ethernet/mscc/ocelot_flower.c | 24 +- drivers/net/ethernet/pensando/ionic/ionic_lif.c | 15 +- drivers/net/ethernet/qlogic/qede/qede_fp.c | 10 +- drivers/net/ethernet/sfc/efx.c | 5 +- drivers/net/phy/dp83822.c | 6 +- drivers/net/phy/meson-gxl.c | 4 + drivers/net/usb/plusb.c | 4 +- drivers/net/virtio_net.c | 8 +- .../broadcom/brcm80211/brcmfmac/cfg80211.c | 17 + drivers/nvmem/core.c | 8 +- drivers/nvmem/qcom-spmi-sdam.c | 1 + drivers/of/address.c | 21 +- drivers/pinctrl/aspeed/pinctrl-aspeed.c | 2 +- drivers/pinctrl/intel/pinctrl-intel.c | 16 +- drivers/pinctrl/pinctrl-single.c | 2 + drivers/platform/x86/dell-wmi.c | 3 + drivers/scsi/iscsi_tcp.c | 9 +- drivers/scsi/scsi_scan.c | 7 +- drivers/spi/spi-dw-core.c | 2 +- drivers/target/target_core_file.c | 4 +- drivers/target/target_core_tmr.c | 4 +- drivers/tty/serial/8250/8250_dma.c | 26 +- drivers/tty/vt/vc_screen.c | 9 +- drivers/usb/core/quirks.c | 3 + drivers/usb/dwc3/dwc3-qcom.c | 10 +- drivers/usb/gadget/function/f_fs.c | 4 +- drivers/usb/typec/altmodes/displayport.c | 8 +- drivers/vhost/net.c | 3 + drivers/vhost/vhost.c | 3 +- drivers/vhost/vhost.h | 1 + drivers/video/fbdev/core/fbcon.c | 7 +- drivers/video/fbdev/smscufx.c | 46 +- drivers/watchdog/diag288_wdt.c | 15 +- drivers/xen/pvcalls-back.c | 8 +- fs/btrfs/volumes.c | 22 +- fs/btrfs/zlib.c | 2 +- fs/ceph/mds_client.c | 6 + fs/cifs/file.c | 4 +- fs/f2fs/gc.c | 18 +- fs/proc/task_mmu.c | 4 +- fs/squashfs/squashfs_fs.h | 2 +- fs/squashfs/squashfs_fs_sb.h | 2 +- fs/squashfs/xattr.h | 4 +- fs/squashfs/xattr_id.c | 4 +- include/linux/hugetlb.h | 19 +- include/linux/nvmem-provider.h | 4 +- include/linux/util_macros.h | 12 + include/uapi/linux/ip.h | 1 + include/uapi/linux/ipv6.h | 1 + kernel/bpf/verifier.c | 102 +- kernel/trace/bpf_trace.c | 3 +- kernel/trace/trace.c | 3 - mm/gup.c | 2 +- mm/hugetlb.c | 6 +- mm/memory-failure.c | 2 +- mm/memory_hotplug.c | 2 +- mm/mempolicy.c | 5 +- mm/migrate.c | 7 +- mm/page_alloc.c | 5 +- mm/swapfile.c | 1 + net/bridge/br_netfilter_hooks.c | 1 + net/can/j1939/address-claim.c | 40 + net/can/j1939/transport.c | 4 - net/ipv4/tcp_bpf.c | 4 +- net/netrom/af_netrom.c | 5 + net/openvswitch/datapath.c | 12 +- net/qrtr/ns.c | 5 +- net/rds/message.c | 6 +- net/x25/af_x25.c | 6 + net/xfrm/xfrm_compat.c | 4 +- net/xfrm/xfrm_input.c | 3 +- sound/pci/hda/patch_realtek.c | 3 + sound/pci/hda/patch_via.c | 3 + sound/pci/lx6464es/lx_core.c | 11 +- sound/synth/emux/emux_nrpn.c | 3 + tools/testing/selftests/net/forwarding/lib.sh | 4 +- tools/testing/selftests/net/udpgso_bench.sh | 24 +- tools/testing/selftests/net/udpgso_bench_rx.c | 4 +- tools/testing/selftests/net/udpgso_bench_tx.c | 36 +- 119 files changed, 1552 insertions(+), 839 deletions(-)