[SRU][Hirsute][PULL] Hirsute upstream stable patchset 2021-08-20

Kamal Mostafa kamal at canonical.com
Fri Aug 20 18:21:33 UTC 2021


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

	Hirsute upstream stable patchset 2021-08-20
		Ported from the following upstream stable releases:
			v5.10.55, v5.13.7
			v5.10.56, v5.13.8
	https://bugs.launchpad.net/bugs/1940706

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 c6197b4f43474665674e88b0d29843bf92043d19:

  UBUNTU: upstream stable to v5.10.54, v5.13.6 (2021-08-19 08:56:38 +0200)

are available in the Git repository at:

  git://kernel.ubuntu.com/ubuntu-stable/ubuntu-stable-hirsute.git tags/hirsute-stable-2021-08-20

for you to fetch changes up to 3075e87cb3867b778f8398cb4e7be55d8d1a26fc:

  UBUNTU: upstream stable to v5.10.56, v5.13.8 (2021-08-20 10:54:11 -0700)

----------------------------------------------------------------
Arkadiusz Kubalewski (2):
      i40e: Fix logic of disabling queues
      i40e: Fix firmware LLDP agent related warning

Bjorn Andersson (1):
      drm/msm/dp: Initialize the INTF_CONFIG register

Casey Chen (1):
      nvme-pci: fix multiple races in nvme_setup_io_queues

Christoph Hellwig (3):
      iomap: remove the length variable in iomap_seek_data
      iomap: remove the length variable in iomap_seek_hole
      block: delay freeing the gendisk

Cong Wang (1):
      skmsg: Make sk_psock_destroy() static

Cristian Marussi (1):
      firmware: arm_scmi: Fix range check for the maximum number of pending messages

Dale Zhao (1):
      drm/amd/display: ensure dentist display clock update finished in DCN20

Dan Carpenter (1):
      can: hi311x: fix a signedness bug in hi3110_cmd()

Daniel Borkmann (4):
      bpf: Introduce BPF nospec instruction for mitigating Spectre v4
      bpf: Fix leakage due to insufficient speculative store bypass mitigation
      bpf: Remove superfluous aux sanitation on subprog rejection
      bpf: Fix pointer arithmetic mask tightening under state pruning

Desmond Cheong Zhi Xi (4):
      hfs: add missing clean-up in hfs_fill_super
      hfs: fix high memory mapping in hfs_bnode_read
      hfs: add lock nesting notation to hfs_find_init
      btrfs: fix rw device counting in __btrfs_free_extra_devids

Dima Chumak (1):
      net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()

Eric Dumazet (1):
      net: annotate data race around sk_ll_usec

Felix Fietkau (1):
      mac80211: fix enabling 4-address mode on a sta vif after assoc

Filipe Manana (1):
      btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction

Florian Westphal (1):
      netfilter: conntrack: adjust stop timestamp to real expiry value

Geetha sowjanya (1):
      octeontx2-pf: Fix interface down flag on error

Gilad Naaman (1):
      net: Set true network header for ECN decapsulation

Goldwyn Rodrigues (1):
      btrfs: mark compressed range uptodate only if all bio succeed

Greg Kroah-Hartman (1):
      selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c

Hoang Le (1):
      tipc: fix sleeping in tipc accept routine

Hui Wang (1):
      Revert "ACPI: resources: Add checks for ACPI IRQ override"

Hyunchul Lee (1):
      cifs: fix the out of range assignment to bit fields in parse_server_interfaces

Jagan Teki (1):
      drm/panel: panel-simple: Fix proper bpc for ytc700tlag_05_201c

Jan Kiszka (1):
      x86/asm: Ensure asm/proto.h can be included stand-alone

Jason Gerecke (1):
      HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT

Jedrzej Jagielski (2):
      i40e: Fix queue-to-TC mapping on Tx
      i40e: Fix log TC creation failure when max num of queues is exceeded

Jiapeng Chong (1):
      mlx4: Fix missing error code in mlx4_load_one()

Jiri Kosina (2):
      drm/amdgpu: Avoid printing of stack contents on firmware load error
      drm/amdgpu: Fix resource leak on probe error path

Juergen Gross (1):
      x86/kvm: fix vcpu-id indexed array sizes

