[SRU][Focal][PULL] Focal update: v5.4.231 upstream stable release

Luke Nowakowski-Krijger luke.nowakowskikrijger at canonical.com
Mon Mar 13 18:31:47 UTC 2023


This pull request (133 commits) includes the following Focal stable
patchsets:

        Focal update: v5.4.231 upstream stable release
        https://bugs.launchpad.net/bugs/2011226

Note also that the 'stable-next' branch head contains this and all prior
pending upstream stable releases.  I recommend fetching and applying just
this
reference ('stable-next') instead of each tags/focal-stable-v5.4.xx
reference:

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

 -Luke

--------

The following changes since commit ea48e2ff23fdcbc095b212d7c4456758c9c8e2fc:

  media: mceusb: Use new usb_control_msg_*() routines (2023-03-13 11:43:28
+0100)

are available in the Git repository at:

  git://git.launchpad.net/~ubuntu-kernel-stable/+git/focal
tags/focal-stable-v5.4.231

for you to fetch changes up to 133e13f1a997bc726aff212be497e566af188009:

  UBUNTU: Upstream stable to v5.4.231 (2023-03-13 09:20:56 -0700)

----------------------------------------------------------------
Alexander Potapenko (1):
      affs: initialize fsdata in affs_truncate()

Alexey V. Vissarionov (1):
      scsi: hpsa: Fix allocation size for scsi_host_alloc()

Andrew Lunn (2):
      net/phy/mdio-i2c: Move header file to include/linux/mdio
      net: xgene: Move shared header file into include/linux

Archie Pusaka (1):
      Bluetooth: hci_sync: cancel cmd_timer if hci_open failed

Arnd Bergmann (1):
      drm/panfrost: fix GENERIC_ATOMIC64 dependency

Bartosz Golaszewski (1):
      spi: spidev: remove debug messages that access spidev->spi without
locking

Chancel Liu (1):
      ASoC: fsl_micfil: Correct the number of steps on SX controls

Chen Zhongjin (1):
      driver core: Fix test_async_probe_init saves device in wrong array

Christoph Hellwig (1):
      block: fix and cleanup bio_check_ro

Colin Ian King (1):
      perf/x86/amd: fix potential integer overflow on shift of a int

Dario Binacchi (1):
      ARM: imx: add missing of_node_put()

David Christensen (1):
      net/tg3: resolve deadlock in tg3_reset_task() during EEH

David Gow (1):
      mm: kasan: do not panic if both panic_on_warn and kasan_multishot set

David Howells (1):
      cifs: Fix oops due to uncleared server->smbd_conn in reconnect

David Morley (1):
      tcp: fix rate_app_limited to default to 1

Dean Luick (3):
      IB/hfi1: Reject a zero-length user expected buffer
      IB/hfi1: Reserve user expected TIDs
      IB/hfi1: Fix expected receive setup error exit issues

Dmitry Torokhov (1):
      Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU
to RMI mode"

Dongliang Mu (1):
      fs: reiserfs: remove useless new_opts in reiserfs_remount

Eric Dumazet (9):
      net/sched: sch_taprio: fix possible use-after-free
      netlink: prevent potential spectre v1 gadgets
      netlink: annotate data races around nlk->portid
      netlink: annotate data races around dst_portid and dst_group
      netlink: annotate data races around sk_state
      ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
      ipv4: prevent potential spectre v1 gadget in fib_metrics_match()
      net/sched: sch_taprio: do not schedule in taprio_reset()
      ipv6: ensure sane device mtu in tunnels

Eric W. Biederman (2):
      exit: Add and use make_task_dead.
      objtool: Add a missing comma to avoid string concatenation

Esina Ekaterina (1):
      net: wan: Add checks for NULL for utdm in undo_uhdlc_init and
unmap_si_regs

Fabio Estevam (4):
      ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'
      ARM: imx27: Retrieve the SYSCTRL base address from devicetree
      ARM: imx31: Retrieve the IIM base address from devicetree
      ARM: imx35: Retrieve the IIM base address from devicetree

