This is the start of the stable review cycle for the 5.4.12 release. There are 78 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, 16 Jan 2020 09:41:58 +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/v5.x/stable-review/patch-5.4.12-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-5.4.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 5.4.12-rc1 Florian Westphal <fw@xxxxxxxxx> netfilter: ipset: avoid null deref when IPSET_ATTR_LINENO is present Florian Westphal <fw@xxxxxxxxx> netfilter: conntrack: dccp, sctp: handle null timeout argument Florian Westphal <fw@xxxxxxxxx> netfilter: arp_tables: init netns pointer in xt_tgchk_param struct Tony Lindgren <tony@xxxxxxxxxxx> phy: cpcap-usb: Fix flakey host idling and enumerating of devices Tony Lindgren <tony@xxxxxxxxxxx> phy: cpcap-usb: Fix error path when no host driver is loaded Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> USB: Fix: Don't skip endpoint descriptors with maxpacket=0 Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> HID: hiddev: fix mess in hiddev_open() Navid Emamdoost <navid.emamdoost@xxxxxxxxx> ath10k: fix memory leak Navid Emamdoost <navid.emamdoost@xxxxxxxxx> rtl8xxxu: prevent leaking urb Navid Emamdoost <navid.emamdoost@xxxxxxxxx> scsi: bfa: release allocated memory in case of error Navid Emamdoost <navid.emamdoost@xxxxxxxxx> rpmsg: char: release allocated memory Navid Emamdoost <navid.emamdoost@xxxxxxxxx> mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf Ganapathi Bhat <gbhat@xxxxxxxxxxx> mwifiex: fix possible heap overflow in mwifiex_process_country_ie() Malcolm Priestley <tvboxspy@xxxxxxxxx> staging: vt6656: remove bool from vnt_radio_power_on ret Amanieu d'Antras <amanieu@xxxxxxxxx> um: Implement copy_thread_tls Amanieu d'Antras <amanieu@xxxxxxxxx> clone3: ensure copy_thread_tls is implemented Amanieu d'Antras <amanieu@xxxxxxxxx> xtensa: Implement copy_thread_tls Amanieu d'Antras <amanieu@xxxxxxxxx> riscv: Implement copy_thread_tls Amanieu d'Antras <amanieu@xxxxxxxxx> parisc: Implement copy_thread_tls Amanieu d'Antras <amanieu@xxxxxxxxx> arm: Implement copy_thread_tls Amanieu d'Antras <amanieu@xxxxxxxxx> arm64: Implement copy_thread_tls Amanieu d'Antras <amanieu@xxxxxxxxx> arm64: Move __ARCH_WANT_SYS_CLONE3 definition to uapi headers Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx> tty: always relink the port Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx> tty: link tty and port before configuring it as console Patrick Steinhardt <ps@xxxxxx> iommu/vt-d: Fix adding non-PCI devices to Intel IOMMU Punit Agrawal <punit1.agrawal@xxxxxxxxxxxxx> serdev: Don't claim unsupported ACPI serial devices Michael Straube <straube.linux@xxxxxxxxx> staging: rtl8188eu: Add device code for TP-Link TL-WN727N v5.21 Malcolm Priestley <tvboxspy@xxxxxxxxx> staging: vt6656: limit reg output to block size Malcolm Priestley <tvboxspy@xxxxxxxxx> staging: vt6656: correct return of vnt_init_registers. Ian Abbott <abbotti@xxxxxxxxx> staging: comedi: adv_pci1710: fix AI channels 16-31 for PCI-1713 Paul Cercueil <paul@xxxxxxxxxxxxxxx> usb: musb: dma: Correct parameter passed to IRQ handler Paul Cercueil <paul@xxxxxxxxxxxxxxx> usb: musb: Disable pullup at init Tony Lindgren <tony@xxxxxxxxxxx> usb: musb: fix idling for suspend after disconnect interrupt Daniele Palmas <dnlplm@xxxxxxxxx> USB: serial: option: add ZLP support for 0x1bc7/0x9010 Douglas Gilbert <dgilbert@xxxxxxxxxxxx> USB-PD tcpm: bad warning+size, PPS adapters Colin Ian King <colin.king@xxxxxxxxxxxxx> usb: ohci-da8xx: ensure error return on variable error is set Peter Chen <peter.chen@xxxxxxx> usb: cdns3: should not use the same dev_id for shared interrupt handler Malcolm Priestley <tvboxspy@xxxxxxxxx> staging: vt6656: Fix non zero logical return of, usb_control_msg Malcolm Priestley <tvboxspy@xxxxxxxxx> staging: vt6656: set usb_set_intfdata on driver fail. Kees Cook <keescook@xxxxxxxxxxxx> pstore/ram: Regularize prz label allocation lifetime Hans de Goede <hdegoede@xxxxxxxxxx> gpiolib: acpi: Add honor_wakeup module-option + quirk mechanism Hans de Goede <hdegoede@xxxxxxxxxx> gpiolib: acpi: Turn dmi_system_id table into a generic quirk table Oliver Hartkopp <socketcan@xxxxxxxxxxxx> can: can_dropped_invalid_skb(): ensure an initialized headroom in outgoing CAN sk_buffs Florian Faber <faber@xxxxxxxxxxx> can: mscan: mscan_rx_poll(): fix rx path lockup when returning from polling to irq mode Sean Nyekjaer <sean@xxxxxxxxxx> can: tcan4x5x: tcan4x5x_can_probe(): get the device out of standby before register access Johan Hovold <johan@xxxxxxxxxx> can: gs_usb: gs_usb_probe(): use descriptors of current altsetting Johan Hovold <johan@xxxxxxxxxx> can: kvaser_usb: fix interface sanity check Kaike Wan <kaike.wan@xxxxxxxxx> IB/hfi1: Adjust flow PSN with the correct resync_psn Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> drm/i915/gt: Mark up virtual engine uabi_instance Matt Roper <matthew.d.roper@xxxxxxxxx> drm/i915: Add Wa_1407352427:icl,ehl Wayne Lin <Wayne.Lin@xxxxxxx> drm/dp_mst: correct the shifting in DP_REMOTE_I2C_READ Geert Uytterhoeven <geert+renesas@xxxxxxxxx> drm/fb-helper: Round up bits_per_pixel if possible Chen-Yu Tsai <wens@xxxxxxxx> drm/sun4i: tcon: Set RGB DCLK min. divider based on hardware model Alex Deucher <alexander.deucher@xxxxxxx> Revert "drm/amdgpu: Set no-retry as default." Chunming Zhou <david1.zhou@xxxxxxx> drm/amdgpu: add DRIVER_SYNCOBJ_TIMELINE to amdgpu Matt Roper <matthew.d.roper@xxxxxxxxx> drm/i915: Add Wa_1408615072 and Wa_1407596294 to icl,ehl Arnd Bergmann <arnd@xxxxxxxx> Input: input_event - fix struct padding on sparc64 Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> Input: add safety guards to input_set_keycode() Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> HID: hid-input: clear unmapped usages Marcel Holtmann <marcel@xxxxxxxxxxxx> HID: hidraw: Fix returning EPOLLOUT from hidraw_poll Marcel Holtmann <marcel@xxxxxxxxxxxx> HID: uhid: Fix returning EPOLLOUT from uhid_char_poll Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> HID: Fix slab-out-of-bounds read in hid_field_extract Joel Fernandes (Google) <joel@xxxxxxxxxxxxxxxxx> tracing: Change offset type to s32 in preempt/irq tracepoints Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> tracing: Have stack tracer compile when MCOUNT_INSN_SIZE is not defined Kaitao Cheng <pilgrimtao@xxxxxxxxx> kernel/trace: Fix do not unregister tracepoints when register sched_migrate_task fail Chen-Yu Tsai <wens@xxxxxxxx> rtc: sun6i: Add support for RTC clocks on R40 Tadeusz Struk <tadeusz.struk@xxxxxxxxx> tpm: Handle negative priv->response_len in tpm_common_read() Stefan Berger <stefanb@xxxxxxxxxxxxx> tpm: Revert "tpm_tis_core: Turn on the TPM before probing IRQ's" Stefan Berger <stefanb@xxxxxxxxxxxxx> tpm: Revert "tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts" Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx> tpm: Revert "tpm_tis: reserve chip for duration of tpm_tis_core_init" Kailang Yang <kailang@xxxxxxxxxxx> ALSA: hda/realtek - Add quirk for the bass speaker on Lenovo Yoga X1 7th gen Kailang Yang <kailang@xxxxxxxxxxx> ALSA: hda/realtek - Set EAPD control to default for ALC222 Kailang Yang <kailang@xxxxxxxxxxx> ALSA: hda/realtek - Add new codec supported for ALCS1200A Takashi Iwai <tiwai@xxxxxxx> ALSA: usb-audio: Apply the sample rate quirk for Bose Companion 5 Guenter Roeck <linux@xxxxxxxxxxxx> usb: chipidea: host: Disable port power only if previously enabled Harry Pan <harry.pan@xxxxxxxxx> powercap: intel_rapl: add NULL pointer check to rapl_mmio_cpu_online() Russell King <rmk+kernel@xxxxxxxxxxxxxxx> i2c: fix bus recovery stop mode timing Will Deacon <will@xxxxxxxxxx> chardev: Avoid potential use-after-free in 'chrdev_open()' ------------- Diffstat: Makefile | 4 +- arch/arm/Kconfig | 1 + arch/arm/kernel/process.c | 6 +- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/unistd.h | 1 - arch/arm64/include/uapi/asm/unistd.h | 1 + arch/arm64/kernel/process.c | 10 +-- arch/parisc/Kconfig | 1 + arch/parisc/kernel/process.c | 8 +- arch/riscv/Kconfig | 1 + arch/riscv/kernel/process.c | 6 +- arch/um/Kconfig | 1 + arch/um/include/asm/ptrace-generic.h | 2 +- arch/um/kernel/process.c | 6 +- arch/x86/um/tls_32.c | 6 +- arch/x86/um/tls_64.c | 7 +- arch/xtensa/Kconfig | 1 + arch/xtensa/kernel/process.c | 8 +- drivers/char/tpm/tpm-dev-common.c | 2 +- drivers/char/tpm/tpm-dev.h | 2 +- drivers/char/tpm/tpm_tis_core.c | 34 ++++---- drivers/gpio/gpiolib-acpi.c | 51 ++++++++++-- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 7 +- drivers/gpu/drm/drm_dp_mst_topology.c | 2 +- drivers/gpu/drm/drm_fb_helper.c | 7 +- drivers/gpu/drm/i915/gt/intel_lrc.c | 2 + drivers/gpu/drm/i915/i915_reg.h | 8 +- drivers/gpu/drm/i915/intel_pm.c | 11 +++ drivers/gpu/drm/sun4i/sun4i_tcon.c | 15 +++- drivers/gpu/drm/sun4i/sun4i_tcon.h | 1 + drivers/hid/hid-core.c | 6 ++ drivers/hid/hid-input.c | 16 +++- drivers/hid/hidraw.c | 4 +- drivers/hid/uhid.c | 2 +- drivers/hid/usbhid/hiddev.c | 97 ++++++++++------------ drivers/i2c/i2c-core-base.c | 13 ++- drivers/infiniband/hw/hfi1/tid_rdma.c | 9 ++ drivers/input/evdev.c | 14 ++-- drivers/input/input.c | 26 +++--- drivers/input/misc/uinput.c | 14 ++-- drivers/iommu/intel-iommu.c | 9 +- drivers/net/can/m_can/tcan4x5x.c | 4 + drivers/net/can/mscan/mscan.c | 21 +++-- drivers/net/can/usb/gs_usb.c | 4 +- drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c | 2 +- drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c | 2 +- drivers/net/wireless/ath/ath10k/usb.c | 1 + drivers/net/wireless/marvell/mwifiex/pcie.c | 4 +- drivers/net/wireless/marvell/mwifiex/sta_ioctl.c | 13 ++- .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 1 + drivers/phy/motorola/phy-cpcap-usb.c | 35 ++++---- drivers/powercap/intel_rapl_common.c | 3 + drivers/rpmsg/rpmsg_char.c | 6 +- drivers/rtc/rtc-sun6i.c | 16 ++++ drivers/scsi/bfa/bfad_attr.c | 4 +- drivers/staging/comedi/drivers/adv_pci1710.c | 4 +- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 + drivers/staging/vt6656/baseband.c | 4 +- drivers/staging/vt6656/card.c | 2 +- drivers/staging/vt6656/device.h | 1 + drivers/staging/vt6656/main_usb.c | 3 +- drivers/staging/vt6656/usbpipe.c | 25 +++++- drivers/staging/vt6656/usbpipe.h | 5 ++ drivers/staging/vt6656/wcmd.c | 1 + drivers/tty/serdev/core.c | 10 +++ drivers/tty/serial/serial_core.c | 1 + drivers/usb/cdns3/gadget.c | 14 ++-- drivers/usb/chipidea/host.c | 4 +- drivers/usb/core/config.c | 12 ++- drivers/usb/host/ohci-da8xx.c | 8 +- drivers/usb/musb/musb_core.c | 11 +++ drivers/usb/musb/musbhsdma.c | 2 +- drivers/usb/serial/option.c | 8 ++ drivers/usb/serial/usb-wwan.h | 1 + drivers/usb/serial/usb_wwan.c | 4 + drivers/usb/typec/tcpm/tcpci.c | 20 +++-- fs/char_dev.c | 2 +- fs/pstore/ram.c | 4 +- fs/pstore/ram_core.c | 2 +- include/linux/can/dev.h | 34 ++++++++ include/trace/events/preemptirq.h | 8 +- include/uapi/linux/input.h | 1 + kernel/fork.c | 10 +++ kernel/trace/trace_sched_wakeup.c | 4 +- kernel/trace/trace_stack.c | 5 ++ net/ipv4/netfilter/arp_tables.c | 27 +++--- net/netfilter/ipset/ip_set_core.c | 3 +- net/netfilter/nf_conntrack_proto_dccp.c | 3 + net/netfilter/nf_conntrack_proto_sctp.c | 3 + sound/pci/hda/patch_realtek.c | 5 ++ sound/usb/quirks.c | 1 + 91 files changed, 547 insertions(+), 245 deletions(-)