[SRU][Hirsute][PULL] Hirsute upstream stable patchset 2021-11-03

Kamal Mostafa kamal at canonical.com
Wed Nov 3 21:03:12 UTC 2021


This pull request (115 commits) includes the following Hirsute stable
patchsets:

	Hirsute upstream stable patchset 2021-11-03
		Ported from the following upstream stable releases:
			v5.10.70, v5.14.9
	https://bugs.launchpad.net/bugs/1949640

Note also that the 'stable-next' branch head contains this and all prior
pending upstream stable releases, rebased to master-next:

   git://kernel.ubuntu.com/ubuntu-stable/ubuntu-stable-hirsute.git stable-next

 -Kamal

-----

The following changes since commit 2df24b826c1e117c5ca45128f4c58bf62ea1fd80:

  UBUNTU: upstream stable to v5.10.69, v5.14.8 (2021-11-01 17:15:59 -0600)

are available in the Git repository at:

  git://kernel.ubuntu.com/ubuntu-stable/ubuntu-stable-hirsute.git tags/hirsute-stable-2021-11-03

for you to fetch changes up to 75f81393874261af92af0a67a45c81c759ee6671:

  UBUNTU: upstream stable to v5.10.70, v5.14.9 (2021-11-03 13:47:10 -0700)

----------------------------------------------------------------
Andreas Larsson (1):
      sparc32: page align size in arch_dma_alloc

Andy Shevchenko (1):
      platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()

Antoine Tenart (1):
      thermal/drivers/int340x: Do not set a wrong tcc offset on resume

Anton Eidelman (1):
      nvme-multipath: fix ANA state updates when a namespace is not present

Aya Levin (1):
      net/mlx4_en: Don't allow aRFS for encapsulated packets

Baokun Li (1):
      scsi: iscsi: Adjust iface sysfs attr detection

Bart Van Assche (1):
      scsi: sd_zbc: Support disks with more than 2**32 logical blocks

Bixuan Cui (1):
      bpf: Add oversize check before call kvcalloc()

Borislav Petkov (1):
      EDAC/dmc520: Assign the proper type to dimm->edac_mode

Carlo Lobrano (1):
      USB: serial: option: add Telit LN920 compositions

Chen Jun (1):
      mm: fix uninitialized use in overcommit_policy_handler

Christoph Hellwig (3):
      nvme: keep ctrl->namespaces ordered
      md: fix a lock order reversal in md_alloc
      block: check if a profile is actually registered in blk_integrity_unregister

Christophe JAILLET (1):
      misc: genwqe: Fixes DMA mask setting

Claudiu Manoil (2):
      enetc: Fix illegal access when reading affinity_hint
      enetc: Fix uninitialized struct dim_sample field usage

Cristian Marussi (1):
      kselftest/arm64: signal: Skip tests if required features are missing

Dan Carpenter (6):
      usb: gadget: r8a66597: fix a loop in set_feature()
      usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
      mcb: fix error handling in mcb_alloc_bus()
      thermal/core: Potential buffer overflow in thermal_build_list_of_policies()
      cifs: fix a sign extension bug
      scsi: lpfc: Use correct scnprintf() limit

Dan Li (1):
      arm64: Mark __stack_chk_guard as __ro_after_init

Dave Jiang (1):
      x86/asm: Add a missing __iomem annotation in enqcmds()

David Howells (2):
      afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation
      afs: Fix updating of i_blocks on file/dir extension

Dmitry Baryshkov (1):
      regulator: qcom-rpmh-regulator: fix pm8009-1 ldo7 resource name

Dmitry Bogdanov (1):
      scsi: qla2xxx: Restore initiator in dual mode

Doug Smythies (1):
      cpufreq: intel_pstate: Override parameters if HWP forced by BIOS

Gao Xiang (1):
      erofs: fix up erofs_lookup tracepoint

Guenter Roeck (5):
      m68k: Double cast io functions to unsigned long
      compiler.h: Introduce absolute_pointer macro
      net: i825xx: Use absolute_pointer for memcpy from fixed memory location
      alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
      net: 6pack: Fix tx timeout and slot time