Florian Westphal (1):
      netfilter: conntrack: do not renew entry stuck in tcp SYN_SENT state

Gaosheng Cui (2):
      memory: atmel-sdramc: Fix missing clk_disable_unprepare in
atmel_ramc_probe()
      memory: mvebu-devbus: Fix missing clk_disable_unprepare in
mvebu_devbus_probe()

Geert Uytterhoeven (1):
      ARM: dts: imx: Fix pca9547 i2c-mux node name

Giulio Benetti (1):
      ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment

Gong, Sishuai (1):
      net: fix a concurrency bug in l2tp_tunnel_register()

Greg Kroah-Hartman (2):
      Revert "xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()"
      Linux 5.4.231

Haibo Chen (3):
      mmc: sdhci-esdhc-imx: clear pending interrupt and halt cqhci
      mmc: sdhci-esdhc-imx: disable the CMD CRC check for standard tuning
      mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting

Hans de Goede (1):
      platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK

Hao Sun (1):
      bpf: Skip task with pid=1 in send_signal_common()

Heiko Carstens (1):
      KVM: s390: interrupt: use READ_ONCE() before cmpxchg()

Heiner Kallweit (2):
      net: mdio: validate parameter addr in mdiobus_get_phy()
      net: stmmac: fix invalid call to mdiobus_get_phy()

Hendrik Borghorst (1):
      KVM: x86/vmx: Do not skip segment attributes if unusable bit is set

Hui Wang (1):
      dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init

Jakub Sitnicki (2):
      l2tp: Serialize access to sk_user_data with sk_callback_lock
      l2tp: Don't sleep and disable BH under writer-side sk_callback_lock

Jann Horn (1):
      exit: Put an upper limit on how often we can oops

Jason Xing (1):
      tcp: avoid the lookup process failing to get sk in ehash table

Jerome Brunet (1):
      net: mdio-mux-meson-g12a: force internal PHY off on mux switch

Jiasheng Jiang (1):
      HID: intel_ish-hid: Add check for ishtp_dma_tx_map

Jiri Kosina (1):
      HID: revert CHERRY_MOUSE_000C quirk

Jisoo Jang (1):
      net: nfc: Fix use-after-free in local_cleanup()

Kees Cook (7):
      exit: Expose "oops_count" to sysfs
      exit: Allow oops_limit to be disabled
      panic: Consolidate open-coded panic_on_warn checks
      panic: Introduce warn_limit
      panic: Expose "warn_count" to sysfs
      docs: Fix path paste-o for /sys/kernel/warn_count
      exit: Use READ_ONCE() for all oops/warn limit reads

Koba Ko (1):
      dmaengine: Fix double increment of client_count in dma_chan_get()

Kuniyuki Iwashima (1):
      netrom: Fix use-after-free of a listening socket.

Liu Shixin (1):
      dmaengine: xilinx_dma: call of_node_put() when breaking out of
for_each_child_of_node()

Luis Gerhorst (1):
      bpf: Fix pointer-leak due to insufficient speculative store bypass
mitigation

Luke Nowakowski-Krijger (1):
      UBUNTU: Upstream stable to v5.4.231

Manivannan Sadhasivam (2):
      EDAC/device: Respect any driver-supplied workqueue polling value
      EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's
pvt_info

Marcelo Ricardo Leitner (1):
      sctp: fail if no bound addresses can be used for a given scope

Marek Vasut (1):
      gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode

Mark Brown (2):
      ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97
CODEC
      ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets

Masahiro Yamada (1):
      tomoyo: fix broken dependency on *.conf.default

Mateusz Guzik (1):
      lockref: stop doing cpu_relax in the cmpxchg loop

Miaoqian Lin (1):
      EDAC/highbank: Fix memory leak in highbank_mc_probe()

Michael Klein (1):
      platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD

Mikulas Patocka (1):
      x86/asm: Fix an assembler warning with current binutils

Miles Chen (1):
      cpufreq: armada-37xx: stop using 0 as NULL pointer

Natalia Petrova (1):
      trace_events_hist: add check for return value of 'create_hist_field'

Nathan Chancellor (3):
      hexagon: Fix function name in die()
      h8300: Fix build errors from do_exit() to make_task_dead() transition
      csky: Fix function name in csky_alignment() and die()

Niklas Schnelle (1):
      s390/debug: add _ASM_S390_ prefix to header guard

Pablo Neira Ayuso (1):
      netfilter: nft_set_rbtree: skip elements in transaction from garbage
collection

Paolo Abeni (1):
      net: fix UaF in netns ops registration error path

Patrick Thompson (1):
      drm: Add orientation quirk for Lenovo ideapad D330-10IGL

Peter Chen (1):
      usb: host: xhci-plat: add wakeup entry at sysfs

Petr Pavlu (1):
      module: Don't wait for GOING modules

Pietro Borrello (3):
      HID: check empty report_list in hid_validate_values()
      HID: check empty report_list in bigben_probe()
      HID: betop: check shape of output reports

Radhey Shyam Pandey (1):
      dmaengine: xilinx_dma: use devm_platform_ioremap_resource()

Rafael J. Wysocki (1):
      thermal: intel: int340x: Add locking to
int340x_thermal_get_trip_type()

Raju Rangoju (2):
      amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent
      amd-xgbe: Delay AN timeout during KR training

Rakesh Sankaranarayanan (1):
      net: dsa: microchip: ksz9477: port map correction in ALU table entry
register

Randy Dunlap (2):
      net: mlx5: eliminate anonymous module_init & module_exit
      ia64: make IA64_MCA_RECOVERY bool instead of tristate

Robert Hancock (1):
      net: macb: fix PTP TX timestamp failure due to packet padding

Shang XiaoJing (1):
      phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in
rockchip_usb2phy_power_on()

Soenke Huster (1):
      Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt

Srinivas Pandruvada (1):
      thermal: intel: int340x: Protect trip temperature from concurrent
updates

Sriram Yagnaraman (2):
      netfilter: conntrack: fix vtag checks for ABORT/SHUTDOWN_COMPLETE
      netfilter: conntrack: unify established states for SCTP paths

Steven Rostedt (Google) (2):
      tracing: Make sure trace_printk() can output as soon as it can be used
      ftrace/scripts: Update the instructions for ftrace-bisect.sh

Sumit Gupta (1):
      cpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist

Swati Agarwal (1):
      dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error
handling

Szymon Heidrich (1):
      net: usb: sr9700: Handle negative len

Thomas Gleixner (1):
      x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL

Tiezhu Yang (1):
      panic: unset panic_on_warn inside panic()

Trond Myklebust (1):
      nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted

Udipto Goswami (2):
      usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
      usb: gadget: f_fs: Ensure ep0req is dequeued before free_request

Uwe Kleine-König (3):
      clk: generalize devm_clk_get() a bit
      clk: Provide new devm_clk helpers for prepared and enabled clocks
      clk: Fix pointer casting to prevent oops in devm_clk_release()

Xiaoming Ni (1):
      sysctl: add a new register_sysctl_init() interface

Yang Yingliang (2):
      w1: fix deadloop in __w1_remove_master_device()
      w1: fix WARNING after calling w1_process()

Yihang Li (1):
      scsi: hisi_sas: Set a port invalid only if there are no devices
attached when refreshing port id

Yonatan Nachum (1):
      RDMA/core: Fix ib block iterator counter overflow

Yoshihiro Shimoda (1):
      net: ravb: Fix possible hang if RIS2_QFF1 happen

