[SRU][Bionic][PULL] Bionic upstream stable patchset 2021-07-14

Kamal Mostafa kamal at whence.com
Thu Jul 15 18:29:22 UTC 2021


This pull request (159 commits) includes the following Bionic stable patchsets:

	Bionic update: upstream stable patchset 2021-07-14
		Ported from the following upstream stable releases:
			v4.14.237, v4.19.195
			v4.14.238, v4.19.196
	https://bugs.launchpad.net/bugs/1936231

 -Kamal

---

The following changes since commit 926f997e263e2b49ec5096815eabc61ca8b8c61f:

  btrfs: reloc: fix reloc root leak and NULL pointer dereference (2021-07-03 07:33:35 -0600)

are available in the Git repository at:

  git://kernel.ubuntu.com/ubuntu-stable/ubuntu-stable-bionic.git tags/bionic-stable-2021-07-14

for you to fetch changes up to f77cfcfff2afb16d78a8830cc259f8d51f938b78:

  UBUNTU: upstream stable to v4.14.238, v4.19.196 (2021-07-13 12:57:34 -0700)

----------------------------------------------------------------
Al Viro (2):
      kernfs: deal with kernfs_fill_super() failures
      unfuck sysfs_mount()

Alexander Kuznetsov (1):
      cgroup1: don't allow '\n' in renaming

Alexandre GRIVEAUX (1):
      USB: serial: omninet: add device id for Zyxel Omni 56K Plus

Andrew Lunn (1):
      usb: core: hub: Disable autosuspend for Cypress CY7C65632

Andrew Morton (1):
      mm/slub.c: include swab.h

Anirudh Rayabharam (1):
      HID: usbhid: fix info leak in hid_submit_ctrl

Anna Schumaker (1):
      NFS: Fix use-after-free in nfs4_init_client()

Anson Huang (1):
      ARM: dts: imx6qdl-sabresd: Assign corresponding power supply for LDOs

Antti Järvinen (1):
      PCI: Mark TI C667X to avoid bus reset

Arnd Bergmann (1):
      ARM: 9081/1: fix gcc-10 thumb2-kernel regression

Austin Kim (1):
      net: ethtool: clear heap allocations for ethtool function

Bixuan Cui (1):
      HID: gt683r: add missing MODULE_DEVICE_TABLE

Bumyong Lee (1):
      dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc

Changbin Du (1):
      net: make get_net_ns return error if NET_NS is disabled

Chen Li (1):
      radeon: use memcpy_to/fromio for UVD fw upload

Chengyang Fan (1):
      net: ipv4: fix memory leak in ip_mc_add1_src

Chiqijun (1):
      PCI: Work around Huawei Intelligent NIC VF FLR erratum

Chris Packham (4):
      powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
      powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
      i2c: mpc: Make use of i2c_recover_bus()
      i2c: mpc: implement erratum A-004447 workaround

Christian König (2):
      drm/nouveau: wait for moving fence after pinning v2
      drm/radeon: wait for moving fence after pinning

Christophe JAILLET (4):
      alx: Fix an error handling path in 'alx_probe()'
      qlcnic: Fix an error handling path in 'qlcnic_probe()'
      netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
      be2net: Fix an error handling path in 'be_probe()'

Dai Ngo (1):
      NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.

Dan Carpenter (2):
      net: mdiobus: get rid of a BUG_ON()
      NFS: Fix a potential NULL dereference in nfs_get_client()

Dan Robertson (1):
      net: ieee802154: fix null deref in parse dev addr

Desmond Cheong Zhi Xi (2):
      drm: Fix use-after-free read in drm_getunique()
      drm: Lock pointer access in drm_master_release()

Dmitry Baryshkov (1):
      regulator: core: resolve supply for boot-on/always-on regulators

Dmitry Bogdanov (1):
      scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal

Dmitry Osipenko (1):
      regulator: max77620: Use device_set_of_node_from_dev()

