This is the start of the stable review cycle for the 5.4.212 release. There are 77 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 Sun, 04 Sep 2022 12:13:47 +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.212-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.212-rc1 Yang Yingliang <yangyingliang@xxxxxxxxxx> net: neigh: don't call kfree_skb() under spin_lock_irqsave() Zhengchao Shao <shaozhengchao@xxxxxxxxxx> net/af_packet: check len when min_header_len equals to 0 Pavel Begunkov <asml.silence@xxxxxxxxx> io_uring: disable polling pollfree files Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> kprobes: don't call disarm_kprobe() for disabled kprobes Andrei Vagin <avagin@xxxxxxxxx> lib/vdso: Mark do_hres() and do_coarse() as __always_inline Christophe Leroy <christophe.leroy@xxxxxx> lib/vdso: Let do_coarse() return 0 to simplify the callsite Josef Bacik <josef@xxxxxxxxxxxxxx> btrfs: tree-checker: check for overlapping extent items Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y Ilya Bakoulin <Ilya.Bakoulin@xxxxxxx> drm/amd/display: Fix pixel clock programming Juergen Gross <jgross@xxxxxxxx> s390/hypfs: avoid error message under KVM Denis V. Lunev <den@xxxxxxxxxx> neigh: fix possible DoS due to net iface start/stop loop Fudong Wang <Fudong.Wang@xxxxxxx> drm/amd/display: clear optc underflow before turn off odm clock Josip Pavic <Josip.Pavic@xxxxxxx> drm/amd/display: Avoid MPC infinite loop Filipe Manana <fdmanana@xxxxxxxx> btrfs: unify lookup return value when dir entry is missing Filipe Manana <fdmanana@xxxxxxxx> btrfs: do not pin logs too early during renames Marcos Paulo de Souza <mpdesouza@xxxxxxxx> btrfs: introduce btrfs_lookup_match_dir Jann Horn <jannh@xxxxxxxxxx> mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse Zhengchao Shao <shaozhengchao@xxxxxxxxxx> bpf: Don't redirect packets with invalid pkt_len Yang Jihong <yangjihong1@xxxxxxxxxx> ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is dead Letu Ren <fantasquex@xxxxxxxxx> fbdev: fb_pm2fb: Avoid potential divide by zero error Karthik Alapati <mail@xxxxxxxxxxx> HID: hidraw: fix memory leak in hidraw_release() Dongliang Mu <mudongliangabcd@xxxxxxxxx> media: pvrusb2: fix memory leak in pvr_probe Vivek Kasireddy <vivek.kasireddy@xxxxxxxxx> udmabuf: Set the DMA mask for the udmabuf device (v2) Lee Jones <lee.jones@xxxxxxxxxx> HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Bluetooth: L2CAP: Fix build errors in some archs Jing Leng <jleng@xxxxxxxxxxxxx> kbuild: Fix include path in scripts/Makefile.modpost Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx> x86/bugs: Add "unknown" reporting for MMIO Stale Data Gerald Schaefer <gerald.schaefer@xxxxxxxxxxxxx> s390/mm: do not trigger write fault when vma does not allow VM_WRITE Jann Horn <jannh@xxxxxxxxxx> mm: Force TLB flush for PFNMAP mappings before unlink_file_vma() Saurabh Sengar <ssengar@xxxxxxxxxxxxxxxxxxx> scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq Stephane Eranian <eranian@xxxxxxxxxx> perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU Guoqing Jiang <guoqing.jiang@xxxxxxxxx> md: call __md_stop_writes in md_stop David Hildenbrand <david@xxxxxxxxxx> mm/hugetlb: fix hugetlb not supporting softdirty tracking Riwen Lu <luriwen@xxxxxxxxxx> ACPI: processor: Remove freq Qos request for all CPUs Brian Foster <bfoster@xxxxxxxxxx> s390: fix double free of GS and RI CBs on fork() failure Quanyang Wang <quanyang.wang@xxxxxxxxxxxxx> asm-generic: sections: refactor memory_intersects Siddh Raman Pant <code@xxxxxxxx> loop: Check for overflow while configuring loop Chen Zhongjin <chenzhongjin@xxxxxxxxxx> x86/unwind/orc: Unwind ftrace trampolines with correct ORC entry Goldwyn Rodrigues <rgoldwyn@xxxxxxx> btrfs: check if root is readonly while setting security xattr Anand Jain <anand.jain@xxxxxxxxxx> btrfs: add info when mount fails due to stale replace target Anand Jain <anand.jain@xxxxxxxxxx> btrfs: replace: drop assert for suspended replace Filipe Manana <fdmanana@xxxxxxxx> btrfs: fix silent failure when deleting root reference Jacob Keller <jacob.e.keller@xxxxxxxxx> ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounter Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix a data-race around sysctl_somaxconn. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix a data-race around netdev_budget_usecs. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix a data-race around netdev_budget. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix a data-race around sysctl_net_busy_read. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix a data-race around sysctl_net_busy_poll. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix a data-race around sysctl_tstamp_allow_data. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> ratelimit: Fix data-races in ___ratelimit(). Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix data-races around netdev_tstamp_prequeue. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix data-races around weight_p and dev_weight_[rt]x_bias. Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> netfilter: nft_tunnel: restrict it to netdev family Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> netfilter: nft_payload: do not truncate csum_offset and csum_type Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> netfilter: nft_payload: report ERANGE for too long offset and length Vikas Gupta <vikas.gupta@xxxxxxxxxxxx> bnxt_en: fix NQ resource accounting during vf creation on 57500 chips Florian Westphal <fw@xxxxxxxxx> netfilter: ebtables: reject blobs that don't provide all entry points Maciej Żenczykowski <maze@xxxxxxxxxx> net: ipvtap - add __init/__exit annotations to module init/exit funcs Jonathan Toppins <jtoppins@xxxxxxxxxx> bonding: 802.3ad: fix no transmission of LACPDUs Sergei Antonov <saproj@xxxxxxxxx> net: moxa: get rid of asymmetry in DMA mapping/unmapping Vlad Buslov <vladbu@xxxxxxxxxx> net/mlx5e: Properly disable vlan strip on non-UL reps Bernard Pidoux <f6bvp@xxxxxxx> rose: check NULL rose_loopback_neigh->loopback Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> SUNRPC: RPC level errors should set task->tk_rpc_status Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> af_key: Do not call xfrm_probe_algs in parallel Xin Xiong <xiongx18@xxxxxxxxxxxx> xfrm: fix refcount leak in __xfrm_policy_check() Hui Su <suhui_kernel@xxxxxxx> kernel/sched: Remove dl_boosted flag comment Juri Lelli <juri.lelli@xxxxxxxxxx> sched/deadline: Fix priority inheritance with multiple scheduling classes Lucas Stach <l.stach@xxxxxxxxxxxxxx> sched/deadline: Fix stale throttling on de-/boosted tasks Daniel Bristot de Oliveira <bristot@xxxxxxxxxx> sched/deadline: Unthrottle PI boosted threads while enqueuing Basavaraj Natikar <Basavaraj.Natikar@xxxxxxx> pinctrl: amd: Don't save/restore interrupt status and wake status bits Jean-Philippe Brucker <jean-philippe@xxxxxxxxxx> Revert "selftests/bpf: Fix test_align verifier log patterns" Jean-Philippe Brucker <jean-philippe@xxxxxxxxxx> Revert "selftests/bpf: Fix "dubious pointer arithmetic" test" Pawel Laszczak <pawell@xxxxxxxxxxx> usb: cdns3: Fix issue for clear halt endpoint Randy Dunlap <rdunlap@xxxxxxxxxxxxx> kernel/sys_ni: add compat entry for fadvise64_64 Helge Deller <deller@xxxxxx> parisc: Fix exception handler for fldw and fstw instructions Gaosheng Cui <cuigaosheng1@xxxxxxxxxx> audit: fix potential double free on error path from fsnotify_add_inode_mark ------------- Diffstat: .../hw-vuln/processor_mmio_stale_data.rst | 14 +++ Makefile | 4 +- arch/parisc/kernel/unaligned.c | 2 +- arch/s390/hypfs/hypfs_diag.c | 2 +- arch/s390/hypfs/inode.c | 2 +- arch/s390/kernel/process.c | 22 +++- arch/s390/mm/fault.c | 4 +- arch/x86/events/intel/uncore_snb.c | 18 ++- arch/x86/include/asm/cpufeatures.h | 3 +- arch/x86/kernel/cpu/bugs.c | 14 ++- arch/x86/kernel/cpu/common.c | 40 ++++--- arch/x86/kernel/unwind_orc.c | 15 ++- drivers/acpi/processor_thermal.c | 2 +- drivers/android/binder.c | 1 + drivers/block/loop.c | 5 + drivers/dma-buf/udmabuf.c | 18 ++- .../gpu/drm/amd/display/dc/dce/dce_clock_source.c | 2 + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c | 6 + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | 5 + drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c | 6 + drivers/hid/hid-steam.c | 10 ++ drivers/hid/hidraw.c | 3 + drivers/md/md.c | 1 + drivers/media/usb/pvrusb2/pvrusb2-hdw.c | 1 + drivers/net/bonding/bond_3ad.c | 38 +++--- drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c | 2 +- drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c | 59 ++++++++-- drivers/net/ethernet/mellanox/mlx5/core/en_rep.c | 2 + drivers/net/ethernet/moxa/moxart_ether.c | 11 +- drivers/net/ipvlan/ipvtap.c | 4 +- drivers/pinctrl/pinctrl-amd.c | 11 +- drivers/scsi/storvsc_drv.c | 2 +- drivers/usb/cdns3/gadget.c | 8 +- drivers/video/fbdev/pm2fb.c | 5 + fs/btrfs/ctree.h | 2 +- fs/btrfs/dev-replace.c | 5 +- fs/btrfs/dir-item.c | 122 +++++++++++-------- fs/btrfs/inode.c | 48 +++++++- fs/btrfs/root-tree.c | 5 +- fs/btrfs/tree-checker.c | 25 +++- fs/btrfs/tree-log.c | 14 +-- fs/btrfs/xattr.c | 3 + fs/io_uring.c | 3 + fs/signalfd.c | 1 + include/asm-generic/sections.h | 7 +- include/linux/fs.h | 1 + include/linux/netfilter_bridge/ebtables.h | 4 - include/linux/rmap.h | 7 +- include/linux/sched.h | 14 ++- include/linux/skbuff.h | 8 ++ include/net/busy_poll.h | 2 +- kernel/audit_fsnotify.c | 1 + kernel/kprobes.c | 9 +- kernel/sched/core.c | 11 +- kernel/sched/deadline.c | 131 +++++++++++++-------- kernel/sys_ni.c | 1 + kernel/trace/ftrace.c | 10 ++ lib/ratelimit.c | 12 +- lib/vdso/gettimeofday.c | 27 +++-- mm/mmap.c | 20 +++- mm/rmap.c | 31 ++--- net/bluetooth/l2cap_core.c | 10 +- net/bpf/test_run.c | 3 + net/bridge/netfilter/ebtable_broute.c | 8 -- net/bridge/netfilter/ebtable_filter.c | 8 -- net/bridge/netfilter/ebtable_nat.c | 8 -- net/bridge/netfilter/ebtables.c | 8 +- net/core/dev.c | 15 +-- net/core/neighbour.c | 27 ++++- net/core/skbuff.c | 2 +- net/core/sock.c | 2 +- net/core/sysctl_net_core.c | 15 ++- net/key/af_key.c | 3 + net/netfilter/Kconfig | 1 - net/netfilter/nft_osf.c | 18 ++- net/netfilter/nft_payload.c | 29 +++-- net/netfilter/nft_tunnel.c | 1 + net/packet/af_packet.c | 4 +- net/rose/rose_loopback.c | 3 +- net/sched/sch_generic.c | 2 +- net/socket.c | 2 +- net/sunrpc/clnt.c | 2 +- net/xfrm/xfrm_policy.c | 1 + scripts/Makefile.modpost | 3 +- tools/testing/selftests/bpf/test_align.c | 14 +-- 85 files changed, 712 insertions(+), 343 deletions(-)