Yu Kuai (1):
      blk-cgroup: fix missing pd_online_fn() while activating policy

 Documentation/ABI/testing/sysfs-kernel-oops_count  |   6 ++
 Documentation/ABI/testing/sysfs-kernel-warn_count  |   6 ++
 Documentation/admin-guide/sysctl/kernel.rst        |  19 ++++
 MAINTAINERS                                        |   1 +
 Makefile                                           |   2 +-
 arch/alpha/kernel/traps.c                          |   6 +-
 arch/alpha/mm/fault.c                              |   2 +-
 arch/arm/boot/dts/imx53-ppd.dts                    |   2 +-
 arch/arm/boot/dts/imx6qdl-gw560x.dtsi              |   1 -
 arch/arm/kernel/traps.c                            |   2 +-
 arch/arm/mach-imx/cpu-imx25.c                      |   1 +
 arch/arm/mach-imx/cpu-imx27.c                      |  11 +-
 arch/arm/mach-imx/cpu-imx31.c                      |  10 +-
 arch/arm/mach-imx/cpu-imx35.c                      |  10 +-
 arch/arm/mach-imx/cpu-imx5.c                       |   1 +
 arch/arm/mm/fault.c                                |   2 +-
 arch/arm/mm/nommu.c                                |   2 +-
 arch/arm64/kernel/traps.c                          |   2 +-
 arch/arm64/mm/fault.c                              |   2 +-
 arch/csky/abiv1/alignment.c                        |   2 +-
 arch/csky/kernel/traps.c                           |   2 +-
 arch/h8300/kernel/traps.c                          |   3 +-
 arch/h8300/mm/fault.c                              |   2 +-
 arch/hexagon/kernel/traps.c                        |   2 +-
 arch/ia64/Kconfig                                  |   2 +-
 arch/ia64/kernel/mca_drv.c                         |   3 +-
 arch/ia64/kernel/traps.c                           |   2 +-
 arch/ia64/mm/fault.c                               |   2 +-
 arch/m68k/kernel/traps.c                           |   2 +-
 arch/m68k/mm/fault.c                               |   2 +-
 arch/microblaze/kernel/exceptions.c                |   4 +-
 arch/mips/kernel/traps.c                           |   2 +-
 arch/nds32/kernel/fpu.c                            |   2 +-
 arch/nds32/kernel/traps.c                          |   8 +-
 arch/nios2/kernel/traps.c                          |   4 +-
 arch/openrisc/kernel/traps.c                       |   2 +-
 arch/parisc/kernel/traps.c                         |   2 +-
 arch/powerpc/kernel/traps.c                        |   2 +-
 arch/riscv/kernel/traps.c                          |   2 +-
 arch/riscv/mm/fault.c                              |   2 +-
 arch/s390/include/asm/debug.h                      |   6 +-
 arch/s390/kernel/dumpstack.c                       |   2 +-
 arch/s390/kernel/nmi.c                             |   2 +-
 arch/s390/kvm/interrupt.c                          |  12 ++-
 arch/sh/kernel/traps.c                             |   2 +-
 arch/sparc/kernel/traps_32.c                       |   4 +-
 arch/sparc/kernel/traps_64.c                       |   4 +-
 arch/x86/entry/entry_32.S                          |   6 +-
 arch/x86/entry/entry_64.S                          |   6 +-
 arch/x86/events/amd/core.c                         |   2 +-
 arch/x86/kernel/dumpstack.c                        |   4 +-
 arch/x86/kernel/i8259.c                            |   1 +
 arch/x86/kernel/irqinit.c                          |   4 +-
 arch/x86/kvm/vmx/vmx.c                             |  21 ++--
 arch/x86/lib/iomap_copy_64.S                       |   2 +-
 arch/xtensa/kernel/traps.c                         |   2 +-
 block/blk-cgroup.c                                 |   4 +
 block/blk-core.c                                   |   5 +-
 debian.master/upstream-stable                      |   2 +-
 drivers/base/test/test_async_driver_probe.c        |   2 +-
 drivers/clk/clk-devres.c                           |  91 +++++++++++++---
 drivers/cpufreq/armada-37xx-cpufreq.c              |   2 +-
 drivers/cpufreq/cpufreq-dt-platdev.c               |   1 +
 drivers/dma/dmaengine.c                            |   7 +-
 drivers/dma/imx-sdma.c                             |   4 +-
 drivers/dma/xilinx/xilinx_dma.c                    |  21 ++--
 drivers/edac/edac_device.c                         |  15 ++-
 drivers/edac/highbank_mc_edac.c                    |   7 +-
 drivers/edac/qcom_edac.c                           |   5 +-
 drivers/gpio/gpio-mxc.c                            |   2 +-
 drivers/gpu/drm/drm_panel_orientation_quirks.c     |   6 ++
 drivers/gpu/drm/panfrost/Kconfig                   |   3 +-
 drivers/hid/hid-betopff.c                          |  17 +--
 drivers/hid/hid-bigbenff.c                         |   5 +
 drivers/hid/hid-core.c                             |   4 +-
 drivers/hid/hid-ids.h                              |   1 -
 drivers/hid/hid-quirks.c                           |   1 -
 drivers/hid/intel-ish-hid/ishtp/dma-if.c           |  10 ++
 drivers/infiniband/core/verbs.c                    |   7 +-
 drivers/infiniband/hw/hfi1/user_exp_rcv.c          | 101 ++++++++++--------
 drivers/input/mouse/synaptics.c                    |   1 -
 drivers/memory/atmel-sdramc.c                      |   6 +-
 drivers/memory/mvebu-devbus.c                      |   3 +-
 drivers/mmc/host/sdhci-esdhc-imx.c                 |  53 +++++++--
 drivers/net/dsa/microchip/ksz9477.c                |   4 +-
 drivers/net/ethernet/amd/xgbe/xgbe-dev.c           |  23 ++--
 drivers/net/ethernet/amd/xgbe/xgbe-mdio.c          |  24 +++++
 drivers/net/ethernet/amd/xgbe/xgbe.h               |   2 +
 drivers/net/ethernet/apm/xgene/xgene_enet_main.h   |   2 +-
 drivers/net/ethernet/broadcom/tg3.c                |   8 +-
 drivers/net/ethernet/cadence/macb_main.c           |   9 +-
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |   8 +-
 drivers/net/ethernet/renesas/ravb_main.c           |   4 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |   5 +
 drivers/net/phy/mdio-i2c.c                         |   3 +-
 drivers/net/phy/mdio-mux-meson-g12a.c              |  23 ++--
 drivers/net/phy/mdio-xgene.c                       |   2 +-
 drivers/net/phy/mdio_bus.c                         |   7 +-
 drivers/net/phy/sfp.c                              |   2 +-
 drivers/net/usb/sr9700.c                           |   2 +-
 drivers/net/wan/fsl_ucc_hdlc.c                     |   6 +-
 drivers/phy/rockchip/phy-rockchip-inno-usb2.c      |   4 +-
 drivers/platform/x86/asus-nb-wmi.c                 |   1 +
 drivers/platform/x86/touchscreen_dmi.c             |  25 +++++
 drivers/scsi/hisi_sas/hisi_sas_main.c              |   2 +-
 drivers/scsi/hpsa.c                                |   2 +-
 drivers/spi/spidev.c                               |   2 -
 .../intel/int340x_thermal/int340x_thermal_zone.c   |  28 +++--
 .../intel/int340x_thermal/int340x_thermal_zone.h   |   1 +
 drivers/usb/gadget/function/f_fs.c                 |   7 ++
 drivers/usb/host/xhci-plat.c                       |   2 +-
 drivers/w1/w1.c                                    |   6 +-
 drivers/w1/w1_int.c                                |   5 +-
 fs/affs/file.c                                     |   2 +-
 fs/cifs/smbdirect.c                                |   1 +
 fs/nfsd/netns.h                                    |   6 +-
 fs/nfsd/nfs4state.c                                |   8 +-
 fs/nfsd/nfsctl.c                                   |  14 +--
 fs/nfsd/nfsd.h                                     |   3 +-
 fs/nfsd/nfssvc.c                                   |  35 +++++-
 fs/proc/proc_sysctl.c                              |  33 ++++++
 fs/reiserfs/super.c                                |   6 --
 include/linux/clk.h                                | 109