Hans de Goede (1):
      gpiolib: acpi: Make set-debounce-timeout failures non fatal

Helge Deller (1):
      parisc: Use absolute_pointer() to define PAGE0

Huang Rui (1):
      drm/ttm: fix type mismatch error on sparc64

Ian Abbott (1):
      comedi: Fix memory leak in compat_insnlist()

Ido Schimmel (1):
      nexthop: Fix memory leaks in nexthop notification chain listeners

Jan Beulich (1):
      xen/x86: fix PV trap handling on secondary processors

Jens Axboe (1):
      io_uring: put provided buffer meta data under memcg accounting

Jesper Nilsson (1):
      net: stmmac: allow CSR clock of 300MHz

Jian Shen (2):
      net: hns3: fix change RSS 'hfunc' ineffective issue
      net: hns3: fix inconsistent vf id print

Jiapeng Chong (1):
      fpga: machxo2-spi: Fix missing error code in machxo2_write_complete()

Jiri Slaby (1):
      tty: synclink_gt, drop unneeded forward declarations

Johan Hovold (4):
      USB: cdc-acm: fix minor-number release
      staging: greybus: uart: fix tty use after free
      net: hso: fix muxed tty registration
      USB: serial: cp210x: fix dropped characters with CP2102

Juergen Gross (2):
      xen/balloon: use a kernel thread instead a workqueue
      xen/balloon: fix balloon kthread freezing

Julian Sikorski (1):
      Re-enable UAS for LaCie Rugged USB3-FW with fk quirk

Julian Wiedmann (1):
      s390/qeth: fix NULL deref in qeth_clear_working_pool_list()

Kaige Fu (1):
      irqchip/gic-v3-its: Fix potential VPE leak on error

Kamal Mostafa (1):
      UBUNTU: upstream stable to v5.10.70, v5.14.9

Karsten Graul (2):
      net/smc: add missing error check in smc_clc_prfx_set()
      net/smc: fix 'workqueue leaked lock' in smc_conn_abort_work

Kees Cook (1):
      x86/asm: Fix SETZ size enqcmds() build failure

Krzysztof Kozlowski (3):
      USB: serial: mos7840: remove duplicated 0xac24 device ID
      USB: serial: option: remove duplicate USB device ID
      regulator: max14577: Revert "regulator: max14577: Add proper module aliases strings"

Kunihiko Hayashi (1):
      gpio: uniphier: Fix void functions to remove return value

Li Jinlin (1):
      blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd

Li Jun (1):
      usb: dwc3: core: balance phy init and exit

Lihong Kou (1):
      block: flush the integrity workqueue in blk_integrity_unregister

Lijo Lazar (1):
      drm/amd/pm: Update intermediate power state for SI

Linus Torvalds (5):
      sparc: avoid stringop-overread errors
      qnx4: avoid stringop-overread errors
      spi: Fix tegra20 build with CONFIG_PM=n
      qnx4: work around gcc false positive warning bug
      Revert drm/vc4 hdmi runtime PM changes

Marc Zyngier (1):
      irqchip/armada-370-xp: Fix ack/eoi breakage

Mario Limonciello (1):
      platform/x86: amd-pmc: Increase the response register timeout

Mark Brown (1):
      kselftest/arm64: signal: Add SVE to the set of features we can check for

Maurizio Lombardi (1):
      scsi: target: Fix the pgr/alua_support_store functions

Michael Chan (1):
      bnxt_en: Fix TX timeout when TX ring size is set to the smallest

Minas Harutyunyan (2):
      usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
      usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA

Ming Lei (1):
      blk-mq: avoid to iterate over stale request

Naohiro Aota (1):
      scsi: sd_zbc: Ensure buffer size is aligned to SECTOR_SIZE

Nathan Rossi (1):
      net: phylink: Update SFP selected interface on advertising changes

Nishanth Menon (1):
      serial: 8250: 8250_omap: Fix RX_LVL register offset

Ondrej Zary (1):
      usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c

