This is the start of the stable review cycle for the 5.10.140 release. There are 86 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, 31 Aug 2022 10:57:37 +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.10.140-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.10.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 5.10.140-rc1 Daniel Borkmann <daniel@xxxxxxxxxxxxx> bpf: Don't use tnum_range on array range checking for poke descriptors Saurabh Sengar <ssengar@xxxxxxxxxxxxxxxxxxx> scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq Kiwoong Kim <kwmad.kim@xxxxxxxxxxx> scsi: ufs: core: Enable link lost interrupt Stephane Eranian <eranian@xxxxxxxxxx> perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU James Clark <james.clark@xxxxxxx> perf python: Fix build when PYTHON_CONFIG is user supplied Yu Kuai <yukuai3@xxxxxxxxxx> blk-mq: fix io hung due to missing commit_rqs Salvatore Bonaccorso <carnil@xxxxxxxxxx> Documentation/ABI: Mention retbleed vulnerability info file for sysfs Zenghui Yu <yuzenghui@xxxxxxxxxx> arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76 Guoqing Jiang <guoqing.jiang@xxxxxxxxx> md: call __md_stop_writes in md_stop Guoqing Jiang <guoqing.jiang@xxxxxxxxx> Revert "md-raid: destroy the bitmap after destroying the thread" David Hildenbrand <david@xxxxxxxxxx> mm/hugetlb: fix hugetlb not supporting softdirty tracking Juergen Gross <jgross@xxxxxxxx> xen/privcmd: fix error exit of privcmd_ioctl_dm_op() 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 Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx> x86/bugs: Add "unknown" reporting for MMIO Stale Data Chen Zhongjin <chenzhongjin@xxxxxxxxxx> x86/unwind/orc: Unwind ftrace trampolines with correct ORC entry Kan Liang <kan.liang@xxxxxxxxxxxxxxx> perf/x86/lbr: Enable the branch type for the Arch LBR by default 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 Shannon Nelson <snelson@xxxxxxxxxxx> ionic: fix up issues with handling EAGAIN on FW cmds David Howells <dhowells@xxxxxxxxxx> rxrpc: Fix locking in rxrpc's sendmsg 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 data-races around sysctl_devconf_inherit_init_net. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix data-races around sysctl_fb_tunnels_only_for_init_net. 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> net: Fix data-races around sysctl_optmem_max. Martin KaFai Lau <kafai@xxxxxx> bpf: Folding omem_charge() into sk_storage_charge() 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 netdev_max_backlog. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix data-races around weight_p and dev_weight_[rt]x_bias. Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix data-races around sysctl_[rw]mem_(max|default). Kuniyuki Iwashima <kuniyu@xxxxxxxxxx> net: Fix data-races around sysctl_[rw]mem(_offset)?. Eric Dumazet <edumazet@xxxxxxxxxx> tcp: tweak len/truesize ratio for coalesce candidates Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> netfilter: nf_tables: disallow binding to already bound chain Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> netfilter: nf_tables: disallow jump to implicit chain from set element Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> netfilter: nf_tables: upfront validation of data via nft_data_init() Jeremy Sowden <jeremy@xxxxxxxxxx> netfilter: bitwise: improve error goto labels Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> netfilter: nft_cmp: optimize comparison for 16-bytes Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> netfilter: nf_tables: consolidate rule verdict trace call Colin Ian King <colin.king@xxxxxxxxxxxxx> netfilter: nftables: remove redundant assignment of variable err 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: nf_tables: do not leave chain stats enabled on error 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 Alex Elder <elder@xxxxxxxxxx> net: ipa: don't assume SMEM is page-aligned Vlad Buslov <vladbu@xxxxxxxxxx> net/mlx5e: Properly disable vlan strip on non-UL reps Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx> ice: xsk: prohibit usage of non-balanced queue id Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx> ice: xsk: Force rings to be sized to power of 2 Duoming Zhou <duoming@xxxxxxxxxx> nfc: pn533: Fix use-after-free bugs caused by pn532_cmd_timeout Bernard Pidoux <f6bvp@xxxxxxx> rose: check NULL rose_loopback_neigh->loopback Peter Xu <peterx@xxxxxxxxxx> mm/smaps: don't access young/dirty bit if pte unpresent Miaohe Lin <linmiaohe@xxxxxxxxxx> mm/huge_memory.c: use helper function migration_entry_to_page() Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> SUNRPC: RPC level errors should set task->tk_rpc_status Olga Kornievskaia <kolga@xxxxxxxxxx> NFSv4.2 fix problems with __nfs42_ssc_open Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> NFS: Don't allocate nfs_fattr on the stack in __nfs42_ssc_open() Nikolay Aleksandrov <razor@xxxxxxxxxxxxx> xfrm: policy: fix metadata dst->dev xmit null pointer dereference Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> af_key: Do not call xfrm_probe_algs in parallel Antony Antony <antony.antony@xxxxxxxxxxx> xfrm: clone missing x->lastused in xfrm_do_migrate Xin Xiong <xiongx18@xxxxxxxxxxxx> xfrm: fix refcount leak in __xfrm_policy_check() Hui Su <suhui_kernel@xxxxxxx> kernel/sched: Remove dl_boosted flag comment Darrick J. Wong <djwong@xxxxxxxxxx> xfs: only bother with sync_filesystem during readonly remount Darrick J. Wong <djwong@xxxxxxxxxx> xfs: return errors in xfs_fs_sync_fs Darrick J. Wong <djwong@xxxxxxxxxx> vfs: make sync_filesystem return errors from ->sync_fs Christoph Hellwig <hch@xxxxxx> fs: remove __sync_filesystem Darrick J. Wong <djwong@xxxxxxxxxx> xfs: reject crazy array sizes being fed to XFS_IOC_GETBMAP* Dan Carpenter <dan.carpenter@xxxxxxxxxx> xfs: prevent a WARN_ONCE() in xfs_ioc_attr_list() Basavaraj Natikar <Basavaraj.Natikar@xxxxxxx> pinctrl: amd: Don't save/restore interrupt status and wake status bits 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: Documentation/ABI/testing/sysfs-devices-system-cpu | 1 + .../hw-vuln/processor_mmio_stale_data.rst | 14 ++ Documentation/admin-guide/sysctl/net.rst | 2 +- Makefile | 4 +- arch/arm64/kernel/cpu_errata.c | 2 + arch/parisc/kernel/unaligned.c | 2 +- arch/s390/kernel/process.c | 22 +++- arch/x86/events/intel/lbr.c | 8 ++ arch/x86/events/intel/uncore_snb.c | 18 ++- arch/x86/include/asm/cpufeatures.h | 5 +- arch/x86/kernel/cpu/bugs.c | 14 +- arch/x86/kernel/cpu/common.c | 42 +++--- arch/x86/kernel/unwind_orc.c | 15 ++- block/blk-mq.c | 5 +- drivers/acpi/processor_thermal.c | 2 +- drivers/block/loop.c | 5 + drivers/md/md.c | 3 +- drivers/net/bonding/bond_3ad.c | 38 +++--- drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c | 2 +- drivers/net/ethernet/intel/ice/ice_xsk.c | 14 ++ 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/ethernet/pensando/ionic/ionic_main.c | 4 +- drivers/net/ipa/ipa_mem.c | 2 +- drivers/net/ipvlan/ipvtap.c | 4 +- drivers/nfc/pn533/uart.c | 1 + drivers/pinctrl/pinctrl-amd.c | 11 +- drivers/scsi/storvsc_drv.c | 2 +- drivers/scsi/ufs/ufshci.h | 6 +- drivers/xen/privcmd.c | 21 +-- fs/btrfs/dev-replace.c | 5 +- fs/btrfs/root-tree.c | 5 +- fs/btrfs/xattr.c | 3 + fs/nfs/nfs4file.c | 16 ++- fs/proc/task_mmu.c | 7 +- fs/sync.c | 48 +++---- fs/xfs/xfs_ioctl.c | 4 +- fs/xfs/xfs_ioctl.h | 5 +- fs/xfs/xfs_super.c | 13 +- include/asm-generic/sections.h | 7 +- include/linux/netdevice.h | 20 ++- include/linux/netfilter_bridge/ebtables.h | 4 - include/linux/sched.h | 4 - include/net/busy_poll.h | 2 +- include/net/netfilter/nf_tables.h | 9 +- include/net/netfilter/nf_tables_core.h | 9 ++ include/net/sock.h | 8 +- kernel/audit_fsnotify.c | 1 + kernel/bpf/verifier.c | 10 +- kernel/sys_ni.c | 1 + lib/ratelimit.c | 12 +- mm/huge_memory.c | 4 +- mm/mmap.c | 8 +- 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/bpf_sk_storage.c | 24 ++-- net/core/dev.c | 18 +-- net/core/filter.c | 13 +- net/core/gro_cells.c | 2 +- net/core/skbuff.c | 2 +- net/core/sock.c | 18 +-- net/core/sysctl_net_core.c | 15 ++- net/decnet/af_decnet.c | 4 +- net/ipv4/devinet.c | 16 ++- net/ipv4/ip_output.c | 2 +- net/ipv4/ip_sockglue.c | 6 +- net/ipv4/tcp.c | 6 +- net/ipv4/tcp_input.c | 51 ++++++-- net/ipv4/tcp_output.c | 4 +- net/ipv6/addrconf.c | 5 +- net/ipv6/ipv6_sockglue.c | 4 +- net/key/af_key.c | 3 + net/mptcp/protocol.c | 6 +- net/netfilter/ipvs/ip_vs_sync.c | 4 +- net/netfilter/nf_tables_api.c | 90 +++++++------ net/netfilter/nf_tables_core.c | 55 +++++++- net/netfilter/nft_bitwise.c | 67 +++++----- net/netfilter/nft_cmp.c | 142 +++++++++++++++++---- net/netfilter/nft_immediate.c | 22 +++- net/netfilter/nft_osf.c | 18 ++- net/netfilter/nft_payload.c | 29 +++-- net/netfilter/nft_range.c | 27 ++-- net/netfilter/nft_tunnel.c | 1 + net/rose/rose_loopback.c | 3 +- net/rxrpc/call_object.c | 4 +- net/rxrpc/sendmsg.c | 92 +++++++------ net/sched/sch_generic.c | 2 +- net/socket.c | 2 +- net/sunrpc/clnt.c | 2 +- net/tipc/socket.c | 2 +- net/xfrm/espintcp.c | 2 +- net/xfrm/xfrm_input.c | 2 +- net/xfrm/xfrm_policy.c | 3 +- net/xfrm/xfrm_state.c | 1 + tools/perf/Makefile.config | 2 +- 98 files changed, 874 insertions(+), 475 deletions(-)