From patchwork Tue Mar 9 22:01:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 1450217 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Dw8M10GqBz9sWQ; Wed, 10 Mar 2021 09:02:05 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1lJkQQ-00079q-WF; Tue, 09 Mar 2021 22:01:58 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJkQO-00079k-GU for kernel-team@lists.ubuntu.com; Tue, 09 Mar 2021 22:01:56 +0000 Received: from 2.general.kamal.us.vpn ([10.172.68.52] helo=ascalon) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJkQN-0003MI-Rb for kernel-team@lists.ubuntu.com; Tue, 09 Mar 2021 22:01:56 +0000 Received: from kamal by ascalon with local (Exim 4.90_1) (envelope-from ) id 1lJkQ7-0001TK-Dq for kernel-team@lists.ubuntu.com; Tue, 09 Mar 2021 14:01:39 -0800 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: [SRU][Bionic][PULL] Bionic upstream stable patchset 2021-03-09 Date: Tue, 9 Mar 2021 14:01:38 -0800 Message-Id: <20210309220138.5534-1-kamal@canonical.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" This pull request (102 commits) includes the following Bionic stable patchsets: Bionic update: upstream stable patchset 2021-03-09 Ported from the following upstream stable releases: v4.14.219, v4.19.173, v4.14.220, v4.19.174, v4.14.221, v4.19.175, v4.19.176 https://bugs.launchpad.net/bugs/1918330 -Kamal --- The following changes since commit 9fd4b77fc80dc53b15042552897739794066eed4: nbd: freeze the queue while we're adding connections (2021-03-05 18:12:11 -0700) are available in the Git repository at: git://kernel.ubuntu.com/ubuntu-stable/ubuntu-stable-bionic.git stable-next for you to fetch changes up to 2d15e7fb77751362ebe19e55c4e5894d3b23424c: UBUNTU: upstream stable to v4.19.176 (2021-03-09 13:09:35 -0800) ---------------------------------------------------------------- Andrea Righi (1): leds: trigger: fix potential deadlock with libata Andy Lutomirski (2): x86/entry/64/compat: Preserve r8-r11 in int $0x80 x86/entry/64/compat: Fix "x86/entry/64/compat: Preserve r8-r11 in int $0x80" Arnd Bergmann (1): elfcore: fix building with clang Aurelien Aptel (1): cifs: report error instead of invalid when revalidating a dentry fails Baoquan He (1): kernel: kexec: remove the lock operation of system_transition_mutex Bartosz Golaszewski (1): iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built Benjamin Valentin (1): Input: xpad - sync supported devices with fork on GitHub Brian King (1): scsi: ibmvfc: Set default timeout to avoid crash during migration Chenxin Jin (1): USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000 Christoph Schemmel (1): USB: serial: option: Adding support for Cinterion MV31 Claudiu Beznea (1): drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[] Cong Wang (1): af_key: relax availability checks for skb size calculation DENG Qingfang (1): net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add Dan Carpenter (2): can: dev: prevent potential information leak in can_fill_info() USB: gadget: legacy: fix an error code in eth_bind() Dave Hansen (1): x86/apic: Add extra serialization for non-serializing MSRs Dave Wysochanski (2): SUNRPC: Move simple_get_bytes and simple_get_netobj into private header SUNRPC: Handle 0 length opaque XDR object data properly David Woodhouse (2): xen: Fix XenStore initialisation for XS_LOCAL iommu/vt-d: Gracefully handle DMAR units with no supported address widths Emmanuel Grumbach (1): iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap Eric Dumazet (1): net_sched: gen_estimator: support large ewma log Felix Fietkau (2): mac80211: fix fast-rx encryption check mac80211: fix station rate table updates on assoc Fengnan Chang (1): mmc: core: Limit retries when analyse of SDIO tuples fails Giacinto Cifelli (1): net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family Gustavo A. R. Silva (1): smb3: Fix out-of-bounds bug in SMB2_negotiate() Heiko Stuebner (1): usb: dwc2: Fix endpoint direction check in ep_from_windex Hugh Dickins (1): mm: thp: fix MADV_REMOVE deadlock on shmem THP Ivan Vecera (1): team: protect features update by RCU to avoid deadlock Javed Hasan (1): scsi: libfc: Avoid invoking response handler twice if ep is already completed Jay Zhou (1): KVM: x86: get smi pending status correctly Jeremy Figgins (1): USB: usblp: don't call usb_set_interface if there's a single alt Johannes Berg (6): wext: fix NULL-ptr-dereference with cfg80211's lack of commit() iwlwifi: pcie: use jiffies for memory read spin time limit iwlwifi: pcie: reschedule in long-running memory reads mac80211: pause TX while changing interface type iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time() iwlwifi: mvm: guard against device removal in reprobe Josh Poimboeuf (2): objtool: Don't fail on missing symbol table x86/build: Disable CET instrumentation in the kernel Kai-Heng Feng (1): ACPI: sysfs: Prefer "compatible" modalias Kamal Heib (1): RDMA/cxgb4: Fix the reported max_recv_sge value Kamal Mostafa (4): UBUNTU: upstream stable to v4.14.219, v4.19.173 UBUNTU: upstream stable to v4.14.220, v4.19.174 UBUNTU: upstream stable to v4.14.221, v4.19.175 UBUNTU: upstream stable to v4.19.176 Koen Vandeputte (1): ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming Laurent Badel (1): PM: hibernate: flush swap writer after marking Liangyan (1): ovl: fix dentry leak in ovl_get_redirect Lijun Pan (1): ibmvnic: Ensure that CRQ entry read are correctly ordered Like Xu (1): KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[] Lorenzo Bianconi (2): mt7601u: fix kernel crash unplugging the device mt7601u: fix rx buffer refcounting Marc Zyngier (1): genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set Martin Wilck (1): scsi: scsi_transport_srp: Don't block target in failfast state Mathias Nyman (1): xhci: fix bounce buffer usage for non-sg list case Max Krummenacher (1): ARM: imx: build suspend-imx6.S with arm instruction set Ming Lei (1): blk-mq: don't hold q->sysfs_lock in blk_mq_map_swqueue Muchun Song (3): mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page mm: hugetlb: fix a race between isolating and freeing page mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active Nadav Amit (1): iommu/vt-d: Do not use flush-queue when caching-mode is on Pablo Neira Ayuso (1): netfilter: nft_dynset: add timeout extension to template Pan Bian (3): NFC: fix resource leak when target index is invalid NFC: fix possible resource leak net: dsa: bcm_sf2: put device node before return Pengcheng Yang (1): tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN Peter Zijlstra (3): x86: __always_inline __{rd,wr}msr() kthread: Extract KTHREAD_IS_PER_CPU workqueue: Restrict affinity change to rescuer Phillip Lougher (3): squashfs: add more sanity checks in id lookup squashfs: add more sanity checks in inode lookup squashfs: add more sanity checks in xattr id lookup Pho Tran (1): USB: serial: cp210x: add pid/vid for WSDA-200-USB Qian Cai (1): include/trace/events/writeback.h: fix -Wstringop-truncation warnings Rafael J. Wysocki (1): ACPI: thermal: Do not call acpi_thermal_check() directly Roger Pau Monne (1): xen-blkfront: allow discard-* nodes to be optional Roi Dayan (1): net/mlx5: Fix memory leak on flow table creation error flow Roman Gushchin (1): memblock: do not start bottom-up allocations with kernel_end Russell King (1): ARM: footbridge: fix dc21285 PCI configuration accessors Sean Christopherson (1): KVM: SVM: Treat SVM as unsupported when running as an SEV guest Shmulik Ladkani (1): xfrm: Fix oops in xfrm_replay_advance_bmp Sibi Sankar (2): remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load Stefan Chulski (1): net: mvpp2: TCAM entry enable should be written after SRAM data Sudeep Holla (1): drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs Takeshi Misawa (1): rxrpc: Fix memory leak in rxrpc_lookup_local Theodore Ts'o (1): memcg: fix a crash in wb_workfn when a device disappears Thorsten Leemhuis (1): nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs Tobin C. Harding (1): lib/string: Add strscpy_pad() function Tony Lindgren (1): phy: cpcap-usb: Fix warning for missing regulator_disable Trond Myklebust (2): pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process() pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process() Vadim Fedorenko (1): net: ip_tunnel: fix mtu calculation Wang ShaoBo (1): kretprobe: Avoid re-registration of the same kretprobe earlier Xiao Ni (1): md: Set prev_flush_start and flush_bio in an atomic way Xie He (1): net: lapb: Copy the skb before sending a packet Yoshihiro Shimoda (1): usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop() Zyta Szpak (1): arm64: dts: ls1046a: fix dcfg address range zhengbin (1): block: fix NULL pointer dereference in register_disk Makefile | 6 -- arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 2 +- arch/arm/mach-footbridge/dc21285.c | 12 ++-- arch/arm/mach-imx/suspend-imx6.S | 1 + arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 +- arch/x86/Makefile | 3 + arch/x86/entry/entry_64_compat.S | 8 +-- arch/x86/include/asm/apic.h | 10 ---- arch/x86/include/asm/barrier.h | 18 ++++++ arch/x86/include/asm/msr.h | 4 +- arch/x86/kernel/apic/apic.c | 4 ++ arch/x86/kernel/apic/x2apic_cluster.c | 6 +- arch/x86/kernel/apic/x2apic_phys.c | 6 +- arch/x86/kvm/pmu_intel.c | 2 +- arch/x86/kvm/svm.c | 5 ++ arch/x86/kvm/x86.c | 5 ++ block/blk-mq.c | 7 --- block/genhd.c | 10 ++-- debian.master/upstream-stable | 4 +- drivers/acpi/device_sysfs.c | 20 ++----- drivers/acpi/thermal.c | 55 ++++++++++++------ drivers/block/xen-blkfront.c | 20 +++---- drivers/infiniband/hw/cxgb4/qp.c | 2 +- drivers/input/joystick/xpad.c | 17 +++++- drivers/iommu/dmar.c | 45 ++++++++++----- drivers/iommu/intel-iommu.c | 6 ++ drivers/leds/led-triggers.c | 10 ++-- drivers/md/md.c | 2 + drivers/mmc/core/sdio_cis.c | 6 ++ drivers/net/can/dev.c | 2 +- drivers/net/dsa/bcm_sf2.c | 8 ++- drivers/net/dsa/mv88e6xxx/chip.c | 6 +- drivers/net/ethernet/ibm/ibmvnic.c | 6 ++ drivers/net/ethernet/marvell/mvpp2.c | 10 ++-- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 1 + drivers/net/team/team.c | 6 +- drivers/net/usb/qmi_wwan.c | 1 + .../net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | 3 + drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 3 +- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 14 +++-- drivers/net/wireless/intel/iwlwifi/pcie/tx.c | 5 ++ drivers/net/wireless/mediatek/mt7601u/dma.c | 5 +- drivers/nvme/host/pci.c | 2 + drivers/phy/motorola/phy-cpcap-usb.c | 19 +++++-- drivers/remoteproc/qcom_q6v5_pil.c | 11 +++- drivers/scsi/ibmvscsi/ibmvfc.c | 4 +- drivers/scsi/libfc/fc_exch.c | 16 +++++- drivers/scsi/scsi_transport_srp.c | 9 ++- drivers/soc/atmel/soc.c | 13 +++++ drivers/usb/class/usblp.c | 19 ++++--- drivers/usb/dwc2/gadget.c | 8 +-- drivers/usb/gadget/legacy/ether.c | 4 +- drivers/usb/host/xhci-ring.c | 31 ++++++---- drivers/usb/renesas_usbhs/fifo.c | 2 + drivers/usb/serial/cp210x.c | 2 + drivers/usb/serial/option.c | 6 ++ drivers/xen/xenbus/xenbus_probe.c | 31 ++++++++++ fs/cifs/dir.c | 22 +++++++- fs/cifs/smb2pdu.h | 2 +- fs/fs-writeback.c | 2 +- fs/hugetlbfs/inode.c | 3 +- fs/nfs/pnfs.c | 9 ++- fs/overlayfs/dir.c | 2 +- fs/squashfs/export.c | 41 +++++++++++--- fs/squashfs/id.c | 40 ++++++++++--- fs/squashfs/squashfs_fs_sb.h | 1 + fs/squashfs/super.c | 6 +- fs/squashfs/xattr.h | 10 +++- fs/squashfs/xattr_id.c | 66 +++++++++++++++++++--- include/linux/backing-dev.h | 10 ++++ include/linux/elfcore.h | 22 ++++++++ include/linux/hugetlb.h | 3 + include/linux/intel-iommu.h | 2 + include/linux/kthread.h | 3 + include/linux/msi.h | 6 ++ include/linux/string.h | 4 ++ include/linux/sunrpc/xdr.h | 3 +- include/net/tcp.h | 2 +- include/trace/events/writeback.h | 35 ++++++------ kernel/Makefile | 1 - kernel/elfcore.c | 26 --------- kernel/irq/msi.c | 44 +++++++-------- kernel/kexec_core.c | 2 - kernel/kprobes.c | 4 ++ kernel/kthread.c | 27 ++++++++- kernel/power/swap.c | 2 +- kernel/smpboot.c | 1 + kernel/workqueue.c | 9 +-- lib/string.c | 47 ++++++++++++--- mm/backing-dev.c | 1 + mm/huge_memory.c | 37 +++++++----- mm/hugetlb.c | 9 ++- mm/memblock.c | 49 ++-------------- net/core/gen_estimator.c | 11 ++-- net/ipv4/ip_tunnel.c | 16 +++--- net/ipv4/tcp_input.c | 10 ++-- net/ipv4/tcp_recovery.c | 5 +- net/key/af_key.c | 6 +- net/lapb/lapb_out.c | 3 +- net/mac80211/driver-ops.c | 5 +- net/mac80211/ieee80211_i.h | 1 + net/mac80211/iface.c | 6 ++ net/mac80211/rate.c | 3 +- net/mac80211/rx.c | 2 + net/netfilter/nft_dynset.c | 4 +- net/nfc/netlink.c | 1 + net/nfc/rawsock.c | 2 +- net/rxrpc/call_accept.c | 1 + net/sunrpc/auth_gss/auth_gss.c | 30 +--------- net/sunrpc/auth_gss/auth_gss_internal.h | 45 +++++++++++++++ net/sunrpc/auth_gss/gss_krb5_mech.c | 31 +--------- net/wireless/wext-core.c | 5 +- net/xfrm/xfrm_input.c | 2 +- tools/objtool/elf.c | 7 ++- tools/testing/selftests/x86/test_syscall_vdso.c | 35 +++++++----- 115 files changed, 864 insertions(+), 465 deletions(-) delete mode 100644 kernel/elfcore.c create mode 100644 net/sunrpc/auth_gss/auth_gss_internal.h