Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3323227rwa; Tue, 23 Aug 2022 02:50:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR7aGMsSZgPq07zvrVSQkspme/BMnZEC1hXvF3f9tY8ws4O5+gAsXpMynd5sBMZdYBp1GUn/ X-Received: by 2002:a17:902:9309:b0:170:c4d5:43ae with SMTP id bc9-20020a170902930900b00170c4d543aemr24101203plb.1.1661248219072; Tue, 23 Aug 2022 02:50:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661248219; cv=none; d=google.com; s=arc-20160816; b=E0IMhtT9Zj9VCnrKOZQrsJ/1yi1+DP2PB3onyFBNCODUvmxNzT2OEZrLT67yW3w0x0 KhXBt6kYom16im8N/sfayE7qFPZXOvecIOAFRfUL5RlfnS86Cu9bTLqS/cV94XvYwWyl 8V4SpkVZ1XUWDE4OVT70BLbOHd6xVdFYoiuyLOe+pcwNbM/eGbYklCEHEwMr+W/RMfKm CPZc+bIgQJhD9JNRWjnwpyTkeMWCTuPK1NZn2f7c9jQauZSAyDl2DSVj+Wy9cRE/bm8M f+6FedbhMvTcXDMuxlM9QpMvFhq72t4jTSttp5CiobC/cKuV3fa9cClFpNY3lcV61iVN ZSMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:user-agent :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=CjYDJD6lASa2uiPWKU8oxcAcozbRxA6CLLwejD4wd7s=; b=gBIxAxkkhj27u7LLie0UdN4qWHDYTiFZQ7Aq1sj/dZB5Dovmb2sK3EkDUfup1PMKQT PEcPV0FPpRNNHcDV5HWHqaSaBUWSGd/rQuj7UWRQ4Ha1miwGLjKwiJkvN1iNGJ3ODkwh AK1QBTzS2A4TFtGm5T+T+l7JamKJn6VyRqO/Z3JtF28qbqZQngT5nKkwl8fSSjbXQRIs MPQr+B2uoIko6cPHiodu3tm/JxJhxpvr3bYr/2YmsulA1EUCR8EmhtfKPKUU6I1I8yya tTfaMJnHwxYDtrBsHISbek1F6G5/YVNxdIlLPm6jSyw432cXFonQbqe7xILkMIyPjW25 Xg4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bWJuN+qT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g128-20020a636b86000000b00429f73ea759si15667871pgc.751.2022.08.23.02.50.08; Tue, 23 Aug 2022 02:50:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bWJuN+qT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240652AbiHWIHK (ORCPT + 99 others); Tue, 23 Aug 2022 04:07:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240461AbiHWIGt (ORCPT ); Tue, 23 Aug 2022 04:06:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72FFC6B15D; Tue, 23 Aug 2022 01:04:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 514CE61219; Tue, 23 Aug 2022 08:04:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24A36C433D7; Tue, 23 Aug 2022 08:04:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661241873; bh=iExwPztNjg6VwHc1XhCygvt9vMAuw2FhAtfSzjqAUNY=; h=From:To:Cc:Subject:Date:From; b=bWJuN+qTsO3k1nKvZzJDXkSn8DXQjBh97MGsly98MGFsPMveG0/ZurfdI+mxTy1s2 crMLgrrodXqDvL1MioiBq2x9nQ9imgGE08H+HmKej+EiawN0dUEEuj+hi6cw0RFHqp m53SYigjMak+/4yQ3Qb65zDkF2BThN2D2phL6N1o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, linux@roeck-us.net, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, slade@sladewatkins.com Subject: [PATCH 4.9 000/101] 4.9.326-rc1 review Date: Tue, 23 Aug 2022 10:02:33 +0200 Message-Id: <20220823080034.579196046@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.326-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.9.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.9.326-rc1 X-KernelTest-Deadline: 2022-08-25T08:00+00:00 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_ABUSE_SURBL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the start of the stable review cycle for the 4.9.326 release. There are 101 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu, 25 Aug 2022 08:00:15 +0000. Anything received after that time might be too late. The whole patch series can be found in one patch at: https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.326-rc1.gz or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman Linux 4.9.326-rc1 Nathan Chancellor MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 Zheyu Ma video: fbdev: i740fb: Check the argument of i740_calc_vclk() Zhouyi Zhou powerpc/64: Init jump labels before parse_early_param() Takashi Iwai ALSA: timer: Use deferred fasync helper Takashi Iwai ALSA: core: Add async signal helpers Liang He mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start Schspa Shi vfio: Clear the caps->buf to NULL after free Liang He tty: serial: Fix refcount leak bug in ucc_uart.c Kiselev, Oleg ext4: avoid resizing to a partial cluster size Ye Bin ext4: avoid remove directory when directory is corrupted Wentao_Liang drivers:md:fix a potential use-after-free bug Christophe JAILLET cxl: Fix a memory leak in an error handling path Jozef Martiniak gadgetfs: ep_io - wait until IRQ finishes Liang He usb: host: ohci-ppc-of: Fix refcount leak bug Sai Prakash Ranjan irqchip/tegra: Fix overflow implicit truncation warnings Masahiro Yamada kbuild: clear LDFLAGS in the top Makefile Csókás Bence fec: Fix timer capture timing in `fec_ptp_enable_pps()` Pablo Neira Ayuso netfilter: nf_tables: really skip inactive sets when allocating name Al Viro nios2: add force_successful_syscall_return() Al Viro nios2: restarts apply only to the first sigframe we build... Al Viro nios2: fix syscall restart checks Al Viro nios2: traced syscall does need to check the syscall number Al Viro nios2: don't leave NULLs in sys_call_table[] Al Viro nios2: page fault et.al. are *not* restartable syscalls... Duoming Zhou atm: idt77252: fix use-after-free bugs caused by tst_timer Dan Carpenter xen/xenbus: fix return type in xenbus_file_read() Peilin Ye vsock: Fix memory leak in vsock_connect() Nikita Travkin pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed Miaoqian Lin pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map Trond Myklebust SUNRPC: Reinitialise the backchannel request buffers before reuse Zhang Xianwei NFSv4.1: RECLAIM_COMPLETE must handle EACCES Marc Kleine-Budde can: ems_usb: fix clang's -Wunaligned-access warning Filipe Manana btrfs: fix lost error handling when looking up extended ref on log replay Damien Le Moal ata: libata-eh: Add missing command name Mikulas Patocka rds: add missing barrier to release_refill Amadeusz Sławiński ALSA: info: Fix llseek return value when using callback Jamal Hadi Salim net_sched: cls_route: disallow handle of 0 Tyler Hicks net/9p: Initialize the iounit field during fid creation Guenter Roeck nios2: time: Read timer in get_cycles only if initialized Luiz Augusto von Dentz Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression Jose Alonso Revert "net: usb: ax88179_178a needs FLAG_SEND_ZLP" Tony Battersby scsi: sg: Allow waiting for commands to complete on removed device Eric Dumazet tcp: fix over estimation in sk_forced_mem_schedule() Qu Wenruo btrfs: reject log replay if there is unsupported RO compat flag Thadeu Lima de Souza Cascardo net_sched: cls_route: remove from list when handle is 0 Mikulas Patocka dm raid: fix address sanitizer warning in raid_status Baokun Li ext4: correct max_inline_xattr_value_size computing Eric Whitney ext4: fix extent status tree race in writeback error recovery path Theodore Ts'o ext4: update s_overhead_clusters in the superblock during an on-line resize Baokun Li ext4: fix use-after-free in ext4_xattr_set_entry Lukas Czerner ext4: make sure ext4_append() always allocates new block Baokun Li ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h David Collins spmi: trace: fix stack-out-of-bound access in SPMI tracing functions Alexander Lobakin x86/olpc: fix 'logical not is only applied to the left hand side' Steffen Maier scsi: zfcp: Fix missing auto port scan and thus missing target ports Florian Westphal netfilter: nf_tables: fix null deref due to zeroed list head Weitao Wang USB: HCD: Fix URB giveback issue in tasklet function Huacai Chen MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK Michael Ellerman powerpc/powernv: Avoid crashing if rng is NULL Pali Rohár powerpc/fsl-pci: Fix Class Code of PCIe Root Port Pali Rohár PCI: Add defines for normal and subtractive PCI bridges Alexander Lobakin ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr() Mikulas Patocka md-raid10: fix KASAN warning Miklos Szeredi fuse: limit nsec Daniel Borkmann bpf: fix overflow in prog accounting Timur Tabi drm/nouveau: fix another off-by-one in nvbios_addr Helge Deller parisc: Fix device names in /proc/iomem Lukas Wunner usbnet: Fix linkwatch use-after-free on disconnect David Howells vfs: Check the truncate maximum size in inode_newsize_ok() Allen Ballway ALSA: hda/cirrus - support for iMac 12,1 model Meng Tang ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model Sean Christopherson KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks Maciej S. Szmigiero KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0 Mikulas Patocka add barriers to buffer_uptodate and set_buffer_uptodate Zheyu Ma ALSA: bcd2000: Fix a UAF bug on the error path of probing Nick Desaulniers x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments Nick Desaulniers Makefile: link with -z noexecstack --no-warn-rwx-segments Ning Qiang macintosh/adb: fix oob read in do_adb_query() function Hans-Christian Noren Egtvedt random: only call boot_init_stack_canary() once Werner Sembach ACPI: video: Shortening quirk list by identifying Clevo by board_name only Werner Sembach ACPI: video: Force backlight native for some TongFang devices Daniel Micay init/main.c: extract early boot entropy from the passed cmdline Laura Abbott init: move stack canary initialization after setup_arch Viresh Kumar init/main: properly align the multi-line comment Viresh Kumar init/main: Fix double "the" in comment Christian Borntraeger include/uapi/linux/swab.h: fix userspace breakage, use __BITS_PER_LONG for swap Paul Moore selinux: fix inode_doinit_with_dentry() LABEL_INVALID error handling Tianyue Ren selinux: fix error initialization in inode_doinit_with_dentry() Andreas Gruenbacher selinux: Convert isec->lock into a spinlock Andreas Gruenbacher selinux: Clean up initialization of isec->sclass Andreas Gruenbacher proc: Pass file mode to proc_pid_make_inode Andreas Gruenbacher selinux: Minor cleanups Nathan Chancellor ion: Make user_ion_handle_put_nolock() a void function Wei Mingzhi mt7601u: add USB device ID for some versions of XiaoDu WiFi Dongle. Greg Kroah-Hartman ARM: crypto: comment out gcc warning that breaks clang builds Florian Westphal netfilter: nf_queue: do not allow packet truncation below transport header offset Liang He net: sungem_phy: Add of_node_put() for reference returned by of_get_parent() Kuniyuki Iwashima net: ping6: Fix memleak in ipv6_renew_options(). Liang He scsi: ufs: host: Hold reference returned by of_parse_phandle() ChenXiaoSong ntfs: fix use-after-free in ntfs_ucsncmp() Luiz Augusto von Dentz Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put ------------- Diffstat: Makefile | 8 +- arch/arm/lib/xor-neon.c | 3 +- arch/ia64/include/asm/processor.h | 2 +- arch/mips/cavium-octeon/octeon-platform.c | 3 +- arch/mips/kernel/proc.c | 2 +- arch/mips/mm/tlbex.c | 4 +- arch/nios2/include/asm/entry.h | 3 +- arch/nios2/include/asm/ptrace.h | 2 + arch/nios2/kernel/entry.S | 22 +++-- arch/nios2/kernel/signal.c | 3 +- arch/nios2/kernel/syscall_table.c | 1 + arch/nios2/kernel/time.c | 5 +- arch/parisc/kernel/drivers.c | 9 +- arch/powerpc/kernel/prom.c | 7 ++ arch/powerpc/platforms/powernv/rng.c | 2 + arch/powerpc/sysdev/fsl_pci.c | 8 ++ arch/powerpc/sysdev/fsl_pci.h | 1 + arch/x86/boot/Makefile | 2 +- arch/x86/boot/compressed/Makefile | 4 + arch/x86/entry/vdso/Makefile | 2 +- arch/x86/kvm/emulate.c | 19 ++-- arch/x86/kvm/svm.c | 2 - arch/x86/platform/olpc/olpc-xo1-sci.c | 2 +- drivers/acpi/video_detect.c | 55 +++++++---- drivers/ata/libata-eh.c | 1 + drivers/atm/idt77252.c | 1 + drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c | 2 +- drivers/irqchip/irq-tegra.c | 10 +- drivers/macintosh/adb.c | 2 +- drivers/md/dm-raid.c | 2 +- drivers/md/raid10.c | 5 +- drivers/md/raid5.c | 2 +- drivers/misc/cxl/irq.c | 1 + drivers/net/can/usb/ems_usb.c | 2 +- drivers/net/ethernet/freescale/fec_ptp.c | 6 +- drivers/net/sungem_phy.c | 1 + drivers/net/usb/ax88179_178a.c | 14 +-- drivers/net/usb/usbnet.c | 8 +- drivers/net/wireless/mediatek/mt7601u/usb.c | 1 + drivers/pinctrl/nomadik/pinctrl-nomadik.c | 4 +- drivers/pinctrl/qcom/pinctrl-msm8916.c | 4 +- drivers/s390/scsi/zfcp_fc.c | 29 ++++-- drivers/s390/scsi/zfcp_fc.h | 6 +- drivers/s390/scsi/zfcp_fsf.c | 4 +- drivers/scsi/sg.c | 57 ++++++----- drivers/scsi/ufs/ufshcd-pltfrm.c | 15 ++- drivers/staging/android/ion/ion-ioctl.c | 8 +- drivers/tty/serial/ucc_uart.c | 2 + drivers/usb/core/hcd.c | 26 ++--- drivers/usb/gadget/legacy/inode.c | 1 + drivers/usb/host/ohci-ppc-of.c | 1 + drivers/vfio/vfio.c | 1 + drivers/video/fbdev/i740fb.c | 9 +- drivers/xen/xenbus/xenbus_dev_frontend.c | 4 +- fs/attr.c | 2 + fs/btrfs/disk-io.c | 14 +++ fs/btrfs/tree-log.c | 4 +- fs/ext4/inline.c | 3 + fs/ext4/inode.c | 7 ++ fs/ext4/namei.c | 23 ++++- fs/ext4/resize.c | 11 +++ fs/ext4/xattr.c | 6 +- fs/ext4/xattr.h | 13 +++ fs/fuse/inode.c | 6 ++ fs/nfs/nfs4proc.c | 3 + fs/ntfs/attrib.c | 8 +- fs/proc/base.c | 23 ++--- fs/proc/fd.c | 6 +- fs/proc/internal.h | 2 +- fs/proc/namespaces.c | 3 +- include/linux/bpf.h | 11 +++ include/linux/buffer_head.h | 25 ++++- include/linux/pci_ids.h | 2 + include/linux/usb/hcd.h | 1 + include/net/bluetooth/l2cap.h | 1 + include/sound/core.h | 8 ++ include/trace/events/spmi.h | 12 +-- include/uapi/linux/swab.h | 4 +- init/main.c | 14 +-- kernel/bpf/core.c | 16 ++- kernel/bpf/syscall.c | 36 +++++-- net/9p/client.c | 4 +- net/bluetooth/l2cap_core.c | 68 +++++++++---- net/ipv4/tcp_output.c | 7 +- net/ipv6/ping.c | 6 ++ net/netfilter/nf_tables_api.c | 3 +- net/netfilter/nfnetlink_queue.c | 7 +- net/rds/ib_recv.c | 1 + net/sched/cls_route.c | 8 +- net/sunrpc/backchannel_rqst.c | 14 +++ net/vmw_vsock/af_vsock.c | 9 +- security/selinux/hooks.c | 123 +++++++++++++++--------- security/selinux/include/objsec.h | 5 +- security/selinux/selinuxfs.c | 4 +- sound/core/info.c | 6 +- sound/core/misc.c | 94 ++++++++++++++++++ sound/core/timer.c | 11 ++- sound/pci/hda/patch_cirrus.c | 1 + sound/pci/hda/patch_conexant.c | 11 ++- sound/usb/bcd2000/bcd2000.c | 3 +- 100 files changed, 753 insertions(+), 296 deletions(-)