[SRU][Lunar][PULL] Lunar upstream stable patchset 2023-10-02

Kamal Mostafa kamal at canonical.com
Mon Oct 2 21:59:46 UTC 2023


This pull request (124 commits) includes the following Lunar stable
patchsets:

	Lunar update: upstream stable patchset 2023-10-02
		Ported from the following upstream stable releases:
			v6.1.44, v6.4.9
			v6.1.45, v6.4.10
	https://bugs.launchpad.net/bugs/2038236

Note also that the 'stable-next' branch head contains this and all prior
pending upstream stable releases, rebased to master-next:

   git://git.launchpad.net/~ubuntu-kernel-stable/+git/lunar stable-next

 -Kamal

-----

The following changes since commit 0b6a250fd5bb058a9965d904b3e6f83b87a0c3b7:

  UBUNTU: Ubuntu-6.2.0-36.36 (2023-10-02 17:24:26 +0200)

are available in the Git repository at:

  git://git.launchpad.net/~ubuntu-kernel-stable/+git/lunar tags/lunar-stable-2023-10-02

for you to fetch changes up to dec1adb9297003a481093a32654dd81c046e3f51:

  UBUNTU: Upstream stable to v6.1.45, v6.4.10 (2023-10-02 14:34:46 -0700)

----------------------------------------------------------------
Alan Stern (1):
      net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb

Aleksa Sarai (1):
      open: make RESOLVE_CACHED correctly test for O_TMPFILE

Alexander Stein (1):
      drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning

Alexandra Winter (1):
      s390/qeth: Don't call dev_close/dev_open (DOWN/UP)

Amir Tzin (1):
      net/mlx5e: Fix crash moving to switchdev mode when ntuple offload is set

Andi Shyti (1):
      drm/i915/gt: Cleanup aux invalidation registers

Aneesh Kumar K.V (1):
      powerpc/mm/altmap: Fix altmap boundary check

Arseniy Krasnov (1):
      mtd: rawnand: meson: fix OOB available bytes for ECC

Benjamin Gaignard (1):
      arm64: dts: freescale: Fix VPU G2 clock

Benjamin Poirier (1):
      vxlan: Fix nexthop hash size

Boqun Feng (1):
      rust: allocator: Prevent mis-aligned allocation

Chengfeng Ye (1):
      mISDN: hfcpci: Fix potential deadlock on &hc->lock

Christophe JAILLET (1):
      mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()

Cristian Marussi (1):
      firmware: arm_scmi: Fix chan_free cleanup on SMC

Dan Carpenter (1):
      net: ll_temac: fix error checking of irq_of_parse_and_map()

Dinh Nguyen (1):
      arm64: dts: stratix10: fix incorrect I2C property for SCL signal

Dragos Tatulea (1):
      net/mlx5e: xsk: Fix crash on regular rq reactivation

Duoming Zhou (1):
      net: usb: lan78xx: reorder cleanup operations to avoid UAF bugs

Eric Dumazet (16):
      net: annotate data-races around sk->sk_reserved_mem
      net: annotate data-race around sk->sk_txrehash
      net: annotate data-races around sk->sk_max_pacing_rate
      net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
      net: add missing READ_ONCE(sk->sk_sndbuf) annotation
      net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
      net: annotate data-races around sk->sk_mark
      net: add missing data-race annotations around sk->sk_peek_off
      net: add missing data-race annotation for sk_ll_usec
      net: annotate data-races around sk->sk_priority
      tcp_metrics: fix addr_same() helper
      tcp_metrics: annotate data-races around tm->tcpm_stamp
      tcp_metrics: annotate data-races around tm->tcpm_lock
      tcp_metrics: annotate data-races around tm->tcpm_vals[]
      tcp_metrics: annotate data-races around tm->tcpm_net
      tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen

Filipe Manana (1):
      btrfs: remove BUG_ON()'s in add_new_free_space()

Gao Xiang (1):
      erofs: fix wrong primary bvec selection on deduplicated extents

Geert Uytterhoeven (1):
      clk: imx93: Propagate correct error in imx93_clocks_probe()

Georg Müller (1):
      perf test uprobe_from_different_cu: Skip if there is no gcc

Greg Kroah-Hartman (1):
      Revert "drm/i915: Disable DC states for all commits"