Junxiao Bi (2):
      ocfs2: fix zero out valid data
      ocfs2: issue zeroout to EOF blocks

Kamal Mostafa (2):
      UBUNTU: upstream stable to v5.10.55, v5.13.7
      UBUNTU: upstream stable to v5.10.56, v5.13.8

Krzysztof Kozlowski (1):
      nfc: nfcsim: fix use after free during module unload

Linus Torvalds (1):
      pipe: make pipe writes always wake up readers

Lorenz Bauer (2):
      bpf: Fix OOB read when printing XDP link fdinfo
      bpf: verifier: Allocate idmap scratch in verifier env

Lukasz Cieplicki (1):
      i40e: Add additional info to PHY type error

Maor Gottlieb (1):
      net/mlx5: Fix flow table chaining

Marcelo Ricardo Leitner (1):
      sctp: fix return value check in __sctp_rcv_asconf_lookup

Maxim Levitsky (1):
      KVM: x86: determine if an exception has an error code only when injecting it.

Michael Ellerman (1):
      powerpc/vdso: Don't use r30 to avoid breaking Go lang

Mike Rapoport (1):
      alpha: register early reserved memory in memblock

Miklos Szeredi (1):
      af_unix: fix garbage collect vs MSG_PEEK

Naresh Kumar PBS (1):
      RDMA/bnxt_re: Fix stats counters

Nguyen Dinh Phi (1):
      cfg80211: Fix possible memory leak in function cfg80211_bss_update

Oleksij Rempel (1):
      can: j1939: j1939_session_deactivate(): clarify lifetime of session object

Pablo Neira Ayuso (1):
      netfilter: nft_nat: allow to specify layer 4 protocol NAT only

Paolo Bonzini (1):
      KVM: add missing compat KVM_CLEAR_DIRTY_LOG

Paul E. McKenney (2):
      rcu-tasks: Don't delete holdouts within trc_inspect_reader()
      rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader()

Paul Gortmaker (1):
      cgroup1: fix leaked context root causing sporadic NULL deref in LTP

Paul Jakma (1):
      NIU: fix incorrect error return, missed in previous revert

Pavel Begunkov (2):
      io_uring: fix link timeout refs
      io_uring: fix io_prep_async_link locking

Pavel Skripkin (6):
      can: mcba_usb_start(): add missing urb->transfer_dma initialization
      can: usb_8dev: fix memory leak
      can: ems_usb: fix memory leak
      can: esd_usb2: fix memory leak
      net: qrtr: fix memory leaks
      net: llc: fix skb_over_panic

Pratik Vishwakarma (1):
      drm/amdgpu: Check pmops for desired suspend state

Robert Foss (1):
      drm/msm/dpu: Fix sm8250_mdp register length

Roi Dayan (1):
      net/mlx5: E-Switch, handle devcom events only for ports on the same device

Shannon Nelson (4):
      ionic: remove intr coalesce update from napi
      ionic: fix up dim accounting for tx and rx
      ionic: count csum_none when offload enabled
      ionic: make all rx_mode work threadsafe

Shyam Sundar S K (2):
      platform/x86: amd-pmc: Fix command completion code
      platform/x86: amd-pmc: Fix SMU firmware reporting mechanism

Srikar Dronamraju (1):
      powerpc/pseries: Fix regression while building external modules

Srinivas Pandruvada (1):
      ACPI: DPTF: Fix reading of attributes

Stephane Grosjean (1):
      can: peak_usb: pcan_usb_handle_bus_evt(): fix reading rxerr/txerr values

Steve French (1):
      SMB3: fix readpage for large swap cache

Sudeep Holla (2):
      firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
      ARM: dts: versatile: Fix up interrupt controller node names

Sunil Goutham (1):
      octeontx2-af: Remove unnecessary devm_kfree

Tejun Heo (1):
      blk-iocost: fix operation ordering in iocg_wake_fn()

Vasily Averin (2):
      ipv6: allocate enough headroom in ip6_finish_output2()
      ipv6: ip6_finish_output2: set sk into newly allocated nskb

Vitaly Kuznetsov (1):
      KVM: x86: Check the right feature bit for MSR_KVM_ASYNC_PF_ACK access

