This is the start of the stable review cycle for the 5.4.25 release.
There are 168 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, 12 Mar 2020 12:34:10 +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.25-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 <[email protected]>
Linux 5.4.25-rc1
Jason A. Donenfeld <[email protected]>
efi: READ_ONCE rng seed size before munmap
Ard Biesheuvel <[email protected]>
efi/x86: Handle by-ref arguments covering multiple pages in mixed mode
Ard Biesheuvel <[email protected]>
efi/x86: Align GUIDs to their size in the mixed mode runtime wrapper
Desnes A. Nunes do Rosario <[email protected]>
powerpc: fix hardware PMU exception bug on PowerVM compatibility mode systems
Sherry Sun <[email protected]>
EDAC/synopsys: Do not print an error with back-to-back snprintf() calls
Tony Lindgren <[email protected]>
bus: ti-sysc: Fix 1-wire reset quirk
Christian Hewitt <[email protected]>
arm64: dts: meson: fix gxm-khadas-vim2 wifi
Dan Carpenter <[email protected]>
dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()
Cong Wang <[email protected]>
dma-buf: free dmabuf->name in dma_buf_release()
Dan Carpenter <[email protected]>
hwmon: (adt7462) Fix an error return in ADT7462_REG_VOLT()
Oleksandr Suvorov <[email protected]>
ARM: dts: imx7-colibri: Fix frequency for sd/mmc
Johan Hovold <[email protected]>
ARM: dts: imx6dl-colibri-eval-v3: fix sram compatible properties
Suman Anna <[email protected]>
ARM: dts: dra7xx-clocks: Fixup IPU1 mux clock parent source
Suman Anna <[email protected]>
ARM: dts: am437x-idk-evm: Fix incorrect OPP node names
Ahmad Fatoum <[email protected]>
ARM: imx: build v7_cpu_resume() unconditionally
Dennis Dalessandro <[email protected]>
IB/hfi1, qib: Ensure RCU is locked when accessing list
Jason Gunthorpe <[email protected]>
RMDA/cm: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen()
Fabrice Gasnier <[email protected]>
regulator: stm32-vrefbuf: fix a possible overshoot when re-enabling
Maor Gottlieb <[email protected]>
RDMA/core: Fix protection fault in ib_mr_pool_destroy
Bernard Metzler <[email protected]>
RDMA/iwcm: Fix iwcm work deallocation
Bernard Metzler <[email protected]>
RDMA/siw: Fix failure handling during device creation
Mark Zhang <[email protected]>
RDMA/nldev: Fix crash when set a QP to a new counter but QPN is missing
Max Gurtovoy <[email protected]>
RDMA/rw: Fix error flow during RDMA context initialization
Parav Pandit <[email protected]>
Revert "RDMA/cma: Simplify rdma_resolve_addr() error flow"
Leonard Crestez <[email protected]>
soc: imx-scu: Align imx sc msg structs to 4
Leonard Crestez <[email protected]>
firmware: imx: Align imx_sc_msg_req_cpu_start to 4
Leonard Crestez <[email protected]>
firmware: imx: scu-pd: Align imx sc msg structs to 4
Leonard Crestez <[email protected]>
firmware: imx: misc: Align imx sc msg structs to 4
Fabio Estevam <[email protected]>
arm64: dts: imx8qxp-mek: Remove unexisting Ethernet PHY
Marco Felsch <[email protected]>
ARM: dts: imx6: phycore-som: fix emmc supply
Tony Lindgren <[email protected]>
phy: mapphone-mdm6600: Fix write timeouts with shorter GPIO toggle interval
Tony Lindgren <[email protected]>
phy: mapphone-mdm6600: Fix timeouts by adding wake-up handling
Dan Carpenter <[email protected]>
drm/i915/selftests: Fix return in assert_mmap_offset()
Matt Roper <[email protected]>
drm/i915: Program MBUS with rmw during initialization
Jernej Skrabec <[email protected]>
drm/sun4i: de2/de3: Remove unsupported VI layer formats
Jernej Skrabec <[email protected]>
drm/sun4i: Fix DE2 VI layer format support
Jernej Skrabec <[email protected]>
drm/sun4i: Add separate DE3 VI layer formats
John Stultz <[email protected]>
drm: kirin: Revert "Fix for hikey620 display offset problem"
Tomeu Vizoso <[email protected]>
drm/panfrost: Don't try to map on error faults
Tudor Ambarus <[email protected]>
spi: atmel-quadspi: fix possible MMIO window size overrun
Charles Keepax <[email protected]>
ASoC: dapm: Correct DAPM handling of active widgets during shutdown
Amadeusz Sławiński <[email protected]>
ASoC: Intel: Skylake: Fix available clock counter incrementation
Matthias Reichl <[email protected]>
ASoC: pcm512x: Fix unbalanced regulator enable call in probe error path
Takashi Iwai <[email protected]>
ASoC: pcm: Fix possible buffer overflow in dpcm state sysfs output
Michael Ellerman <[email protected]>
powerpc/mm: Fix missing KUAP disable in flush_coherent_icache()
Alastair D'Silva <[email protected]>
powerpc: Convert flush_icache_range & friends to C
Alastair D'Silva <[email protected]>
powerpc: define helpers to get L1 icache sizes
Takashi Iwai <[email protected]>
ASoC: intel: skl: Fix possible buffer overflow in debug outputs
Takashi Iwai <[email protected]>
ASoC: intel: skl: Fix pin debug prints
Dan Carpenter <[email protected]>
ASoC: SOF: Fix snd_sof_ipc_stream_posn()
Dragos Tarcatu <[email protected]>
ASoC: topology: Fix memleak in soc_tplg_manifest_load()
Dragos Tarcatu <[email protected]>
ASoC: topology: Fix memleak in soc_tplg_link_elems_load()
John Bates <[email protected]>
drm/virtio: fix resource id creation race
Gerd Hoffmann <[email protected]>
drm/virtio: make resource id workaround runtime switchable.
Christophe JAILLET <[email protected]>
spi: bcm63xx-hsspi: Really keep pll clk enabled
Vladimir Oltean <[email protected]>
ARM: dts: ls1021a: Restore MDIO compatible to gianfar
Guillaume La Roque <[email protected]>
arm64: dts: meson-sm1-sei610: add missing interrupt-names
Hou Tao <[email protected]>
dm: fix congested_fn for request-based device
Shin'ichiro Kawasaki <[email protected]>
dm zoned: Fix reference counter initial value of chunk works
Mikulas Patocka <[email protected]>
dm writecache: verify watermark during resume
Mikulas Patocka <[email protected]>
dm: report suspended device during destroy
Mikulas Patocka <[email protected]>
dm cache: fix a crash due to incorrect work item cancelling
Mikulas Patocka <[email protected]>
dm integrity: fix invalid table returned due to argument count mismatch
Mikulas Patocka <[email protected]>
dm integrity: fix a deadlock due to offloading to an incorrect workqueue
Mikulas Patocka <[email protected]>
dm integrity: fix recalculation when moving from journal mode to bitmap mode
Dmitry Osipenko <[email protected]>
dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list
Dmitry Osipenko <[email protected]>
dmaengine: tegra-apb: Fix use-after-free
Frieder Schrempf <[email protected]>
dmaengine: imx-sdma: Fix the event id check to include RX event for UART6
Martin Fuzzey <[email protected]>
dmaengine: imx-sdma: fix context cache
Gerald Schaefer <[email protected]>
s390/mm: fix panic in gup_fast on large pud
Niklas Schnelle <[email protected]>
s390/pci: Fix unexpected write combine on resource
Sean Christopherson <[email protected]>
x86/pkeys: Manually set X86_FEATURE_OSPKE to preserve existing changes
Lukas Wunner <[email protected]>
spi: spidev: Fix CS polarity if GPIO descriptors are used
Adrian Hunter <[email protected]>
perf arm-spe: Fix endless record after being terminated
Wei Li <[email protected]>
perf cs-etm: Fix endless record after being terminated
Wei Li <[email protected]>
perf intel-bts: Fix endless record after being terminated
Wei Li <[email protected]>
perf intel-pt: Fix endless record after being terminated
Hans Verkuil <[email protected]>
media: v4l2-mem2mem.c: fix broken links
Hans Verkuil <[email protected]>
media: vicodec: process all 4 components for RGB32 formats
Hans Verkuil <[email protected]>
media: mc-entity.c: use & to check pad flags, not ==
Ezequiel Garcia <[email protected]>
media: hantro: Fix broken media controller links
Jiri Slaby <[email protected]>
vt: selection, push sel_lock up
Jiri Slaby <[email protected]>
vt: selection, push console lock down
Jiri Slaby <[email protected]>
vt: selection, close sel_buffer race
Jay Dolan <[email protected]>
serial: 8250_exar: add support for ACCES cards
Michael Walle <[email protected]>
tty: serial: fsl_lpuart: free IDs allocated by IDA
tangbin <[email protected]>
tty:serial:mvebu-uart:fix a wrong return
Faiz Abbas <[email protected]>
arm: dts: dra76x: Fix mmc3 max-frequency
Ley Foon Tan <[email protected]>
arm64: dts: socfpga: agilex: Fix gmac compatible
Omar Sandoval <[email protected]>
btrfs: fix RAID direct I/O reads with alternate csums
OGAWA Hirofumi <[email protected]>
fat: fix uninit-memory access for partial initialized inode
Vlastimil Babka <[email protected]>
mm, hotplug: fix page online with DEBUG_PAGEALLOC compiled but not enabled
Huang Ying <[email protected]>
mm: fix possible PMD dirty bit lost in set_pmd_migration_entry()
Mel Gorman <[email protected]>
mm, numa: fix bad pmd by atomically check for pmd_trans_huge when marking page tables prot_numa
Zhang Xiaoxu <[email protected]>
vgacon: Fix a UAF in vgacon_invert_region
Eugeniu Rosca <[email protected]>
usb: core: port: do error out if usb_autopm_get_interface() fails
Eugeniu Rosca <[email protected]>
usb: core: hub: do error out if usb_autopm_get_interface() fails
Eugeniu Rosca <[email protected]>
usb: core: hub: fix unhandled return by employing a void function
Peter Chen <[email protected]>
usb: cdns3: gadget: toggle cycle bit before reset endpoint
Peter Chen <[email protected]>
usb: cdns3: gadget: link trb should point to next request
Pratham Pratap <[email protected]>
usb: dwc3: gadget: Update chain bit correctly when using sg list
Dan Lazewatsky <[email protected]>
usb: quirks: add NO_LPM quirk for Logitech Screen Share
Jim Lin <[email protected]>
usb: storage: Add quirk for Samsung Fit flash
Aurelien Aptel <[email protected]>
cifs: fix rename() by ensuring source handle opened with DELETE bit
Ronnie Sahlberg <[email protected]>
cifs: don't leak -EAGAIN for stat() during reconnect
Jian-Hong Pan <[email protected]>
ALSA: hda/realtek - Enable the headset of ASUS B9450FA with ALC294
Christian Lachner <[email protected]>
ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master
Kailang Yang <[email protected]>
ALSA: hda/realtek - Add Headset Button supported for ThinkPad X1
Kailang Yang <[email protected]>
ALSA: hda/realtek - Add Headset Mic supported
Christian Brauner <[email protected]>
binder: prevent UAF for binderfs devices II
Christian Brauner <[email protected]>
binder: prevent UAF for binderfs devices
Leonard Crestez <[email protected]>
firmware: imx: scu: Ensure sequential TX
Hangbin Liu <[email protected]>
selftests: forwarding: vxlan_bridge_1d: use more proper tos value
Randy Dunlap <[email protected]>
arch/csky: fix some Kconfig typos
Guo Ren <[email protected]>
csky: Fixup compile warning for three unimplemented syscalls
Guo Ren <[email protected]>
csky: Fixup ftrace modify panic
Guo Ren <[email protected]>
csky/smp: Fixup boot failed when CONFIG_SMP
Guo Ren <[email protected]>
csky: Set regs->usp to kernel sp, when the exception is from kernel
Guo Ren <[email protected]>
csky/mm: Fixup export invalid_pte_table symbol
Tim Harvey <[email protected]>
net: thunderx: workaround BGX TX Underflow issue
Kees Cook <[email protected]>
x86/xen: Distribute switch variables for initialization
Michal Swiatkowski <[email protected]>
ice: Don't tell the OS that link is going down
Keith Busch <[email protected]>
nvme: Fix uninitialized-variable warning
Julian Wiedmann <[email protected]>
s390/qdio: fill SL with absolute addresses
H.J. Lu <[email protected]>
x86/boot/compressed: Don't declare __force_order in kaslr_64.c
Andy Shevchenko <[email protected]>
nvme-pci: Use single IRQ vector for old Apple models
Shyjumon N <[email protected]>
nvme/pci: Add sleep quirk for Samsung and Toshiba drives
Kai-Heng Feng <[email protected]>
iommu/amd: Disable IOMMU on Stoney Ridge systems
Hamdan Igbaria <[email protected]>
net/mlx5: DR, Fix matching on vport gvmi
Javier Martinez Canillas <[email protected]>
efi: Only print errors about failing to get certs if EFI vars are found
Masahiro Yamada <[email protected]>
s390: make 'install' not depend on vmlinux
Vasily Averin <[email protected]>
s390/cio: cio_ignore_proc_seq_next should increase position index
Marco Felsch <[email protected]>
watchdog: da9062: do not ping the hw during stop()
Paul Cercueil <[email protected]>
net: ethernet: dm9000: Handle -EPROBE_DEFER in dm9000_parse_dt()
Marek Vasut <[email protected]>
net: ks8851-ml: Fix 16-bit IO operation
Marek Vasut <[email protected]>
net: ks8851-ml: Fix 16-bit data access
Marek Vasut <[email protected]>
net: ks8851-ml: Remove 8-bit bus accessors
Igor Russkikh <[email protected]>
net: atlantic: check rpc result and wait for rpc address
Hangbin Liu <[email protected]>
selftests: forwarding: vxlan_bridge_1d: fix tos value
Hangbin Liu <[email protected]>
selftests: forwarding: use proto icmp for {gretap, ip6gretap}_mac testing
Harigovindan P <[email protected]>
drm/msm/dsi/pll: call vco set rate explicitly
Harigovindan P <[email protected]>
drm/msm/dsi: save pll state before dsi host is powered off
Tomas Henzl <[email protected]>
scsi: megaraid_sas: silence a warning
Stephan Gerhold <[email protected]>
drm/modes: Allow DRM_MODE_ROTATE_0 when applying video mode parameters
Stephan Gerhold <[email protected]>
drm/modes: Make sure to parse valid rotation value from cmdline
John Stultz <[email protected]>
drm: msm: Fix return type of dsi_mgr_connector_mode_valid for kCFI
Brian Masney <[email protected]>
drm/msm/mdp5: rate limit pp done timeout warnings
Oded Gabbay <[email protected]>
habanalabs: patched cb equals user cb in device memset
Omer Shpigelman <[email protected]>
habanalabs: do not halt CoreSight during hard reset
Oded Gabbay <[email protected]>
habanalabs: halt the engines before hard-reset
Sergey Organov <[email protected]>
usb: gadget: serial: fix Tx stall after buffer overflow
Lars-Peter Clausen <[email protected]>
usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags
Jack Pham <[email protected]>
usb: gadget: composite: Support more than 500mA MaxPower
Jiri Benc <[email protected]>
selftests: fix too long argument
Daniel Golle <[email protected]>
serial: ar933x_uart: set UART_CS_{RX,TX}_READY_ORIDE
Kai Vehmanen <[email protected]>
ALSA: hda: do not override bus codec_mask in link_get()
Cengiz Can <[email protected]>
blktrace: fix dereference after null check
Masami Hiramatsu <[email protected]>
kprobes: Fix optimize_kprobe()/unoptimize_kprobe() cancellation logic
Masahiro Yamada <[email protected]>
kbuild: fix 'No such file or directory' warning when cleaning
Nathan Chancellor <[email protected]>
RDMA/core: Fix use of logical OR in get_new_pps
Maor Gottlieb <[email protected]>
RDMA/core: Fix pkey and port assignment in get_new_pps
Theodore Ts'o <[email protected]>
dm thin metadata: fix lockdep complaint
Aaro Koskinen <[email protected]>
net: stmmac: fix notifier registration
Florian Fainelli <[email protected]>
net: dsa: bcm_sf2: Forcibly configure IMP port for 1Gb/sec
Hui Wang <[email protected]>
ALSA: hda/realtek - Fix a regression for mute led on Lenovo Carbon X1
Paolo Valente <[email protected]>
block, bfq: do not insert oom queue into position tree
Paolo Valente <[email protected]>
block, bfq: get extra ref to prevent a queue from being freed during a group move
Paolo Valente <[email protected]>
block, bfq: get a ref to a group when adding it to a service tree
-------------
Diffstat:
Makefile | 4 +-
arch/arm/boot/dts/am437x-idk-evm.dts | 4 +-
arch/arm/boot/dts/dra76x.dtsi | 5 +
arch/arm/boot/dts/dra7xx-clocks.dtsi | 12 +-
arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 4 +-
arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 1 -
arch/arm/boot/dts/imx7-colibri.dtsi | 1 -
arch/arm/boot/dts/ls1021a.dtsi | 4 +-
arch/arm/mach-imx/Makefile | 2 +
arch/arm/mach-imx/common.h | 4 +-
arch/arm/mach-imx/resume-imx6.S | 24 ++++
arch/arm/mach-imx/suspend-imx6.S | 14 --
.../boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 2 +-
arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 1 +
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 5 -
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 6 +-
arch/csky/Kconfig | 2 +-
arch/csky/abiv1/inc/abi/entry.h | 19 ++-
arch/csky/abiv2/inc/abi/entry.h | 11 ++
arch/csky/include/uapi/asm/unistd.h | 3 +
arch/csky/kernel/atomic.S | 8 +-
arch/csky/kernel/smp.c | 2 +-
arch/csky/mm/Makefile | 2 +
arch/csky/mm/init.c | 1 +
arch/powerpc/include/asm/cache.h | 55 +++++---
arch/powerpc/include/asm/cacheflush.h | 36 +++--
arch/powerpc/kernel/cputable.c | 4 +-
arch/powerpc/kernel/misc_32.S | 120 ----------------
arch/powerpc/kernel/misc_64.S | 102 --------------
arch/powerpc/mm/mem.c | 152 ++++++++++++++++++++-
arch/s390/Makefile | 2 +-
arch/s390/boot/Makefile | 2 +-
arch/s390/include/asm/pgtable.h | 6 +
arch/s390/include/asm/qdio.h | 2 +-
arch/s390/pci/pci.c | 4 +-
arch/x86/boot/compressed/kaslr_64.c | 3 -
arch/x86/kernel/cpu/common.c | 2 +-
arch/x86/platform/efi/efi_64.c | 70 ++++++----
arch/x86/xen/enlighten_pv.c | 7 +-
block/bfq-cgroup.c | 10 +-
block/bfq-iosched.c | 4 +
block/bfq-iosched.h | 1 +
block/bfq-wf2q.c | 12 +-
drivers/android/binder.c | 9 ++
drivers/android/binder_internal.h | 2 +
drivers/android/binderfs.c | 7 +-
drivers/bus/ti-sysc.c | 4 +-
drivers/dma-buf/dma-buf.c | 1 +
drivers/dma/coh901318.c | 4 -
drivers/dma/imx-sdma.c | 5 +-
drivers/dma/tegra20-apb-dma.c | 6 +-
drivers/edac/synopsys_edac.c | 22 +--
drivers/firmware/efi/efi.c | 4 +-
drivers/firmware/imx/imx-scu.c | 27 ++++
drivers/firmware/imx/misc.c | 8 +-
drivers/firmware/imx/scu-pd.c | 2 +-
drivers/gpu/drm/drm_client_modeset.c | 3 +-
drivers/gpu/drm/drm_modes.c | 7 +
drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h | 1 -
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 20 ---
drivers/gpu/drm/i915/display/intel_display_power.c | 16 ++-
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c | 2 +-
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 4 +-
drivers/gpu/drm/msm/dsi/dsi_manager.c | 7 +-
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 4 -
drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c | 6 +
drivers/gpu/drm/panfrost/panfrost_mmu.c | 44 +++---
drivers/gpu/drm/selftests/drm_cmdline_selftests.h | 1 +
.../gpu/drm/selftests/test-drm_cmdline_parser.c | 15 +-
drivers/gpu/drm/sun4i/sun8i_mixer.c | 104 ++++++++++++--
drivers/gpu/drm/sun4i/sun8i_mixer.h | 11 ++
drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 66 +++++++--
drivers/gpu/drm/virtio/virtgpu_object.c | 44 +++---
drivers/hwmon/adt7462.c | 2 +-
drivers/infiniband/core/cm.c | 1 +
drivers/infiniband/core/cma.c | 15 +-
drivers/infiniband/core/core_priv.h | 15 ++
drivers/infiniband/core/iwcm.c | 4 +-
drivers/infiniband/core/nldev.c | 2 +
drivers/infiniband/core/rw.c | 31 +++--
drivers/infiniband/core/security.c | 14 +-
drivers/infiniband/core/uverbs_cmd.c | 10 --
drivers/infiniband/core/verbs.c | 10 --
drivers/infiniband/hw/hfi1/verbs.c | 4 +-
drivers/infiniband/hw/qib/qib_verbs.c | 2 +
drivers/infiniband/sw/siw/siw_main.c | 6 +-
drivers/iommu/amd_iommu_init.c | 13 +-
drivers/md/dm-cache-target.c | 4 +-
drivers/md/dm-integrity.c | 50 ++++---
drivers/md/dm-thin-metadata.c | 2 +-
drivers/md/dm-writecache.c | 14 +-
drivers/md/dm-zoned-target.c | 8 +-
drivers/md/dm.c | 22 +--
drivers/media/mc/mc-entity.c | 4 +-
drivers/media/platform/vicodec/codec-v4l2-fwht.c | 34 ++---
drivers/media/v4l2-core/v4l2-mem2mem.c | 4 +-
drivers/misc/habanalabs/device.c | 5 +-
drivers/misc/habanalabs/goya/goya.c | 44 +++++-
drivers/net/dsa/bcm_sf2.c | 3 +-
.../aquantia/atlantic/hw_atl/hw_atl_utils.c | 19 ++-
drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 62 ++++++++-
drivers/net/ethernet/cavium/thunder/thunder_bgx.h | 9 ++
drivers/net/ethernet/davicom/dm9000.c | 2 +
drivers/net/ethernet/intel/ice/ice_ethtool.c | 7 -
.../ethernet/mellanox/mlx5/core/steering/dr_ste.c | 5 +-
drivers/net/ethernet/micrel/ks8851_mll.c | 53 ++-----
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 13 +-
drivers/nvme/host/core.c | 2 +-
drivers/nvme/host/pci.c | 15 +-
drivers/phy/motorola/phy-mapphone-mdm6600.c | 27 +++-
drivers/regulator/stm32-vrefbuf.c | 3 +-
drivers/s390/cio/blacklist.c | 5 +-
drivers/s390/cio/qdio_setup.c | 3 +-
drivers/s390/net/qeth_core_main.c | 23 ++--
drivers/scsi/megaraid/megaraid_sas_fusion.c | 5 +-
drivers/soc/imx/soc-imx-scu.c | 2 +-
drivers/spi/atmel-quadspi.c | 11 ++
drivers/spi/spi-bcm63xx-hsspi.c | 1 -
drivers/spi/spidev.c | 5 +
drivers/staging/media/hantro/hantro_drv.c | 4 +-
drivers/staging/speakup/selection.c | 2 -
drivers/tty/serial/8250/8250_exar.c | 33 +++++
drivers/tty/serial/ar933x_uart.c | 8 ++
drivers/tty/serial/fsl_lpuart.c | 39 ++++--
drivers/tty/serial/mvebu-uart.c | 2 +-
drivers/tty/vt/selection.c | 26 +++-
drivers/tty/vt/vt.c | 2 -
drivers/usb/cdns3/gadget.c | 19 ++-
drivers/usb/core/hub.c | 8 +-
drivers/usb/core/port.c | 10 +-
drivers/usb/core/quirks.c | 3 +
drivers/usb/dwc3/gadget.c | 9 +-
drivers/usb/gadget/composite.c | 24 +++-
drivers/usb/gadget/function/f_fs.c | 5 +-
drivers/usb/gadget/function/u_serial.c | 4 +-
drivers/usb/storage/unusual_devs.h | 6 +
drivers/video/console/vgacon.c | 3 +
drivers/watchdog/da9062_wdt.c | 7 -
fs/btrfs/inode.c | 4 +-
fs/cifs/cifsglob.h | 7 +
fs/cifs/cifsproto.h | 5 +-
fs/cifs/cifssmb.c | 3 +-
fs/cifs/file.c | 19 ++-
fs/cifs/inode.c | 12 +-
fs/cifs/smb1ops.c | 2 +-
fs/cifs/smb2inode.c | 4 +-
fs/cifs/smb2ops.c | 3 +-
fs/cifs/smb2pdu.c | 1 +
fs/fat/inode.c | 19 +--
include/linux/mm.h | 4 +
kernel/kprobes.c | 67 +++++----
kernel/trace/blktrace.c | 5 +-
mm/huge_memory.c | 3 +-
mm/memory_hotplug.c | 8 +-
mm/mprotect.c | 38 +++++-
security/integrity/platform_certs/load_uefi.c | 40 ++++--
sound/hda/ext/hdac_ext_controller.c | 9 +-
sound/pci/hda/patch_realtek.c | 31 ++++-
sound/soc/codecs/pcm512x.c | 8 +-
sound/soc/intel/skylake/skl-debug.c | 32 +++--
sound/soc/intel/skylake/skl-ssp-clk.c | 4 +-
sound/soc/soc-dapm.c | 2 +-
sound/soc/soc-pcm.c | 16 +--
sound/soc/soc-topology.c | 17 ++-
sound/soc/sof/ipc.c | 2 +-
tools/perf/arch/arm/util/cs-etm.c | 5 +-
tools/perf/arch/arm64/util/arm-spe.c | 5 +-
tools/perf/arch/x86/util/intel-bts.c | 5 +-
tools/perf/arch/x86/util/intel-pt.c | 5 +-
tools/testing/selftests/lib.mk | 23 ++--
.../testing/selftests/net/forwarding/mirror_gre.sh | 25 ++--
.../selftests/net/forwarding/vxlan_bridge_1d.sh | 6 +-
usr/include/Makefile | 2 +-
173 files changed, 1543 insertions(+), 898 deletions(-)
On 3/10/20 1:37 PM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.25 release.
This fails to compile due to broken patch 001/168:
"block, bfq: get a ref to a group when adding it to a service tree":
..
block/bfq-wf2q.c: In function 'bfq_get_entity':
./include/linux/kernel.h:994:51: error: 'struct bfq_group' has no member named 'entity'
..
The calls to bfq_get_entity::bfqg_and_blkg_get and bfq_forget_entity::bfqg_and_blkg_put
in bfq-wf2q.c need to be wrapped in #ifdef CONFIG_BFQ_GROUP_IOSCHED, otherwise
the build will fail when CONFIG_BFQ_GROUP_IOSCHED is not enabled.
This horribly error-prone #ifdef mess was finally removed in upstream commit
4d8340d0d4d9. For 5.4 we'll either need that as well or add them back.
-h
On Tue, Mar 10, 2020 at 03:02:37PM +0100, Holger Hoffst?tte wrote:
> On 3/10/20 1:37 PM, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.4.25 release.
>
> This fails to compile due to broken patch 001/168:
> "block, bfq: get a ref to a group when adding it to a service tree":
>
> ..
> block/bfq-wf2q.c: In function 'bfq_get_entity':
> ./include/linux/kernel.h:994:51: error: 'struct bfq_group' has no member named 'entity'
> ..
>
> The calls to bfq_get_entity::bfqg_and_blkg_get and bfq_forget_entity::bfqg_and_blkg_put
> in bfq-wf2q.c need to be wrapped in #ifdef CONFIG_BFQ_GROUP_IOSCHED, otherwise
> the build will fail when CONFIG_BFQ_GROUP_IOSCHED is not enabled.
> This horribly error-prone #ifdef mess was finally removed in upstream commit
> 4d8340d0d4d9. For 5.4 we'll either need that as well or add them back.
Ick, that's a mess.
I'll go drop that patch now, odd that it passed my build tests...
thanks,
greg k-h
On 3/10/20 3:35 PM, Greg Kroah-Hartman wrote:
> On Tue, Mar 10, 2020 at 03:02:37PM +0100, Holger Hoffstätte wrote:
>> On 3/10/20 1:37 PM, Greg Kroah-Hartman wrote:
>>> This is the start of the stable review cycle for the 5.4.25 release.
>>
>> This fails to compile due to broken patch 001/168:
>> "block, bfq: get a ref to a group when adding it to a service tree":
>>
>> ..
>> block/bfq-wf2q.c: In function 'bfq_get_entity':
>> ./include/linux/kernel.h:994:51: error: 'struct bfq_group' has no member named 'entity'
>> ..
>>
>> The calls to bfq_get_entity::bfqg_and_blkg_get and bfq_forget_entity::bfqg_and_blkg_put
>> in bfq-wf2q.c need to be wrapped in #ifdef CONFIG_BFQ_GROUP_IOSCHED, otherwise
>> the build will fail when CONFIG_BFQ_GROUP_IOSCHED is not enabled.
>> This horribly error-prone #ifdef mess was finally removed in upstream commit
>> 4d8340d0d4d9. For 5.4 we'll either need that as well or add them back.
>
> Ick, that's a mess.
>
> I'll go drop that patch now, odd that it passed my build tests...
Uh, please no? It fixes a rather nasty UAF when cgroups are in use.
Please just add the other upstream commit as well, I confirmed it applies
cleanly and fixes the problem.
thanks,
Holger
On 3/10/20 3:51 PM, Holger Hoffstätte wrote:
> On 3/10/20 3:35 PM, Greg Kroah-Hartman wrote:
>> On Tue, Mar 10, 2020 at 03:02:37PM +0100, Holger Hoffstätte wrote:
>>> On 3/10/20 1:37 PM, Greg Kroah-Hartman wrote:
>>>> This is the start of the stable review cycle for the 5.4.25 release.
>>>
>>> This fails to compile due to broken patch 001/168:
>>> "block, bfq: get a ref to a group when adding it to a service tree":
>>>
>>> ..
>>> block/bfq-wf2q.c: In function 'bfq_get_entity':
>>> ./include/linux/kernel.h:994:51: error: 'struct bfq_group' has no member named 'entity'
>>> ..
>>>
>>> The calls to bfq_get_entity::bfqg_and_blkg_get and bfq_forget_entity::bfqg_and_blkg_put
>>> in bfq-wf2q.c need to be wrapped in #ifdef CONFIG_BFQ_GROUP_IOSCHED, otherwise
>>> the build will fail when CONFIG_BFQ_GROUP_IOSCHED is not enabled.
>>> This horribly error-prone #ifdef mess was finally removed in upstream commit
>>> 4d8340d0d4d9. For 5.4 we'll either need that as well or add them back.
>>
>> Ick, that's a mess.
>>
>> I'll go drop that patch now, odd that it passed my build tests...
>
> Uh, please no? It fixes a rather nasty UAF when cgroups are in use.
> Please just add the other upstream commit as well, I confirmed it applies
> cleanly and fixes the problem.
>
Alternatively I've appended the version originally sent to the mailing list,
with those #ifdefs intact. That's what I had in my tree so far, you could
consider it a 5.4 backport. Other than that there's no functional difference
to the upstream version.
hth,
Holger
On Tue, Mar 10, 2020 at 03:51:01PM +0100, Holger Hoffst?tte wrote:
> On 3/10/20 3:35 PM, Greg Kroah-Hartman wrote:
> > On Tue, Mar 10, 2020 at 03:02:37PM +0100, Holger Hoffst?tte wrote:
> > > On 3/10/20 1:37 PM, Greg Kroah-Hartman wrote:
> > > > This is the start of the stable review cycle for the 5.4.25 release.
> > >
> > > This fails to compile due to broken patch 001/168:
> > > "block, bfq: get a ref to a group when adding it to a service tree":
> > >
> > > ..
> > > block/bfq-wf2q.c: In function 'bfq_get_entity':
> > > ./include/linux/kernel.h:994:51: error: 'struct bfq_group' has no member named 'entity'
> > > ..
> > >
> > > The calls to bfq_get_entity::bfqg_and_blkg_get and bfq_forget_entity::bfqg_and_blkg_put
> > > in bfq-wf2q.c need to be wrapped in #ifdef CONFIG_BFQ_GROUP_IOSCHED, otherwise
> > > the build will fail when CONFIG_BFQ_GROUP_IOSCHED is not enabled.
> > > This horribly error-prone #ifdef mess was finally removed in upstream commit
> > > 4d8340d0d4d9. For 5.4 we'll either need that as well or add them back.
> >
> > Ick, that's a mess.
> >
> > I'll go drop that patch now, odd that it passed my build tests...
>
> Uh, please no? It fixes a rather nasty UAF when cgroups are in use.
> Please just add the other upstream commit as well, I confirmed it applies
> cleanly and fixes the problem.
I didn't get that from your email at all, sorry.
So, what commits, and in what order, should be applied to 5.4.y at the
moment to resolve this issue?
thanks,
greg k-h
On 3/10/20 4:00 PM, Greg Kroah-Hartman wrote:
> On Tue, Mar 10, 2020 at 03:51:01PM +0100, Holger Hoffstätte wrote:
>> On 3/10/20 3:35 PM, Greg Kroah-Hartman wrote:
>>> On Tue, Mar 10, 2020 at 03:02:37PM +0100, Holger Hoffstätte wrote:
>>>> On 3/10/20 1:37 PM, Greg Kroah-Hartman wrote:
>>>>> This is the start of the stable review cycle for the 5.4.25 release.
>>>>
>>>> This fails to compile due to broken patch 001/168:
>>>> "block, bfq: get a ref to a group when adding it to a service tree":
>>>>
>>>> ..
>>>> block/bfq-wf2q.c: In function 'bfq_get_entity':
>>>> ./include/linux/kernel.h:994:51: error: 'struct bfq_group' has no member named 'entity'
>>>> ..
>>>>
>>>> The calls to bfq_get_entity::bfqg_and_blkg_get and bfq_forget_entity::bfqg_and_blkg_put
>>>> in bfq-wf2q.c need to be wrapped in #ifdef CONFIG_BFQ_GROUP_IOSCHED, otherwise
>>>> the build will fail when CONFIG_BFQ_GROUP_IOSCHED is not enabled.
>>>> This horribly error-prone #ifdef mess was finally removed in upstream commit
>>>> 4d8340d0d4d9. For 5.4 we'll either need that as well or add them back.
>>>
>>> Ick, that's a mess.
>>>
>>> I'll go drop that patch now, odd that it passed my build tests...
>>
>> Uh, please no? It fixes a rather nasty UAF when cgroups are in use.
>> Please just add the other upstream commit as well, I confirmed it applies
>> cleanly and fixes the problem.
>
> I didn't get that from your email at all, sorry.
>
> So, what commits, and in what order, should be applied to 5.4.y at the
> moment to resolve this issue?
Just add upstream 4d8340d0d4d9 and it should work. Order shouldn't matter
(built for me either way) unless you want to follow upstream, in which case
it should come before "get a ref to a group..". Easy :)
-h
On Tue, 10 Mar 2020 at 18:19, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.4.25 release.
> There are 168 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, 12 Mar 2020 12:34:10 +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.25-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
Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.
Summary
------------------------------------------------------------------------
kernel: 5.4.25-rc2
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-5.4.y
git commit: 877097a6286abcb4d5eaa7d683640e3a86b7a95c
git describe: v5.4.24-168-g877097a6286a
Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-5.4-oe/build/v5.4.24-168-g877097a6286a
No regressions (compared to build v5.4.24)
No fixes (compared to build v5.4.24)
Ran 26864 total tests in the following environments and test suites.
Environments
--------------
- dragonboard-410c
- hi6220-hikey
- i386
- juno-r2
- nxp-ls2088
- qemu_arm
- qemu_arm64
- qemu_i386
- qemu_x86_64
- x15
- x86
Test Suites
-----------
* build
* install-android-platform-tools-r2600
* install-android-platform-tools-r2800
* kselftest
* libgpiod
* libhugetlbfs
* linux-log-parser
* ltp-commands-tests
* ltp-containers-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-hugetlb-tests
* ltp-io-tests
* ltp-math-tests
* ltp-mm-tests
* perf
* spectre-meltdown-checker-test
* v4l2-compliance
* ltp-cap_bounds-tests
* ltp-cpuhotplug-tests
* ltp-fcntl-locktests-tests
* ltp-filecaps-tests
* ltp-fs-tests
* ltp-fs_bind-tests
* ltp-fs_perms_simple-tests
* ltp-fsx-tests
* ltp-ipc-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* ltp-syscalls-tests
* network-basic-tests
* kvm-unit-tests
* ltp-crypto-tests
* ltp-cap_bounds-64k-page_size-tests
* ltp-cap_bounds-kasan-tests
* ltp-commands-64k-page_size-tests
* ltp-commands-kasan-tests
* ltp-containers-64k-page_size-tests
* ltp-containers-kasan-tests
* ltp-cpuhotplug-64k-page_size-tests
* ltp-cpuhotplug-kasan-tests
* ltp-crypto-64k-page_size-tests
* ltp-crypto-kasan-tests
* ltp-cve-64k-page_size-tests
* ltp-cve-kasan-tests
* ltp-dio-64k-page_size-tests
* ltp-dio-kasan-tests
* ltp-fcntl-locktests-64k-page_size-tests
* ltp-fcntl-locktests-kasan-tests
* ltp-filecaps-64k-page_size-tests
* ltp-filecaps-kasan-tests
* ltp-fs-64k-page_size-tests
* ltp-fs-kasan-tests
* ltp-fs_bind-64k-page_size-tests
* ltp-fs_bind-kasan-tests
* ltp-fs_perms_simple-64k-page_size-tests
* ltp-fs_perms_simple-kasan-tests
* ltp-fsx-64k-page_size-tests
* ltp-fsx-kasan-tests
* ltp-hugetlb-64k-page_size-tests
* ltp-hugetlb-kasan-tests
* ltp-io-64k-page_size-tests
* ltp-io-kasan-tests
* ltp-ipc-64k-page_size-tests
* ltp-ipc-kasan-tests
* ltp-math-64k-page_size-tests
* ltp-math-kasan-tests
* ltp-mm-64k-page_size-tests
* ltp-mm-kasan-tests
* ltp-nptl-64k-page_size-tests
* ltp-nptl-kasan-tests
* ltp-pty-64k-page_size-tests
* ltp-pty-kasan-tests
* ltp-sched-64k-page_size-tests
* ltp-sched-kasan-tests
* ltp-securebits-64k-page_size-tests
* ltp-securebits-kasan-tests
* ltp-syscalls-64k-page_size-tests
* ltp-syscalls-compat-tests
* ltp-syscalls-kasan-tests
* ltp-open-posix-tests
* kselftest-vsyscall-mode-native
* kselftest-vsyscall-mode-none
--
Linaro LKFT
https://lkft.linaro.org
On Tue, Mar 10, 2020 at 04:07:23PM +0100, Holger Hoffst?tte wrote:
> On 3/10/20 4:00 PM, Greg Kroah-Hartman wrote:
> > On Tue, Mar 10, 2020 at 03:51:01PM +0100, Holger Hoffst?tte wrote:
> > > On 3/10/20 3:35 PM, Greg Kroah-Hartman wrote:
> > > > On Tue, Mar 10, 2020 at 03:02:37PM +0100, Holger Hoffst?tte wrote:
> > > > > On 3/10/20 1:37 PM, Greg Kroah-Hartman wrote:
> > > > > > This is the start of the stable review cycle for the 5.4.25 release.
> > > > >
> > > > > This fails to compile due to broken patch 001/168:
> > > > > "block, bfq: get a ref to a group when adding it to a service tree":
> > > > >
> > > > > ..
> > > > > block/bfq-wf2q.c: In function 'bfq_get_entity':
> > > > > ./include/linux/kernel.h:994:51: error: 'struct bfq_group' has no member named 'entity'
> > > > > ..
> > > > >
> > > > > The calls to bfq_get_entity::bfqg_and_blkg_get and bfq_forget_entity::bfqg_and_blkg_put
> > > > > in bfq-wf2q.c need to be wrapped in #ifdef CONFIG_BFQ_GROUP_IOSCHED, otherwise
> > > > > the build will fail when CONFIG_BFQ_GROUP_IOSCHED is not enabled.
> > > > > This horribly error-prone #ifdef mess was finally removed in upstream commit
> > > > > 4d8340d0d4d9. For 5.4 we'll either need that as well or add them back.
> > > >
> > > > Ick, that's a mess.
> > > >
> > > > I'll go drop that patch now, odd that it passed my build tests...
> > >
> > > Uh, please no? It fixes a rather nasty UAF when cgroups are in use.
> > > Please just add the other upstream commit as well, I confirmed it applies
> > > cleanly and fixes the problem.
> >
> > I didn't get that from your email at all, sorry.
> >
> > So, what commits, and in what order, should be applied to 5.4.y at the
> > moment to resolve this issue?
>
> Just add upstream 4d8340d0d4d9 and it should work. Order shouldn't matter
> (built for me either way) unless you want to follow upstream, in which case
> it should come before "get a ref to a group..". Easy :)
Ok, I've added both back now, and to the 5.5.y tree as well. Hopefully
that should resolve these build issues.
thanks,
greg k-h