Pali Rohár (1):
      serial: mvebu-uart: fix driver's tx_empty callback

Qingqing Zhuo (1):
      drm/amd/display: Fix unstable HPCP compliance on Chrome Barcelo

Qu Wenruo (1):
      btrfs: prevent __btrfs_dump_space_info() to underflow its free space

Rafał Miłecki (1):
      Revert "USB: bcma: Add a check for devm_gpiod_get"

Randy Dunlap (2):
      tty: synclink_gt: rename a conflicting function name
      irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build

Ruozhu Li (1):
      nvme-rdma: destroy cm id before destroy qp to avoid use after free

Sagi Grimberg (1):
      nvme-tcp: fix incorrect h2cdata pdu offset accounting

Sai Krishna Potthuri (1):
      EDAC/synopsys: Fix wrong value type assignment for edac_mode

Sami Tolvanen (1):
      treewide: Change list_sort to use const pointers

Sean Christopherson (1):
      KVM: rseq: Update rseq when processing NOTIFY_RESUME on xfer to KVM guest

Shai Malin (1):
      qed: rdma - don't wait for resources under hw error recovery flow

Simon Ser (1):
      amd/display: downgrade validation failure log level

Slark Xiao (1):
      USB: serial: option: add device id for Foxconn T99W265

Steve French (1):
      cifs: fix incorrect check for null pointer in header_assemble

Sudarsana Reddy Kalluru (1):
      atlantic: Fix issue in the pm resume flow.

Todd Kjos (1):
      binder: make sure fd closes complete

Tom Rix (1):
      fpga: machxo2-spi: Return an error on failure

Tong Zhang (1):
      net: macb: fix use after free on rmmod

Uwe Brandt (1):
      USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter

Vladimir Oltean (3):
      net: dsa: don't allocate the slave_mii_bus using devres
      net: dsa: realtek: register the MDIO bus under devres
      net: dsa: tear down devlink port regions when tearing down the devlink port on error

Wengang Wang (1):
      ocfs2: drop acl cache for directories too

Yufeng Mo (1):
      net: hns3: check queue id range before using

Zhihao Cheng (1):
      blktrace: Fix uaf in blk_trace access after removing by sysfs

liaoguojia (1):
      net: hns3: check vlan id before using it