Dongliang Mu (1):
      net: usb: fix possible use-after-free in smsc75xx_bind

Du Cheng (1):
      cfg80211: call cfg80211_leave_ocb when switching away from OCB

Eric Dumazet (5):
      net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
      inet: use bigger hash table for IP ID generation
      inet: annotate date races around sk->sk_txhash
      net/packet: annotate accesses to po->bind
      net/packet: annotate accesses to po->ifindex

Esben Haabendal (1):
      net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY

Ewan D. Milne (1):
      scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V

Fabien Dessenne (1):
      pinctrl: stm32: fix the reported number of GPIO lines per bank

Fugang Duan (1):
      net: fec_ptp: add clock rate zero check

George McCollister (1):
      USB: serial: ftdi_sio: add NovaTech OrionMX product ID

Hannes Reinecke (3):
      nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
      nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails
      nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()

Hillf Danton (1):
      gfs2: Fix use-after-free in gfs2_glock_shrink_scan

Huy Nguyen (1):
      net/mlx5e: Remove dependency in IPsec initialization flows

Ido Schimmel (1):
      rtnetlink: Fix regression in bridge VLAN configuration

Jack Yu (1):
      ASoC: rt5659: Fix the lost powers for the HDA header

Jakub Kicinski (1):
      ptp: improve max_adj check against unreasonable values

Javed Hasan (1):
      scsi: bnx2fc: Return failure if io_req is already in ABTS processing

Jeimon (1):
      net/nfc/rawsock.c: fix a permission check bug

Jiapeng Chong (3):
      bnx2x: Fix missing error code in bnx2x_iov_init_one()
      ethernet: myri10ge: Fix missing error code in myri10ge_probe()
      rtnetlink: Fix missing error code in rtnl_bridge_notify()

Jisheng Zhang (1):
      net: stmmac: dwmac1000: Fix extended MAC address registers definition

Joakim Zhang (1):
      net: fec_ptp: fix issue caused by refactor the fec_devtype

Johan Hovold (2):
      USB: serial: quatech2: fix control-request directions
      i2c: robotfuzz-osif: fix control-request directions

Johannes Berg (5):
      bonding: init notify_work earlier to avoid uninitialized use
      netlink: disable IRQs for netlink_lock_table()
      mac80211: remove warning in ieee80211_get_sband()
      mac80211: drop multicast fragments
      cfg80211: make certificate generation more robust

Josh Triplett (1):
      net: ipconfig: Don't override command-line hostnames or domains

Kamal Mostafa (3):
      Revert "UBUNTU: SAUCE: Revert "proc: Check /proc/$pid/attr/ writes against file opener""
      UBUNTU: upstream stable to v4.14.237, v4.19.195
      UBUNTU: upstream stable to v4.14.238, v4.19.196

Kees Cook (6):
      proc: Track /proc/$pid/attr/ opener mm_struct
      r8152: Avoid memcpy() over-reading of ETH_SS_STATS
      sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
      r8169: Avoid memcpy() over-reading of ETH_SS_STATS
      net: qed: Fix memcpy() overflow of qed_dcbx_params()
      mm/slub: clarify verification reporting

Kyle Tso (1):
      usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms

Leo Yan (1):
      perf session: Correct buffer copying when peeking events

Liangyan (1):
      tracing: Correct the length check which causes memory corruption

Linus Torvalds (1):
      proc: only require mm_struct for writing

Linyu Yuan (2):
      usb: gadget: eem: fix wrong eem header operation
      net: cdc_eem: fix tx fixup skb leak

Maciej Żenczykowski (5):
      USB: f_ncm: ncm_bitrate (speed) is unsigned
      usb: fix various gadgets null ptr deref on 10gbps cabling.
      usb: fix various gadget panics on 10gbps cabling
      usb: f_ncm: only first packet of aggregate needs to start timer
      net: cdc_ncm: switch to eth%d interface naming