+++++++++++++++++++
 include/linux/kernel.h                             |   1 +
 {drivers/net/phy => include/linux/mdio}/mdio-i2c.h |   0
 .../net/phy => include/linux/mdio}/mdio-xgene.h    |   0
 include/linux/sched/task.h                         |   1 +
 include/linux/sysctl.h                             |   3 +
 include/net/sch_generic.h                          |   7 ++
 include/net/sock.h                                 |   2 +-
 include/uapi/linux/netfilter/nf_conntrack_sctp.h   |   2 +-
 include/uapi/linux/netfilter/nfnetlink_cttimeout.h |   2 +-
 kernel/bpf/verifier.c                              |   4 +-
 kernel/exit.c                                      |  72 +++++++++++++
 kernel/module.c                                    |  26 ++++-
 kernel/panic.c                                     |  75 +++++++++++--
 kernel/sched/core.c                                |   3 +-
 kernel/trace/bpf_trace.c                           |   3 +
 kernel/trace/trace.c                               |   2 +
 kernel/trace/trace.h                               |   1 +
 kernel/trace/trace_events_hist.c                   |   2 +
 kernel/trace/trace_output.c                        |   3 +-
 lib/lockref.c                                      |   1 -
 lib/nlattr.c                                       |   3 +
 mm/kasan/report.c                                  |   4 +-
 net/bluetooth/hci_core.c                           |   1 +
 net/bluetooth/hci_event.c                          |  13 +++
 net/core/net_namespace.c                           |   2 +-
 net/ipv4/fib_semantics.c                           |   2 +
 net/ipv4/inet_hashtables.c                         |  17 ++-
 net/ipv4/inet_timewait_sock.c                      |   8 +-
 net/ipv4/metrics.c                                 |   2 +
 net/ipv4/tcp.c                                     |   2 +
 net/ipv6/ip6_gre.c                                 |  12 ++-
 net/ipv6/ip6_tunnel.c                              |  10 +-
 net/ipv6/sit.c                                     |   8 +-
 net/l2tp/l2tp_core.c                               |  30 ++++--
 net/netfilter/nf_conntrack_proto_sctp.c            | 118