zhang kai (1):
      ipv6: delay fib6_sernum increase in fib6_add

 arch/alpha/include/asm/io.h                        |   6 +-
 arch/arm64/kernel/process.c                        |   2 +-
 arch/arm64/kvm/vgic/vgic-its.c                     |   8 +-
 arch/arm64/kvm/vgic/vgic.c                         |   3 +-
 arch/m68k/include/asm/raw_io.h                     |  20 +--
 arch/parisc/include/asm/page.h                     |   2 +-
 arch/sparc/kernel/ioport.c                         |   4 +-
 arch/sparc/kernel/mdesc.c                          |   3 +-
 arch/x86/include/asm/special_insns.h               |   4 +-
 arch/x86/xen/enlighten_pv.c                        |  15 +-
 block/blk-cgroup.c                                 |   8 +
 block/blk-integrity.c                              |   9 +-
 block/blk-mq-sched.c                               |   3 +-
 block/blk-mq-tag.c                                 |   2 +-
 block/blk-mq.c                                     |   3 +-
 debian.master/upstream-stable                      |   4 +-
 drivers/acpi/nfit/core.c                           |   3 +-
 drivers/acpi/numa/hmat.c                           |   3 +-
 drivers/android/binder.c                           |  23 ++-
 drivers/clk/keystone/sci-clk.c                     |   4 +-
 drivers/cpufreq/intel_pstate.c                     |  22 ++-
 drivers/edac/dmc520_edac.c                         |   2 +-
 drivers/edac/synopsys_edac.c                       |   2 +-
 drivers/fpga/machxo2-spi.c                         |   6 +-
 drivers/gpio/gpio-uniphier.c                       |   4 +-
 drivers/gpio/gpiolib-acpi.c                        |   6 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  25 ++-
 drivers/gpu/drm/amd/pm/powerplay/si_dpm.c          |   2 +
 drivers/gpu/drm/drm_modes.c                        |   3 +-
 drivers/gpu/drm/i915/gt/intel_engine_user.c        |   3 +-
 drivers/gpu/drm/i915/gvt/debugfs.c                 |   2 +-
 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c      |   3 +-
 drivers/gpu/drm/radeon/radeon_cs.c                 |   4 +-
 drivers/gpu/drm/ttm/ttm_pool.c                     |   3 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |  44 ++---
 .../infiniband/hw/usnic/usnic_uiom_interval_tree.c |   3 +-
 drivers/interconnect/qcom/bcm-voter.c              |   2 +-
 drivers/irqchip/Kconfig                            |   1 +
 drivers/irqchip/irq-armada-370-xp.c                |   4 +-
 drivers/irqchip/irq-gic-v3-its.c                   |   2 +-
 drivers/mcb/mcb-core.c                             |  12 +-
 drivers/md/md.c                                    |   5 -
 drivers/md/raid5.c                                 |   3 +-
 drivers/misc/genwqe/card_base.c                    |   2 +-
 drivers/misc/sram.c                                |   4 +-
 drivers/net/dsa/mv88e6xxx/chip.c                   |  16 +-
 drivers/net/dsa/mv88e6xxx/devlink.c                |  73 +-------
 drivers/net/dsa/mv88e6xxx/devlink.h                |   6 +-
 drivers/net/dsa/realtek-smi-core.c                 |   2 +-
 .../net/ethernet/aquantia/atlantic/aq_pci_func.c   |   4 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt.c          |   8 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt.h          |   5 +
 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c  |   2 +-
 drivers/net/ethernet/cadence/macb_pci.c            |   2 +-
 drivers/net/ethernet/freescale/enetc/enetc.c       |   7 +-
 .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c    |  55 ++++--
 .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c |   8 +
 .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c  |  52 ++++--
 drivers/net/ethernet/i825xx/82596.c                |   2 +-
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c     |   3 +
 drivers/net/ethernet/qlogic/qed/qed_iwarp.c        |   8 +
 drivers/net/ethernet/qlogic/qed/qed_roce.c         |   8 +
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |   2 +-
 drivers/net/hamradio/6pack.c                       |   4 +-
 drivers/net/phy/phylink.c                          |  30 +++-
 drivers/net/usb/hso.c                              |  12 +-
 drivers/net/vxlan.c                                |   2 +-
 drivers/nvme/host/core.c                           |  32 ++--
 drivers/nvme/host/multipath.c                      |   7 +-
 drivers/nvme/host/rdma.c                           |  16 +-
 drivers/nvme/host/tcp.c                            |  13 +-
 drivers/pci/controller/cadence/pcie-cadence-host.c |   3 +-
 drivers/pci/probe.c                                |   3 +-
 drivers/platform/x86/amd-pmc.c                     |   2 +-
 drivers/platform/x86/intel_punit_ipc.c             |   3 +-
 drivers/regulator/max14577-regulator.c             |   2 -
 drivers/regulator/qcom-rpmh-regulator.c            |   2 +-
 drivers/s390/net/qeth_core_main.c                  |   3 +
 drivers/scsi/lpfc/lpfc_attr.c                      |   3 +-
 drivers/scsi/qla2xxx/qla_init.c                    |   3 +-
 drivers/scsi/scsi_transport_iscsi.c                |   8 +-
 drivers/scsi/sd_zbc.c                              |   8 +-
 drivers/spi/spi-loopback-test.c                    |   3 +-
 drivers/spi/spi-tegra20-slink.c                    |   4 +-
 drivers/staging/comedi/comedi_fops.c               |   1 +
 drivers/staging/greybus/uart.c                     |  62 +++----
 drivers/target/target_core_configfs.c              |  32 ++--
 .../int340x_thermal/processor_thermal_device.c     |   5 +-
 drivers/thermal/thermal_core.c                     |   7 +-
 drivers/tty/serial/8250/8250_omap.c                |   2 +-
 drivers/tty/serial/mvebu-uart.c                    |   2 +-
 drivers/tty/synclink_gt.c                          | 101 +++--------
 drivers/usb/class/cdc-acm.c                        |   7 +-
 drivers/usb/class/cdc-acm.h                        |   2 +
 drivers/usb/dwc2/gadget.c                          | 193 ++++++++++++---------
 drivers/usb/dwc3/core.c                            |  30 ++--
 drivers/usb/gadget/udc/r8a66597-udc.c              |   2 +-
 drivers/usb/host/bcma-hcd.c                        |   5 +-
 drivers/usb/musb/tusb6010.c                        |   1 +
 drivers/usb/serial/cp210x.c                        |  47 +++++
 drivers/usb/serial/mos7840.c                       |   2 -
 drivers/usb/serial/option.c                        |  11 +-
 drivers/usb/storage/unusual_devs.h                 |   9 +-
 drivers/usb/storage/unusual_uas.h                  |   2 +-
 drivers/xen/balloon.c                              |  62 +++++--
 fs/afs/dir.c                                       |  46 +----
 fs/afs/dir_edit.c                                  |   4 +-
 fs/afs/inode.c                                     |  10 --
 fs/afs/internal.h                                  |  10 ++
 fs/afs/write.c                                     |   2 +-
 fs/btrfs/raid56.c                                  |   3 +-
 fs/btrfs/space-info.c                              |   5 +-
 fs/btrfs/tree-log.c                                |   3 +-
 fs/btrfs/volumes.c                                 |   3 +-
 fs/cifs/connect.c                                  |   5 +-
 fs/cifs/file.c                                     |   2 +-
 fs/ext4/fsmap.c                                    |   4 +-
 fs/gfs2/glock.c                                    |   3 +-
 fs/gfs2/log.c                                      |   2 +-
 fs/gfs2/lops.c                                     |   3 +-
 fs/io_uring.c                                      |   2 +-
 fs/iomap/buffered-io.c                             |   3 +-
 fs/ocfs2/dlmglue.c                                 |   3 +-
 fs/qnx4/dir.c                                      |  69 ++++++--
 fs/ubifs/gc.c                                      |   7 +-
 fs/ubifs/replay.c                                  |   4 +-
 fs/xfs/scrub/bitmap.c                              |   4 +-
 fs/xfs/xfs_bmap_item.c                             |   4 +-
 fs/xfs/xfs_buf.c                                   |   6 +-
 fs/xfs/xfs_extent_busy.c                           |   4 +-
 fs/xfs/xfs_extent_busy.h                           |   3 +-
 fs/xfs/xfs_extfree_item.c                          |   4 +-
 fs/xfs/xfs_refcount_item.c                         |   4 +-
 fs/xfs/xfs_rmap_item.c                             |   4 +-
 include/linux/compiler.h                           |   2 +
 include/linux/list_sort.h                          |   7 +-
 include/net/dsa.h                                  |   8 +
 include/trace/events/erofs.h                       |   6 +-
 kernel/bpf/verifier.c                              |   2 +
 kernel/entry/kvm.c                                 |   4 +-
 kernel/rseq.c                                      |  14 +-
 kernel/trace/blktrace.c                            |   8 +
 lib/list_sort.c                                    |  17 +-
 lib/test_list_sort.c                               |   3 +-
 mm/util.c                                          |   4 +-
 net/dsa/dsa2.c                                     |  63 ++++++-
 net/ipv4/nexthop.c                                 |  19 +-
 net/ipv6/ip6_fib.c                                 |   3 +-
 net/smc/smc_clc.c                                  |   3 +-
 net/smc/smc_core.c                                 |   2 +
 net/tipc/name_table.c                              |   4 +-
 .../testing/selftests/arm64/signal/test_signals.h  |   2 +
 .../selftests/arm64/signal/test_signals_utils.c    |  10 +-
 153 files changed, 997 insertions(+), 719 deletions(-)



More information about the kernel-team mailing list