Marco Elver (1):
      perf: Fix data race between pin_count increment/decrement

Marian-Cristian Rotariu (1):
      usb: dwc3: ep0: fix NULL pointer exception

Mark Bolhuis (1):
      HID: Add BUS_VIRTUAL to hid_connect logging

Matt Wang (1):
      scsi: vmw_pvscsi: Set correct residual data length

Maurizio Lombardi (1):
      scsi: target: core: Fix warning on realtime kernels

Maxim Mikityanskiy (1):
      netfilter: synproxy: Fix out of bounds when parsing TCP options

Mayank Rana (1):
      usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path

Mikel Rychliski (1):
      PCI: Add AMD RS690 quirk to enable 64-bit DMA

Ming Lei (3):
      scsi: core: Fix error handling of scsi_host_alloc()
      scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
      scsi: core: Only put parent device if host state differs from SHOST_CREATED

Nanyong Sun (1):
      net: ipv4: fix memory leak in netlbl_cipsov4_add_std

Nathan Chancellor (3):
      vmlinux.lds.h: Avoid orphan section with !SMP
      Makefile: Move -Wno-unused-but-set-variable out of GCC only block
      MIPS: generic: Update node names to avoid unit addresses

Nikolay Aleksandrov (2):
      net: bridge: fix vlan tunnel dst null pointer dereference
      net: bridge: fix vlan tunnel dst refcnt when egressing

Norbert Slusarek (1):
      can: bcm: fix infoleak in struct bcm_msg_head

Paolo Abeni (1):
      udp: fix race between close() and udp_abort()

Paolo Bonzini (2):
      kvm: avoid speculation-based attacks from out-of-range memslot accesses
      kvm: fix previous commit for 32-bit builds

Pavel Skripkin (7):
      net: rds: fix memory leak in rds_recvmsg
      net: hamradio: fix memory leak in mkiss_close
      net: ethernet: fix potential use-after-free in ec_bhf_remove
      can: mcba_usb: fix memory leak in mcba_usb
      net: caif: fix memory leak in ldisc_open
      nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
      net: qrtr: fix OOB Read in qrtr_endpoint_post

Pedro Tammela (1):
      net: add documentation to socket.c

Peter Chen (1):
      usb: dwc3: core: fix kernel panic when do reboot

Rafael J. Wysocki (1):
      Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"

Randy Dunlap (2):
      dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM
      dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM

Ritesh Harjani (1):
      btrfs: return value from btrfs_mark_extent_written() in case of error

Riwen Lu (1):
      hwmon: (scpi-hwmon) shows the negative temperature properly

Saubhik Mukherjee (1):
      net: appletalk: cops: Fix data race in cops_probe1

Sergey Senozhatsky (1):
      wq: handle VM suspension in stall detection

Shakeel Butt (1):
      cgroup: disable controllers at parse time

Shalom Toledo (1):
      ptp: ptp_clock: Publish scaled_ppm_to_ppb

Shanker Donthineni (1):
      PCI: Mark some NVIDIA GPUs to avoid bus reset

Shay Drory (1):
      RDMA/mlx4: Do not map the core_clock page to user space unless enabled

Sriharsha Basavapatna (1):
      PCI: Add ACS quirk for Broadcom BCM57414 NIC

Srinivas Pandruvada (1):
      HID: hid-sensor-hub: Return error for hid_set_field() failure

Steven Rostedt (VMware) (4):
      ftrace: Do not blindly read the ip address in ftrace_bug()
      tracing: Do not stop recording cmdlines when tracing is off
      tracing: Do not stop recording comms if the trace file is being read
      tracing: Do no increment trace_clock_global() by one

Sven Eckelmann (1):
      batman-adv: Avoid WARN_ON timing related checks

Tetsuo Handa (1):
      can: bcm/raw/isotp: use per module netdevice notifier

Thomas Gleixner (1):
      x86/fpu: Reset state for all signal restore failures

Tiezhu Yang (1):
      MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER

