[PATCH 5.4 00/60] 5.4.249-rc1 review

From: Greg Kroah-Hartman
Date: Mon Jun 26 2023 - 14:36:18 EST


This is the start of the stable review cycle for the 5.4.249 release.
There are 60 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 Wed, 28 Jun 2023 18:07:23 +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.249-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.249-rc1

Darrick J. Wong <djwong@xxxxxxxxxx>
xfs: verify buffer contents when we skip log replay

Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
mm: make wait_on_page_writeback() wait for multiple pending writebacks

Hugh Dickins <hughd@xxxxxxxxxx>
mm: fix VM_BUG_ON(PageTail) and BUG_ON(PageWriteback)

Clark Wang <xiaoning.wang@xxxxxxx>
i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle

Dheeraj Kumar Srivastava <dheerajkumar.srivastava@xxxxxxx>
x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys

Min Li <lm0963hack@xxxxxxxxx>
drm/radeon: fix race condition UAF in radeon_gem_set_domain_ioctl

Min Li <lm0963hack@xxxxxxxxx>
drm/exynos: fix race condition UAF in exynos_g2d_exec_ioctl

Inki Dae <inki.dae@xxxxxxxxxxx>
drm/exynos: vidi: fix a wrong error return

Linus Walleij <linus.walleij@xxxxxxxxxx>
ARM: dts: Fix erroneous ADS touchscreen polarities

Edson Juliano Drosdeck <edson.drosdeck@xxxxxxxxx>
ASoC: nau8824: Add quirk to active-high jack-detect

Vineeth Vijayan <vneethv@xxxxxxxxxxxxx>
s390/cio: unregister device when the only path is gone

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
usb: gadget: udc: fix NULL dereference in remove()

Osama Muhammad <osmtendev@xxxxxxxxx>
nfcsim.c: Fix error checking for debugfs_create_dir

Hans Verkuil <hverkuil-cisco@xxxxxxxxx>
media: cec: core: don't set last_initiator if tx in progress

Marc Zyngier <maz@xxxxxxxxxx>
arm64: Add missing Set/Way CMO encodings

Denis Arefev <arefev@xxxxxxxxx>
HID: wacom: Add error check to wacom_parse_and_register()

Maurizio Lombardi <mlombard@xxxxxxxxxx>
scsi: target: iscsi: Prevent login threads from racing between each other

Eric Dumazet <edumazet@xxxxxxxxxx>
sch_netem: acquire qdisc lock in netem_change()

Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
Revert "net: phy: dp83867: perform soft reset and retain established link"

Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
netfilter: nfnetlink_osf: fix module autoload

Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
netfilter: nf_tables: disallow element updates of bound anonymous sets

Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
be2net: Extend xmit workaround to BE3 chip

Arınç ÜNAL <arinc.unal@xxxxxxxxxx>
net: dsa: mt7530: fix trapping frames on non-MT7621 SoC MT7530 switch

Terin Stock <terin@xxxxxxxxxxxxxx>
ipvs: align inner_mac_header for encapsulation

Sergey Shtylyov <s.shtylyov@xxxxxx>
mmc: usdhi60rol0: fix deferred probing

Sergey Shtylyov <s.shtylyov@xxxxxx>
mmc: sh_mmcif: fix deferred probing

Sergey Shtylyov <s.shtylyov@xxxxxx>
mmc: sdhci-acpi: fix deferred probing

Sergey Shtylyov <s.shtylyov@xxxxxx>
mmc: omap_hsmmc: fix deferred probing

Sergey Shtylyov <s.shtylyov@xxxxxx>
mmc: omap: fix deferred probing

Sergey Shtylyov <s.shtylyov@xxxxxx>
mmc: mvsdio: fix deferred probing

Yangtao Li <tiny.windzz@xxxxxxxxx>
mmc: mvsdio: convert to devm_platform_ioremap_resource

Sergey Shtylyov <s.shtylyov@xxxxxx>
mmc: mtk-sd: fix deferred probing