++++++++++-----------
 net/netfilter/nf_conntrack_proto_tcp.c             |  10 ++
 net/netfilter/nf_conntrack_standalone.c            |   8 --
 net/netfilter/nft_set_rbtree.c                     |  16 ++-
 net/netlink/af_netlink.c                           |  38 ++++---
 net/netrom/nr_timer.c                              |   1 +
 net/nfc/llcp_core.c                                |   1 +
 net/sched/sch_taprio.c                             |   2 +
 net/sctp/bind_addr.c                               |   6 ++
 net/sunrpc/xprtrdma/verbs.c                        |   1 -
 scripts/tracing/ftrace-bisect.sh                   |  34 ++++--
 security/tomoyo/Makefile                           |   2 +-
 sound/soc/fsl/fsl-asoc-card.c                      |   8 +-
 sound/soc/fsl/fsl_micfil.c                         |  16 +--
 sound/soc/fsl/fsl_ssi.c                            |   4 +-
 tools/objtool/check.c                              |   3 +-
 173 files changed, 1172 insertions(+), 464 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-kernel-oops_count
 create mode 100644 Documentation/ABI/testing/sysfs-kernel-warn_count
 rename {drivers/net/phy => include/linux/mdio}/mdio-i2c.h (100%)
 rename {drivers/net/phy => include/linux/mdio}/mdio-xgene.h (100%)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230313/f2c493b3/attachment-0001.html>


More information about the kernel-team mailing list