Toke Høiland-Jørgensen (1):
      icmp: don't send out ICMP messages with a source address of 0.0.0.0

Vincent Guittot (1):
      sched/fair: Make sure to update tg contrib for blocked load

Vineet Gupta (1):
      ARCv2: save ABI registers across signal handling

Wenli Looi (1):
      staging: rtl8723bs: Fix uninitialized variables

Wesley Cheng (1):
      usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind

Yang Yingliang (1):
      dmaengine: stedma40: add missing iounmap() on error in d40_probe()

Yongqiang Liu (1):
      ARM: OMAP2+: Fix build warning when mmc_omap is not built

Zheng Yongjun (4):
      net/x25: Return the correct errno code
      net: Return the correct errno code
      fib: Return the correct errno code
      ping: Check return value of function 'ping_queue_rcv_skb'

Zheyu Ma (2):
      isdn: mISDN: netjet: Fix crash in nj_probe:
      net/qla3xxx: fix schedule while atomic in ql_sem_spinlock

Zong Li (1):
      net: macb: ensure the device is available before accessing GEMGXL control registers

Zou Wei (1):
      ASoC: sti-sas: add missing MODULE_DEVICE_TABLE

yangerkun (1):
      mm/memory-failure: make sure wait for page writeback in memory_failure

 Makefile                                           |   3 +-
 arch/arc/include/uapi/asm/sigcontext.h             |   1 +
 arch/arc/kernel/signal.c                           |  43 ++++
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi             |  12 +
 arch/arm/boot/dts/imx6qdl.dtsi                     |   6 +-
 arch/arm/kernel/setup.c                            |  16 +-
 arch/arm/mach-omap2/board-n8x0.c                   |   2 +-
 arch/mips/generic/board-boston.its.S               |  10 +-
 arch/mips/generic/board-ni169445.its.S             |  10 +-
 arch/mips/generic/vmlinux.its.S                    |  10 +-
 arch/mips/lib/mips-atomic.c                        |  12 +-
 arch/powerpc/boot/dts/fsl/p1010si-post.dtsi        |   8 +
 arch/powerpc/boot/dts/fsl/p2041si-post.dtsi        |  16 ++
 arch/x86/kernel/fpu/signal.c                       |  31 ++-
 arch/x86/pci/fixup.c                               |  44 ++++
 debian.master/upstream-stable                      |   4 +-
 drivers/dma/Kconfig                                |   1 +
 drivers/dma/pl330.c                                |   6 +-
 drivers/dma/qcom/Kconfig                           |   1 +
 drivers/dma/ste_dma40.c                            |   3 +
 drivers/gpu/drm/drm_auth.c                         |   3 +-
 drivers/gpu/drm/drm_ioctl.c                        |   9 +-
 drivers/gpu/drm/nouveau/nouveau_prime.c            |  17 +-
 drivers/gpu/drm/radeon/radeon_prime.c              |  16 +-
 drivers/gpu/drm/radeon/radeon_uvd.c                |   4 +-
 drivers/hid/hid-core.c                             |   3 +
 drivers/hid/hid-gt683r.c                           |   1 +
 drivers/hid/hid-sensor-hub.c                       |  13 +-
 drivers/hid/usbhid/hid-core.c                      |   2 +-
 drivers/hwmon/scpi-hwmon.c                         |   9 +
 drivers/i2c/busses/i2c-mpc.c                       |  95 +++++++-
 drivers/i2c/busses/i2c-robotfuzz-osif.c            |   4 +-
 drivers/infiniband/hw/mlx4/main.c                  |   5 +-
 drivers/isdn/hardware/mISDN/netjet.c               |   1 -
 drivers/net/appletalk/cops.c                       |   4 +-
 drivers/net/bonding/bond_main.c                    |   2 +-
 drivers/net/caif/caif_serial.c                     |   1 +
 drivers/net/can/usb/mcba_usb.c                     |  17 +-
 drivers/net/ethernet/atheros/alx/main.c            |   1 +
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c  |   4 +-
 drivers/net/ethernet/cadence/macb_main.c           |   3 +
 drivers/net/ethernet/ec_bhf.c                      |   4 +-
 drivers/net/ethernet/emulex/benet/be_main.c        |   1 +
 drivers/net/ethernet/freescale/fec_ptp.c           |   8 +-
 drivers/net/ethernet/mellanox/mlx4/fw.c            |   3 +
 drivers/net/ethernet/mellanox/mlx4/fw.h            |   1 +
 drivers/net/ethernet/mellanox/mlx4/main.c          |   6 +
 .../ethernet/mellanox/mlx5/core/en_accel/ipsec.c   |   3 -
 drivers/net/ethernet/myricom/myri10ge/myri10ge.c   |   1 +
 .../net/ethernet/qlogic/netxen/netxen_nic_main.c   |   2 +
 drivers/net/ethernet/qlogic/qed/qed_dcbx.c         |   4 +-
 drivers/net/ethernet/qlogic/qla3xxx.c              |   2 +-
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c   |   1 +
 drivers/net/ethernet/realtek/r8169.c               |   2 +-
 drivers/net/ethernet/renesas/sh_eth.c              |   2 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac1000.h    |   8 +-
 drivers/net/ethernet/xilinx/ll_temac_main.c        |   5 +
 drivers/net/hamradio/mkiss.c                       |   1 +
 drivers/net/phy/mdio_bus.c                         |   3 +-
 drivers/net/usb/cdc_eem.c                          |   2 +-
 drivers/net/usb/cdc_ncm.c                          |   2 +-
 drivers/net/usb/r8152.c                            |   2 +-
 drivers/net/usb/smsc75xx.c                         |  10 +-
 drivers/nvme/target/loop.c                         |   5 +-
 drivers/pci/pci.c                                  |  16 +-
 drivers/pci/quirks.c                               |  89 +++++++
 drivers/pinctrl/stm32/pinctrl-stm32.c              |   9 +-
 drivers/ptp/ptp_clock.c                            |   7 +-
 drivers/regulator/core.c                           |   6 +
 drivers/regulator/max77620-regulator.c             |   7 +
 drivers/scsi/bnx2fc/bnx2fc_io.c                    |   1 +
 drivers/scsi/hosts.c                               |  33 ++-
 drivers/scsi/qla2xxx/qla_target.c                  |   2 +
 drivers/scsi/scsi_devinfo.c                        |   1 +
 drivers/scsi/vmw_pvscsi.c                          |   8 +-
 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c  |   2 +-
 drivers/target/target_core_transport.c             |   4 +-
 drivers/usb/core/hub.c                             |   7 +
 drivers/usb/dwc3/core.c                            |   2 +-
 drivers/usb/dwc3/ep0.c                             |   3 +
 drivers/usb/gadget/config.c                        |   8 +
 drivers/usb/gadget/function/f_ecm.c                |   2 +-
 drivers/usb/gadget/function/f_eem.c                |   6 +-
 drivers/usb/gadget/function/f_fs.c                 |   3 +
 drivers/usb/gadget/function/f_hid.c                |   3 +-
 drivers/usb/gadget/function/f_loopback.c           |   2 +-
 drivers/usb/gadget/function/f_ncm.c                |  10 +-
 drivers/usb/gadget/function/f_printer.c            |   3 +-
 drivers/usb/gadget/function/f_rndis.c              |   2 +-
 drivers/usb/gadget/function/f_serial.c             |   2 +-
 drivers/usb/gadget/function/f_sourcesink.c         |   3 +-
 drivers/usb/gadget/function/f_subset.c             |   2 +-
 drivers/usb/gadget/function/f_tcm.c                |   3 +-
 drivers/usb/serial/ftdi_sio.c                      |   1 +
 drivers/usb/serial/ftdi_sio_ids.h                  |   1 +
 drivers/usb/serial/omninet.c                       |   2 +
 drivers/usb/serial/quatech2.c                      |   6 +-
 drivers/usb/typec/ucsi/ucsi.c                      |   1 +
 fs/btrfs/file.c                                    |   4 +-
 fs/gfs2/glock.c                                    |   2 +-
 fs/kernfs/mount.c                                  |   1 +
 fs/nfs/client.c                                    |   2 +-
 fs/nfs/nfs4client.c                                |   2 +-
 fs/nfs/nfs4proc.c                                  |   8 +
 fs/nilfs2/sysfs.c                                  |   1 +
 fs/proc/base.c                                     |  13 +
 fs/sysfs/mount.c                                   |   6 +-
 include/asm-generic/vmlinux.lds.h                  |   1 +
 include/linux/hid.h                                |   3 +-
 include/linux/kvm_host.h                           |  10 +-
 include/linux/mlx4/device.h                        |   1 +
 include/linux/net.h                                |   6 +
 include/linux/ptp_clock_kernel.h                   |   8 +
 include/linux/socket.h                             |  12 +-
 include/linux/usb/pd.h                             |   2 +-
 include/net/net_namespace.h                        |   7 +
 include/net/sock.h                                 |  10 +-
 include/uapi/linux/in.h                            |   3 +
 kernel/cgroup/cgroup-v1.c                          |   4 +
 kernel/cgroup/cgroup.c                             |  13 +-
 kernel/events/core.c                               |   2 +
 kernel/sched/fair.c                                |   2 +-
 kernel/trace/ftrace.c                              |   8 +-
 kernel/trace/trace.c                               |  13 +-
 kernel/trace/trace_clock.c                         |   6 +-
 kernel/workqueue.c                                 |  12 +-
 mm/memory-failure.c                                |   7 +-
 mm/slub.c                                          |  15 +-
 net/batman-adv/bat_iv_ogm.c                        |   4 +-
 net/bridge/br_private.h                            |   4 +-
 net/bridge/br_vlan_tunnel.c                        |  38 +--
 net/can/bcm.c                                      |  62 ++++-
 net/can/raw.c                                      |  62 +++--
 net/compat.c                                       |   2 +-
 net/core/ethtool.c                                 |  10 +-
 net/core/fib_rules.c                               |   2 +-
 net/core/net_namespace.c                           |  12 +
 net/core/rtnetlink.c                               |   4 +
 net/ieee802154/nl802154.c                          |   9 +-
 net/ipv4/cipso_ipv4.c                              |   1 +
 net/ipv4/icmp.c                                    |   7 +
 net/ipv4/igmp.c                                    |   1 +
 net/ipv4/ipconfig.c                                |  13 +-
 net/ipv4/ping.c                                    |  12 +-
 net/ipv4/route.c                                   |  41 +++-
 net/ipv4/udp.c                                     |  10 +
 net/ipv6/udp.c                                     |   3 +
 net/mac80211/ieee80211_i.h                         |   2 +-
 net/mac80211/rx.c                                  |   9 +-
 net/netfilter/nf_synproxy_core.c                   |   5 +
 net/netlink/af_netlink.c                           |   6 +-
 net/nfc/rawsock.c                                  |   2 +-
 net/packet/af_packet.c                             |  32 +--
 net/qrtr/qrtr.c                                    |   2 +-
 net/rds/recv.c                                     |   2 +-
 net/socket.c                                       | 266 +++++++++++++++++++--
 net/unix/af_unix.c                                 |   7 +-
 net/wireless/Makefile                              |   2 +-
 net/wireless/util.c                                |   3 +
 net/x25/af_x25.c                                   |   2 +-
 sound/soc/codecs/rt5659.c                          |  26 +-
 sound/soc/codecs/sti-sas.c                         |   1 +
 tools/perf/util/session.c                          |   1 +
 163 files changed, 1292 insertions(+), 345 deletions(-)



More information about the kernel-team mailing list