Stefan Wahren <stefan.wahren@xxxxxxxx>
net: qca_spi: Avoid high load if QCA7000 is not available

Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
xfrm: Linearize the skb after offloading if needed.

Chen Aotian <chenaotian2@xxxxxxx>
ieee802154: hwsim: Fix possible memory leaks

Paul E. McKenney <paulmck@xxxxxxxxxx>
rcu: Upgrade rcu_swap_protected() to rcu_replace_pointer()

Lee Jones <lee@xxxxxxxxxx>
x86/mm: Avoid using set_pgd() outside of real PGD pages

Paulo Alcantara (SUSE) <pc@xxxxxx>
cifs: Fix potential deadlock when updating vol in cifs_reconnect()

Paulo Alcantara (SUSE) <pc@xxxxxx>
cifs: Merge is_path_valid() into get_normalized_path()

Paulo Alcantara (SUSE) <pc@xxxxxx>
cifs: Introduce helpers for finding TCP connection

Paulo Alcantara (SUSE) <pc@xxxxxx>
cifs: Get rid of kstrdup_const()'d paths

Paulo Alcantara (SUSE) <pc@xxxxxx>
cifs: Clean up DFS referral cache

Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>
nilfs2: prevent general protection fault in nilfs_clear_dirty_page()

Rafael Aquini <aquini@xxxxxxxxxx>
writeback: fix dereferencing NULL mapping->host on writeback_page_template

Matthias May <matthias.may@xxxxxxxxxxxx>
ip_tunnels: allow VXLAN/GENEVE to inherit TOS/TTL from VLAN

Martin Hundebøll <martin@xxxxxxxxxx>
mmc: meson-gx: remove redundant mmc_request_done() call from irq context

Xiu Jianfeng <xiujianfeng@xxxxxxxxxx>
cgroup: Do not corrupt task iteration when rebinding subsystem

Dexuan Cui <decui@xxxxxxxxxxxxx>
PCI: hv: Fix a race condition bug in hv_pci_query_relations()

Michael Kelley <mikelley@xxxxxxxxxxxxx>
Drivers: hv: vmbus: Fix vmbus_wait_for_unload() to scan present CPUs

Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>
nilfs2: fix buffer corruption due to concurrent device reads

Hyunwoo Kim <imv4bel@xxxxxxxxx>
media: dvb-core: Fix use-after-free due to race at dvb_register_device()

Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
media: dvbdev: fix error logic at dvb_register_device()

Dinghao Liu <dinghao.liu@xxxxxxxxxx>
media: dvbdev: Fix memleak in dvb_register_device

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
tick/common: Align tick period during sched_timer setup

Ricardo Ribalda <ribalda@xxxxxxxxxxxx>
x86/purgatory: remove PGO flags

Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
tracing: Add tracing_reset_all_online_cpus_unlocked() function

Benjamin Segall <bsegall@xxxxxxxxxx>
epoll: ep_autoremove_wake_function should use list_del_init_careful

Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
list: add "list_del_init_careful()" to go with "list_empty_careful()"

Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
mm: rewrite wait_on_page_bit_common() logic

Ryusuke Konishi <konishi.ryusuke@xxxxxxxxx>
nilfs2: reject devices with insufficient block count


-------------

Diffstat:

