From patchwork Tue Aug 11 19:48:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 1343426 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=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com 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 4BR3Kc5GQHz9sTF; Wed, 12 Aug 2020 05:48:18 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1k5aFo-0001Ye-Q5; Tue, 11 Aug 2020 19:48:12 +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 1k5aFm-0001YY-Bp for kernel-team@lists.ubuntu.com; Tue, 11 Aug 2020 19:48:10 +0000 Received: from 3.general.kamal.us.vpn ([10.172.68.53] helo=ascalon) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1k5aFl-00024o-VB for kernel-team@lists.ubuntu.com; Tue, 11 Aug 2020 19:48:10 +0000 Received: from kamal by ascalon with local (Exim 4.90_1) (envelope-from ) id 1k5aFi-0007LM-ML for kernel-team@lists.ubuntu.com; Tue, 11 Aug 2020 12:48:06 -0700 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: [SRU][Bionic][PULL] Bionic upstream stable patchset 2020-08-11 Date: Tue, 11 Aug 2020 12:48:03 -0700 Message-Id: <20200811194803.28066-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 (70 commits) includes the following Bionic stable patchsets: Bionic update: upstream stable patchset 2020-08-11 Ported from the following upstream stable releases: v4.14.191, v4.19.136, v4.14.192, v4.19.137, v4.14.193, v4.19.138 https://bugs.launchpad.net/bugs/1891228 -Kamal ----- The following changes since commit f4daf25f7f8608d1c14c85ea0b73c9e1e1eb2dba: UBUNTU: Ubuntu-4.15.0-114.115 (2020-08-11 10:58:21 +0200) 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 80c4f278b2cb024f7d6eb118eb7116cb7c222cfe: UBUNTU: upstream stable to v4.14.193, v4.19.138 (2020-08-11 12:06:24 -0700) ---------------------------------------------------------------- Andrea Righi (1): xen-netfront: fix potential deadlock in xennet_remove() Andrii Nakryiko (1): bpf: Fix map leak in HASH_OF_MAPS map Cong Wang (1): qrtr: orphan socket in qrtr_release() Dan Carpenter (1): AX.25: Prevent integer overflows in connect and sendmsg David Howells (1): rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA Dominique Martinet (1): 9p/trans_fd: abort p9_read_work if req status changed Eran Ben Elisha (1): net/mlx5: Verify Hardware supports requested ptp function on a given pin Geert Uytterhoeven (1): usb: hso: Fix debug compile warning on sparc32 Grygorii Strashko (1): ARM: percpu.h: fix build error Ido Schimmel (2): mlxsw: core: Increase scope of RCU read-side critical section mlxsw: core: Free EMAD transactions using kfree_rcu() Jaegeuk Kim (1): f2fs: check memory boundary by insane namelen Jakub Kicinski (1): mlx4: disable device on shutdown Jiang Ying (1): ext4: fix direct I/O read error Johan Hovold (2): net: lan78xx: add missing endpoint sanity check net: lan78xx: fix transfer-buffer memory leak Josh Poimboeuf (1): x86/unwind/orc: Fix ORC for newly forked tasks Kamal Mostafa (3): UBUNTU: upstream stable to v4.14.191, v4.19.136 UBUNTU: upstream stable to v4.14.192, v4.19.137 UBUNTU: upstream stable to v4.14.193, v4.19.138 Laurence Oberman (1): qed: Disable "MFW indication via attention" SPAM every 5 minutes Liam Beguin (1): parisc: add support for cmpxchg on u8 pointers Linus Torvalds (2): random32: remove net_rand_state from the latent entropy gcc plugin random32: move the pseudo-random 32-bit definitions to prandom.h Miaohe Lin (1): net: udp: Fix wrong clean up for IS_UDPLITE macro Michael Karcher (1): sh: Fix validation of system call number Navid Emamdoost (7): crypto: ccp - Release all allocated memory if sha type is invalid media: rc: prevent memory leak in cx23888_ir_probe ath9k_htc: release allocated buffer if timed out ath9k: release allocated buffer if timed out nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame cxgb4: add missing release on skb in uld_send() drm/amdgpu: fix multiple memory leaks in acp_hw_init Peilin Ye (4): AX.25: Fix out-of-bounds read in ax25_connect() AX.25: Prevent out-of-bounds read in ax25_sendmsg() drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl() rds: Prevent kernel-infoleak in rds_notify_queue_get() Peng Fan (1): regmap: debugfs: check count when read regmap file Pi-Hsun Shih (1): wireless: Use offsetof instead of custom macro. Raviteja Narayanam (1): Revert "i2c: cadence: Fix the hold bit setting" Remi Pommarel (2): mac80211: mesh: Free ie data when leaving mesh mac80211: mesh: Free pending skb when destroying a mpath Rik van Riel (1): xfs: fix missed wakeup on l_flush_wait Robert Hancock (1): PCI/ASPM: Disable ASPM on ASMedia ASM1083/1085 PCIe-to-PCI bridge Robin Murphy (1): arm64: csum: Fix handling of bad packets Sami Tolvanen (2): x86/build/lto: Fix truncated .bss with -fdata-sections arm64/alternatives: move length validation inside the subsection Sasha Levin (1): iio: imu: adis16400: fix memory leak Sheng Yong (1): f2fs: check if file namelen exceeds max value Steve Cohen (1): drm: hold gem reference until object is no longer accessed Subash Abhinov Kasiviswanathan (1): dev: Defer free of skbs in flush_backlog Tanner Love (2): selftests/net: rxtimestamp: fix clang issues for target arch PowerPC selftests/net: psock_fanout: fix clang issues for target arch PowerPC Thomas Falcon (1): ibmvnic: Fix IRQ mapping disposal in error path Thomas Gleixner (1): x86/i8259: Use printk_deferred() to prevent deadlock Wang Hai (1): 9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_read_work Wanpeng Li (1): KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled Wei Yongjun (1): ip6_gre: fix null-ptr-deref in ip6gre_init_net() Weilong Chen (1): rtnetlink: Fix memory(net_device) leak when ->newlink fails Will Deacon (1): ARM: 8986/1: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints Willy Tarreau (2): random32: update the net random state on interrupt and activity random: fix circular include dependency on arm64 after addition of percpu.h Xie He (1): drivers/net/wan/x25_asy: Fix to make it work Xin Long (2): sctp: shrink stream outq only when new outcnt < old outcnt sctp: shrink stream outq when fails to do addstream reconf Xiongfeng Wang (1): net-sysfs: add a newline when printing 'tx_timeout' by sysfs Xiyu Yang (1): net/x25: Fix x25_neigh refcnt leak when x25 disconnect Yoshihiro Shimoda (1): net: ethernet: ravb: exit if re-initialization fails in tx timeout Yuchung Cheng (1): tcp: allow at most one TLP probe per flight YueHaibing (1): net/x25: Fix null-ptr-deref in x25_disconnect arch/arm/include/asm/percpu.h | 2 + arch/arm/kernel/hw_breakpoint.c | 27 ++++++-- arch/arm64/include/asm/alternative.h | 4 +- arch/arm64/include/asm/checksum.h | 5 +- arch/parisc/include/asm/cmpxchg.h | 2 + arch/parisc/lib/bitops.c | 12 ++++ arch/sh/kernel/entry-common.S | 6 +- arch/x86/kernel/i8259.c | 2 +- arch/x86/kernel/unwind_orc.c | 8 ++- arch/x86/kernel/vmlinux.lds.S | 2 +- arch/x86/kvm/lapic.c | 2 +- debian.master/upstream-stable | 4 +- drivers/base/regmap/regmap-debugfs.c | 6 ++ drivers/char/random.c | 1 + drivers/crypto/ccp/ccp-ops.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 34 ++++++---- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 3 +- drivers/gpu/drm/drm_gem.c | 10 ++- drivers/i2c/busses/i2c-cadence.c | 9 +-- drivers/iio/imu/adis16400_buffer.c | 5 +- drivers/media/pci/cx23885/cx23888-ir.c | 5 +- drivers/net/ethernet/chelsio/cxgb4/sge.c | 1 + drivers/net/ethernet/ibm/ibmvnic.c | 2 +- drivers/net/ethernet/mellanox/mlx4/main.c | 2 + .../net/ethernet/mellanox/mlx5/core/lib/clock.c | 23 ++++++- drivers/net/ethernet/mellanox/mlxsw/core.c | 8 ++- drivers/net/ethernet/qlogic/qed/qed_int.c | 3 +- drivers/net/ethernet/renesas/ravb_main.c | 26 +++++++- drivers/net/usb/hso.c | 5 +- drivers/net/usb/lan78xx.c | 6 ++ drivers/net/wan/x25_asy.c | 21 ++++-- drivers/net/wireless/ath/ath9k/htc_hst.c | 3 + drivers/net/wireless/ath/ath9k/wmi.c | 1 + drivers/net/xen-netfront.c | 64 ++++++++++++------ drivers/nfc/s3fwrn5/core.c | 1 + drivers/pci/quirks.c | 13 ++++ fs/ext4/inode.c | 5 ++ fs/f2fs/dir.c | 12 +++- fs/xfs/xfs_log.c | 9 ++- include/linux/prandom.h | 78 ++++++++++++++++++++++ include/linux/random.h | 63 ++--------------- include/linux/tcp.h | 4 +- include/uapi/linux/wireless.h | 5 +- kernel/bpf/hashtab.c | 12 +++- kernel/time/timer.c | 8 +++ lib/random32.c | 2 +- net/9p/trans_fd.c | 32 +++++++-- net/ax25/af_ax25.c | 10 ++- net/core/dev.c | 2 +- net/core/net-sysfs.c | 2 +- net/core/rtnetlink.c | 3 +- net/ipv4/tcp_input.c | 11 +-- net/ipv4/tcp_output.c | 13 ++-- net/ipv4/udp.c | 2 +- net/ipv6/ip6_gre.c | 11 +-- net/ipv6/udp.c | 2 +- net/mac80211/cfg.c | 1 + net/mac80211/mesh_pathtbl.c | 1 + net/qrtr/qrtr.c | 1 + net/rds/recv.c | 3 +- net/rxrpc/recvmsg.c | 2 +- net/rxrpc/sendmsg.c | 2 +- net/sctp/stream.c | 27 +++++--- net/x25/x25_subr.c | 6 ++ tools/testing/selftests/net/psock_fanout.c | 3 +- .../networking/timestamping/rxtimestamp.c | 3 +- 66 files changed, 463 insertions(+), 203 deletions(-) create mode 100644 include/linux/prandom.h