Guchun Chen (1):
      drm/ttm: check null pointer before accessing when swapping

Heiko Carstens (1):
      KVM: s390: fix sthyi error handling

Hou Tao (2):
      bpf, cpumap: Handle skb as well when clean up ptr_ring
      bpf, cpumap: Make sure kthread is running before map update returns

Hugo Villeneuve (1):
      arm64: dts: imx8mn-var-som: add missing pull-up for onboard PHY reset pinmux

Ilan Peer (1):
      wifi: cfg80211: Fix return value in scan logic

Ilya Dryomov (2):
      libceph: fix potential hang in ceph_osdc_notify()
      rbd: prevent busy loop when requesting exclusive lock

Jakub Kicinski (1):
      bnxt: don't handle XDP in netpoll

Jamal Hadi Salim (1):
      net: sched: cls_u32: Fix match key mis-addressing

Jan Kara (2):
      fs: Protect reconfiguration of sb read-write from racing writes
      ext2: Drop fragment support

Janusz Krzysztofik (1):
      drm/i915: Fix premature release of request's reusable memory

Jianbo Liu (3):
      net/mlx5e: Move representor neigh cleanup to profile cleanup_tx
      net/mlx5: fs_core: Make find_closest_ft more generic
      net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio

Jiri Olsa (2):
      bpf: Disable preemption in bpf_perf_event_output
      bpf: Disable preemption in bpf_event_output

Johan Jonker (2):
      mtd: rawnand: rockchip: fix oobfree offset and description
      mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts

Jonas Gorski (1):
      prestera: fix fallback to previous version on same major version

Kamal Mostafa (2):
      UBUNTU: Upstream stable to v6.1.44, v6.4.9
      UBUNTU: Upstream stable to v6.1.45, v6.4.10

Konstantin Khorenko (1):
      qed: Fix scheduling in a tasklet while getting stats

Krzysztof Kozlowski (1):
      firmware: arm_scmi: Drop OF node reference in the transport channel setup

Kuniyuki Iwashima (2):
      net/sched: taprio: Limit TCA_TAPRIO_ATTR_SCHED_CYCLE_TIME to INT_MAX.
      selftest: net: Assert on a proper value in so_incoming_cpu.c.

Lijo Lazar (1):
      drm/amdgpu: Use apt name for FW reserved region

Lin Ma (3):
      bpf: Add length check for SK_DIAG_BPF_STORAGE_REQ_MAP_FD parsing
      rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
      net: dcb: choose correct policy to parse DCB_ATTR_BCN

Linus Torvalds (1):
      file: reinstate f_pos locking optimization for regular files

Mark Brown (5):
      net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode
      arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE
      arm64/fpsimd: Clear SME state in the target task when setting the VL
      arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
      arm64/ptrace: Don't enable SVE when setting streaming SVE

Michael Chan (1):
      bnxt_en: Fix max_mtu setting for multi-buf XDP

Michael Kelley (2):
      scsi: storvsc: Limit max_sectors for virtual Fibre Channel devices
      x86/hyperv: Disable IBT when hypercall page lacks ENDBR instruction

Naveen N Rao (1):
      powerpc/ftrace: Create a dummy stackframe to fix stack unwind

Olivier Maignial (2):
      mtd: spinand: toshiba: Fix ecc_get_status
      mtd: spinand: winbond: Fix ecc_get_status

Paul Fertser (1):
      wifi: mt76: mt7615: do not advertise 5 GHz on first phy of MT7615D (DBDC)

Paulo Alcantara (1):
      smb: client: fix dfs link mount against w2k8

Pavel Begunkov (1):
      io_uring: annotate offset timeout races

Peichen Huang (1):
      drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en is 0

Prince Kumar Maurya (1):
      fs/sysv: Null check to prevent null-ptr-deref bug

Punit Agrawal (1):
      firmware: smccc: Fix use of uninitialised results structure

Rafal Rogalski (1):
      ice: Fix RDMA VSI removal during queue rebuild

Richard Gobert (1):
      net: gro: fix misuse of CB in udp socket lookup

Robin Murphy (4):
      iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
      iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
      iommu/arm-smmu-v3: Add explicit feature for nesting
      iommu/arm-smmu-v3: Document nesting-related errata