Makefile | 4 +-
arch/arm/boot/dts/am57xx-cl-som-am57x.dts | 2 +-
arch/arm/boot/dts/at91sam9261ek.dts | 2 +-
arch/arm/boot/dts/imx7d-pico-hobbit.dts | 2 +-
arch/arm/boot/dts/imx7d-sdb.dts | 2 +-
arch/arm/boot/dts/omap3-cm-t3x.dtsi | 2 +-
arch/arm/boot/dts/omap3-devkit8000-lcd-common.dtsi | 2 +-
arch/arm/boot/dts/omap3-lilly-a83x.dtsi | 2 +-
arch/arm/boot/dts/omap3-overo-common-lcd35.dtsi | 2 +-
arch/arm/boot/dts/omap3-overo-common-lcd43.dtsi | 2 +-
arch/arm/boot/dts/omap3-pandora-common.dtsi | 2 +-
arch/arm/boot/dts/omap5-cm-t54.dts | 2 +-
arch/arm64/include/asm/sysreg.h | 6 +
arch/x86/kernel/apic/x2apic_phys.c | 5 +-
arch/x86/mm/kaslr.c | 8 +-
arch/x86/purgatory/Makefile | 5 +
drivers/gpu/drm/exynos/exynos_drm_g2d.c | 2 +-
drivers/gpu/drm/exynos/exynos_drm_vidi.c | 2 -
drivers/gpu/drm/radeon/radeon_gem.c | 4 +-
drivers/hid/wacom_sys.c | 7 +-
drivers/hv/channel_mgmt.c | 18 +-
drivers/i2c/busses/i2c-imx-lpi2c.c | 4 +-
drivers/media/cec/cec-adap.c | 3 +-
drivers/media/dvb-core/dvbdev.c | 88 ++-
drivers/mmc/host/meson-gx-mmc.c | 10 +-
drivers/mmc/host/mtk-sd.c | 2 +-
drivers/mmc/host/mvsdio.c | 8 +-
drivers/mmc/host/omap.c | 2 +-
drivers/mmc/host/omap_hsmmc.c | 6 +-
drivers/mmc/host/sdhci-acpi.c | 2 +-
drivers/mmc/host/sh_mmcif.c | 2 +-
drivers/mmc/host/usdhi6rol0.c | 6 +-
drivers/net/dsa/mt7530.c | 2 +-
drivers/net/ethernet/emulex/benet/be_main.c | 4 +-
drivers/net/ethernet/qualcomm/qca_spi.c | 3 +-
drivers/net/ieee802154/mac802154_hwsim.c | 6 +-
drivers/net/phy/dp83867.c | 2 +-
drivers/nfc/nfcsim.c | 4 -
drivers/pci/controller/pci-hyperv.c | 18 +
drivers/s390/cio/device.c | 5 +-
drivers/target/iscsi/iscsi_target_nego.c | 4 +-
drivers/usb/gadget/udc/amd5536udc_pci.c | 3 +
fs/cifs/dfs_cache.c | 707 +++++++++++----------
fs/eventpoll.c | 6 +-
fs/nilfs2/page.c | 10 +-
fs/nilfs2/segbuf.c | 6 +
fs/nilfs2/segment.c | 7 +
fs/nilfs2/super.c | 25 +-
fs/nilfs2/the_nilfs.c | 44 +-
fs/xfs/xfs_log_recover.c | 10 +
include/linux/list.h | 20 +-
include/linux/rcupdate.h | 18 +
include/media/dvbdev.h | 15 +
include/net/ip_tunnels.h | 12 +-
include/trace/events/writeback.h | 2 +-
kernel/cgroup/cgroup.c | 20 +-
kernel/sched/wait.c | 2 +-
kernel/time/tick-common.c | 13 +-
kernel/time/tick-sched.c | 13 +-
kernel/trace/trace.c | 11 +-
kernel/trace/trace.h | 1 +
kernel/trace/trace_events.c | 2 +-
mm/filemap.c | 137 ++--
mm/page-writeback.c | 8 +-
net/ipv4/esp4_offload.c | 3 +
net/ipv6/esp6_offload.c | 3 +
net/netfilter/ipvs/ip_vs_xmit.c | 2 +
net/netfilter/nf_tables_api.c | 7 +-
net/netfilter/nfnetlink_osf.c | 1 +
net/netfilter/xt_osf.c | 1 -
net/sched/sch_netem.c | 8 +-
sound/soc/codecs/nau8824.c | 24 +
72 files changed, 898 insertions(+), 507 deletions(-)