Wang Hai (3):
      tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
      sis900: Fix missing pci_disable_device() in probe and remove
      mm/memcg: fix NULL pointer dereference in memcg_slab_free_hook()

Xin Long (3):
      sctp: move 198 addresses from unusable to private scope
      tipc: fix implicit-connect for SYN+
      tipc: do not write skb_shinfo frags when doing decrytion

Yang Yingliang (4):
      workqueue: fix UAF in pwq_unbound_release_workfn()
      net/802/mrp: fix memleak in mrp_request_join()
      net/802/garp: fix memleak in garp_request_join()
      io_uring: fix null-ptr-deref in io_sq_offload_start()

Yonghong Song (1):
      tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include

Zhang Changzhong (1):
      can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms

Zheyu Ma (1):
      drm/ttm: add a check against null pointer dereference

Ziyang Xuan (1):
      can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF

 arch/alpha/kernel/setup.c                          |  13 +-
 arch/arm/boot/dts/versatile-ab.dts                 |   5 +-
 arch/arm/boot/dts/versatile-pb.dts                 |   2 +-
 arch/arm/net/bpf_jit_32.c                          |   3 +
 arch/arm64/net/bpf_jit_comp.c                      |  13 ++
 arch/mips/net/ebpf_jit.c                           |   3 +
 arch/powerpc/kernel/vdso64/Makefile                |   7 +
 arch/powerpc/net/bpf_jit_comp64.c                  |   6 +
 arch/powerpc/platforms/pseries/setup.c             |   2 +-
 arch/riscv/net/bpf_jit_comp32.c                    |   4 +
 arch/riscv/net/bpf_jit_comp64.c                    |   4 +
 arch/s390/net/bpf_jit_comp.c                       |   5 +
 arch/sparc/net/bpf_jit_comp_64.c                   |   3 +
 arch/x86/include/asm/proto.h                       |   2 +
 arch/x86/kvm/ioapic.c                              |   2 +-
 arch/x86/kvm/ioapic.h                              |   4 +-
 arch/x86/kvm/x86.c                                 |  17 +-
 arch/x86/net/bpf_jit_comp.c                        |   7 +
 arch/x86/net/bpf_jit_comp32.c                      |   6 +
 block/blk-iocost.c                                 |  11 +-
 block/genhd.c                                      |   3 +-
 debian.master/upstream-stable                      |   4 +-
 drivers/acpi/dptf/dptf_pch_fivr.c                  |  51 +++++-
 drivers/acpi/resource.c                            |   9 +-
 drivers/firmware/arm_scmi/driver.c                 |  12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c           |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |   8 +-
 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c             |   7 +-
 .../amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c   |   2 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c     |   2 +-
 drivers/gpu/drm/msm/dp/dp_catalog.c                |   1 +
 drivers/gpu/drm/panel/panel-simple.c               |   2 +-
 drivers/gpu/drm/ttm/ttm_range_manager.c            |   3 +
 drivers/hid/wacom_wac.c                            |   2 +-
 drivers/infiniband/hw/bnxt_re/main.c               |   4 +-
 drivers/infiniband/hw/bnxt_re/qplib_res.c          |  10 +-
 drivers/infiniband/hw/bnxt_re/qplib_res.h          |   1 +
 drivers/net/can/spi/hi311x.c                       |   2 +-
 drivers/net/can/usb/ems_usb.c                      |  14 +-
 drivers/net/can/usb/esd_usb2.c                     |  16 +-
 drivers/net/can/usb/mcba_usb.c                     |   2 +
 drivers/net/can/usb/peak_usb/pcan_usb.c            |  10 +-
 drivers/net/can/usb/usb_8dev.c                     |  15 +-
 drivers/net/ethernet/dec/tulip/winbond-840.c       |   7 +-
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c     |   6 +-
 drivers/net/ethernet/intel/i40e/i40e_main.c        |  61 ++++---
 drivers/net/ethernet/intel/i40e/i40e_txrx.c        |  50 ++++++
 drivers/net/ethernet/intel/i40e/i40e_txrx.h        |   2 +
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    |   1 -
 .../ethernet/marvell/octeontx2/nic/otx2_ethtool.c  |   7 +-
 .../net/ethernet/marvell/octeontx2/nic/otx2_pf.c   |   5 +
 drivers/net/ethernet/mellanox/mlx4/main.c          |   1 +
 drivers/net/ethernet/mellanox/mlx5/core/dev.c      |   5 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c    |  33 +++-
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c |   3 +
 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c  |  10 +-
 drivers/net/ethernet/pensando/ionic/ionic_lif.c    | 197 ++++++++++-----------
 drivers/net/ethernet/pensando/ionic/ionic_lif.h    |   4 +-
 drivers/net/ethernet/pensando/ionic/ionic_txrx.c   |  41 +++--
 drivers/net/ethernet/sis/sis900.c                  |   7 +-
 drivers/net/ethernet/sun/niu.c                     |   3 +-
 drivers/nfc/nfcsim.c                               |   3 +-
 drivers/nvme/host/pci.c                            |  66 ++++++-
 drivers/platform/x86/amd-pmc.c                     |  48 +++--
 fs/block_dev.c                                     |   2 +
 fs/btrfs/compression.c                             |   2 +-
 fs/btrfs/tree-log.c                                |   4 +-
 fs/btrfs/volumes.c                                 |   1 +
 fs/cifs/file.c                                     |   2 +-
 fs/cifs/smb2ops.c                                  |   4 +-
 fs/hfs/bfind.c                                     |  14 +-
 fs/hfs/bnode.c                                     |  25 ++-
 fs/hfs/btree.h                                     |   7 +
 fs/hfs/super.c                                     |  10 +-
 fs/internal.h                                      |   1 -
 fs/io_uring.c                                      |  16 +-
 fs/iomap/seek.c                                    |  25 +--
 fs/ocfs2/file.c                                    | 103 ++++++-----
 fs/pipe.c                                          |  10 +-
 include/linux/bpf_types.h                          |   1 +
 include/linux/bpf_verifier.h                       |  11 +-
 include/linux/filter.h                             |  15 ++
 include/linux/fs_context.h                         |   1 +
 include/linux/skmsg.h                              |   1 -
 include/net/busy_poll.h                            |   2 +-
 include/net/llc_pdu.h                              |  31 +++-
 include/net/sctp/constants.h                       |   4 +-
 kernel/bpf/core.c                                  |  19 +-
 kernel/bpf/disasm.c                                |  16 +-
 kernel/bpf/verifier.c                              | 186 +++++++------------
 kernel/cgroup/cgroup-v1.c                          |   4 +-
 kernel/rcu/tasks.h                                 |   6 +-
 kernel/workqueue.c                                 |  20 ++-
 mm/slab.h                                          |   2 +-
 net/802/garp.c                                     |  14 ++
 net/802/mrp.c                                      |  14 ++
 net/can/j1939/transport.c                          |  11 +-
 net/can/raw.c                                      |  20 ++-
 net/core/skmsg.c                                   |   3 +-
 net/core/sock.c                                    |   2 +-
 net/ipv4/ip_tunnel.c                               |   2 +-
 net/ipv6/ip6_output.c                              |  28 +++
 net/llc/af_llc.c                                   |  10 +-
 net/llc/llc_s_ac.c                                 |   2 +-
 net/mac80211/cfg.c                                 |  19 ++
 net/mac80211/ieee80211_i.h                         |   2 +
 net/mac80211/mlme.c                                |   4 +-
 net/netfilter/nf_conntrack_core.c                  |   7 +-
 net/netfilter/nft_nat.c                            |   4 +-
 net/qrtr/qrtr.c                                    |   6 +-
 net/sctp/input.c                                   |   2 +-
 net/sctp/protocol.c                                |   3 +-
 net/tipc/crypto.c                                  |  14 +-
 net/tipc/socket.c                                  |  30 ++--
 net/unix/af_unix.c                                 |  51 +++++-
 net/wireless/scan.c                                |   6 +-
 tools/scripts/Makefile.include                     |  12 +-
 tools/testing/selftests/vm/userfaultfd.c           |   2 +-
 virt/kvm/kvm_main.c                                |  28 +++
 119 files changed, 1133 insertions(+), 570 deletions(-)



More information about the kernel-team mailing list