Rodrigo Siqueira (1):
      drm/amd/display: Ensure that planes are in the same order

Roger Quadros (1):
      mtd: rawnand: omap_elm: Fix incorrect type in assignment

Roman Gushchin (1):
      mm: kmem: fix a NULL pointer dereference in obj_stock_flush_required()

Ross Maynard (1):
      USB: zaurus: Add ID for A-300/B-500/C-700

Sean Christopherson (1):
      selftests/rseq: Play nice with binaries statically linked against glibc 2.35+

Shay Drory (2):
      net/mlx5: Free irqs only on shutdown callback
      net/mlx5: Honor user input for migratable port fn attr

Somnath Kotur (1):
      bnxt_en: Fix page pool logic for page size >= 64K

Steffen Maier (1):
      scsi: zfcp: Defer fc_rport blocking until after ADISC response

Sungjong Seo (1):
      exfat: release s_lock before calling dir_emit()

Tetsuo Handa (2):
      fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
      debugobjects: Recheck debug_objects_enabled before reporting

Thierry Reding (1):
      net: stmmac: tegra: Properly allocate clock bulk data

Tim Harvey (2):
      arm64: dts: imx8mm-venice-gw7903: disable disp_blk_ctrl
      arm64: dts: imx8mm-venice-gw7904: disable disp_blk_ctrl

Tomas Glozar (1):
      bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire

Xiubo Li (1):
      ceph: defer stopping mdsc delayed_work

Xu Yang (1):
      ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node

Yashwanth Varakala (2):
      arm64: dts: phycore-imx8mm: Label typo-fix of VPU
      arm64: dts: phycore-imx8mm: Correction in gpio-line-names

Yuanjun Gong (3):
      net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
      net: dsa: fix value check in bcm_sf2_sw_probe()
      net: korina: handle clk prepare error in korina_probe()

Yue Haibing (1):
      ip6mr: Fix skb_under_panic in ip6mr_cache_report()

Yury Norov (1):
      lib/bitmap: workaround const_eval test build failure

Zhengchao Shao (3):
      net/mlx5e: fix double free in macsec_fs_tx_create_crypto_table_groups
      net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
      net/mlx5: fix potential memory leak in mlx5e_init_rep_rx

gaoming (1):
      exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree

ndesaulniers at google.com (1):
      word-at-a-time: use the same return type for has_zero regardless of endianness

 Documentation/arm64/silicon-errata.rst             |   4 +
 arch/arm/boot/dts/imx6sll.dtsi                     |   2 +-
 .../boot/dts/altera/socfpga_stratix10_socdk.dts    |   2 +-
 .../dts/altera/socfpga_stratix10_socdk_nand.dts    |   2 +-
 .../dts/freescale/imx8mm-phyboard-polis-rdk.dts    |   2 +-
 .../boot/dts/freescale/imx8mm-phycore-som.dtsi     |   4 +-
 .../boot/dts/freescale/imx8mm-venice-gw7903.dts    |   4 +
 .../boot/dts/freescale/imx8mm-venice-gw7904.dts    |   4 +
 arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi  |   2 +-
 arch/arm64/boot/dts/freescale/imx8mq.dtsi          |   2 +-
 arch/arm64/kernel/fpsimd.c                         |   9 +-
 arch/arm64/kernel/ptrace.c                         |   8 +-
 arch/powerpc/include/asm/word-at-a-time.h          |   2 +-
 arch/powerpc/kernel/trace/ftrace_mprofile.S        |   9 +-
 arch/powerpc/mm/init_64.c                          |   3 +-
 arch/s390/kernel/sthyi.c                           |   6 +-
 arch/s390/kvm/intercept.c                          |   9 +-
 arch/x86/hyperv/hv_init.c                          |  21 +++++
 debian.master/upstream-stable                      |   4 +-
 drivers/block/rbd.c                                |  28 +++---
 drivers/clk/imx/clk-imx93.c                        |   2 +-
 drivers/firmware/arm_scmi/mailbox.c                |   4 +-
 drivers/firmware/arm_scmi/smc.c                    |  21 +++--
 drivers/firmware/smccc/soc_id.c                    |   5 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |  33 ++++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h            |   3 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  15 +++
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      |   5 +-
 drivers/gpu/drm/i915/display/intel_display.c       |  28 +-----
 drivers/gpu/drm/i915/gt/gen8_engine_cs.c           |   8 +-
 drivers/gpu/drm/i915/gt/intel_gt_regs.h            |  16 ++--
 drivers/gpu/drm/i915/gt/intel_lrc.c                |   6 +-
 drivers/gpu/drm/i915/i915_active.c                 |  99 ++++++++++++++------
 drivers/gpu/drm/i915/i915_request.c                |  11 +++
 drivers/gpu/drm/imx/ipuv3-crtc.c                   |   2 +-
 drivers/gpu/drm/ttm/ttm_bo.c                       |   3 +-
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c        |  50 ++++++++++
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h        |   8 ++
 drivers/isdn/hardware/mISDN/hfcpci.c               |  10 +-
 drivers/mtd/nand/raw/fsl_upm.c                     |   2 +-
 drivers/mtd/nand/raw/meson_nand.c                  |   3 +-
 drivers/mtd/nand/raw/omap_elm.c                    |  24 ++---
 drivers/mtd/nand/raw/rockchip-nand-controller.c    |  45 +++++----
 drivers/mtd/nand/spi/toshiba.c                     |   4 +-
 drivers/mtd/nand/spi/winbond.c                     |   4 +-
 drivers/net/dsa/bcm_sf2.c                          |   8 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt.c          |  85 ++++++++++-------
 drivers/net/ethernet/broadcom/bnxt/bnxt.h          |   2 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c      |  14 ++-
 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.h      |   2 +-
 drivers/net/ethernet/intel/ice/ice_main.c          |  18 ++++
 drivers/net/ethernet/korina.c                      |   3 +-
 .../net/ethernet/marvell/prestera/prestera_pci.c   |   3 +-
 .../mellanox/mlx5/core/en_accel/ipsec_rxtx.c       |   4 +-
 .../mellanox/mlx5/core/en_accel/macsec_fs.c        |   1 +
 drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c  |  10 ++
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  29 ++++--
 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c   |  20 ++--
 drivers/net/ethernet/mellanox/mlx5/core/eq.c       |   2 +-
 .../ethernet/mellanox/mlx5/core/eswitch_offloads.c |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c  | 103 +++++++++++++++++----
 drivers/net/ethernet/mellanox/mlx5/core/mlx5_irq.h |   1 +
 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c  |  29 ++++++
 .../ethernet/mellanox/mlx5/core/steering/dr_cmd.c  |   5 +-
 drivers/net/ethernet/qlogic/qed/qed_dev_api.h      |  16 ++++
 drivers/net/ethernet/qlogic/qed/qed_fcoe.c         |  19 +++-
 drivers/net/ethernet/qlogic/qed/qed_fcoe.h         |  17 +++-
 drivers/net/ethernet/qlogic/qed/qed_hw.c           |  26 +++++-
 drivers/net/ethernet/qlogic/qed/qed_iscsi.c        |  19 +++-
 drivers/net/ethernet/qlogic/qed/qed_iscsi.h        |   8 +-
 drivers/net/ethernet/qlogic/qed/qed_l2.c           |  19 +++-
 drivers/net/ethernet/qlogic/qed/qed_l2.h           |  24 +++++
 drivers/net/ethernet/qlogic/qed/qed_main.c         |   6 +-
 drivers/net/ethernet/socionext/netsec.c            |  11 +++
 drivers/net/ethernet/stmicro/stmmac/dwmac-tegra.c  |   3 +-
 drivers/net/ethernet/xilinx/ll_temac_main.c        |  12 ++-
 drivers/net/usb/cdc_ether.c                        |  21 +++++
 drivers/net/usb/lan78xx.c                          |   7 +-
 drivers/net/usb/usbnet.c                           |   6 ++
 drivers/net/usb/zaurus.c                           |  21 +++++
 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c |   6 +-
 drivers/s390/net/qeth_core.h                       |   1 -
 drivers/s390/net/qeth_core_main.c                  |   2 -
 drivers/s390/net/qeth_l2_main.c                    |   9 +-
 drivers/s390/net/qeth_l3_main.c                    |   8 +-
 drivers/s390/scsi/zfcp_fc.c                        |   6 +-
 drivers/scsi/storvsc_drv.c                         |   4 +
 fs/btrfs/block-group.c                             |  51 ++++++----
 fs/btrfs/block-group.h                             |   4 +-
 fs/btrfs/free-space-tree.c                         |  24 +++--
 fs/ceph/mds_client.c                               |   4 +-
 fs/ceph/mds_client.h                               |   5 +
 fs/ceph/super.c                                    |  10 ++
 fs/erofs/zdata.c                                   |   7 +-
 fs/exfat/balloc.c                                  |   6 +-
 fs/exfat/dir.c                                     |  27 +++---
 fs/ext2/ext2.h                                     |  12 ---
 fs/ext2/super.c                                    |  23 +----
 fs/file.c                                          |  18 +++-
 fs/ntfs3/attrlist.c                                |   4 +-
 fs/open.c                                          |   2 +-
 fs/smb/client/dfs.c                                |   6 +-
 fs/super.c                                         |  11 ++-
 fs/sysv/itree.c                                    |   4 +
 include/asm-generic/word-at-a-time.h               |   2 +-
 include/net/gro.h                                  |  42 +++++++++
 include/net/inet_sock.h                            |   7 +-
 include/net/ip.h                                   |   2 +-
 include/net/route.h                                |   4 +-
 include/net/vxlan.h                                |   4 +-
 io_uring/timeout.c                                 |   2 +-
 kernel/bpf/cpumap.c                                |  35 ++++---
 kernel/trace/bpf_trace.c                           |  17 +++-
 lib/Makefile                                       |   6 ++
 lib/debugobjects.c                                 |   9 ++
 lib/test_bitmap.c                                  |   8 +-
 mm/memcontrol.c                                    |  19 ++--
 net/can/raw.c                                      |   2 +-
 net/ceph/osd_client.c                              |  20 ++--
 net/core/bpf_sk_storage.c                          |   5 +-
 net/core/rtnetlink.c                               |   8 +-
 net/core/sock.c                                    |  45 +++++----
 net/core/sock_map.c                                |   2 -
 net/dcb/dcbnl.c                                    |   2 +-
 net/dccp/ipv6.c                                    |   4 +-
 net/ipv4/inet_diag.c                               |   4 +-
 net/ipv4/ip_output.c                               |   8 +-
 net/ipv4/ip_sockglue.c                             |   2 +-
 net/ipv4/raw.c                                     |   2 +-
 net/ipv4/route.c                                   |   4 +-
 net/ipv4/tcp_ipv4.c                                |   4 +-
 net/ipv4/tcp_metrics.c                             |  70 ++++++++------
 net/ipv4/udp.c                                     |   8 +-
 net/ipv4/udp_offload.c                             |   7 +-
 net/ipv6/ip6mr.c                                   |   2 +-
 net/ipv6/ping.c                                    |   2 +-
 net/ipv6/raw.c                                     |   6 +-
 net/ipv6/route.c                                   |   7 +-
 net/ipv6/tcp_ipv6.c                                |   9 +-
 net/ipv6/udp.c                                     |  12 ++-
 net/ipv6/udp_offload.c                             |   7 +-
 net/l2tp/l2tp_ip6.c                                |   2 +-
 net/mptcp/sockopt.c                                |   2 +-
 net/netfilter/nft_socket.c                         |   2 +-
 net/netfilter/xt_socket.c                          |   4 +-
 net/packet/af_packet.c                             |  12 +--
 net/sched/cls_u32.c                                |  56 +++++++++--
 net/sched/sch_taprio.c                             |  15 ++-
 net/smc/af_smc.c                                   |   2 +-
 net/unix/af_unix.c                                 |   2 +-
 net/wireless/scan.c                                |   2 +-
 net/xdp/xsk.c                                      |   2 +-
 net/xfrm/xfrm_policy.c                             |   2 +-
 rust/bindings/bindings_helper.h                    |   1 +
 rust/kernel/allocator.rs                           |  74 ++++++++++++---
 .../tests/shell/test_uprobe_from_different_cu.sh   |   8 +-
 tools/testing/selftests/net/so_incoming_cpu.c      |   2 +-
 tools/testing/selftests/rseq/rseq.c                |  28 ++++--
 .../tc-testing/tc-tests/qdiscs/taprio.json         |  25 +++++
 159 files changed, 1413 insertions(+), 595 deletions(-)



More information about the kernel-team mailing list