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

Kamal Mostafa kamal at canonical.com
Wed Jan 25 21:27:30 UTC 2023


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

	Focal update: v5.4.226 upstream stable release
	https://bugs.launchpad.net/bugs/2003896

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

 -Kamal

-----

The following changes since commit 3db9fd855a1b1f930450a44fa206684360b62a77:

  UBUNTU: Upstream stable to v5.4.225 (2023-01-20 18:32:14 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 9fb9d863b6fb5fa681d2893336082a42c16fee69:

  UBUNTU: Upstream stable to v5.4.226 (2023-01-25 09:51:35 -0800)

----------------------------------------------------------------
Adrian Hunter (1):
      mmc: sdhci: Fix voltage switch delay

Alejandro Concepción Rodríguez (1):
      iio: light: apds9960: fix wrong register for gesture gain

Alessandro Astone (2):
      binder: Address corner cases in deferred copy and fixup
      binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0

Alex Deucher (1):
      drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"

Alexandre Belloni (1):
      init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash

Aman Dhoot (1):
      Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode

Anand Jain (3):
      btrfs: free btrfs_path before copying fspath to userspace
      btrfs: free btrfs_path before copying subvol info to userspace
      btrfs: free btrfs_path before copying inodes to userspace

Andreas Kemnade (1):
      regulator: twl6030: re-add TWL6032_SUBCLASS

Andrzej Hajda (1):
      drm/i915: fix TLB invalidation for Gen12 video and compute engines

Andy Shevchenko (1):
      pinctrl: intel: Save and restore pins in "direct IRQ" mode

Arnd Bergmann (1):
      binder: fix pointer cast warning

Brian Norris (1):
      firmware: coreboot: Register bus in module init

Chen Zhongjin (3):
      xfrm: Fix ignored return value in xfrm6_init()
      iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails
      nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty

ChenXiaoSong (1):
      btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()

Christian König (1):
      drm/amdgpu: always register an MMU notifier for userptr

Christian Löhle (1):
      mmc: core: Fix ambiguous TRIM and DISCARD arg

Claudio Suarez (1):
      drm/amdgpu: update drm_display_info correctly when the edid is read

Conor Dooley (1):
      Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"

David Ahern (1):
      ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference

David Howells (1):
      afs: Fix fileserver probe RTT handling

Detlev Casanova (1):
      ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove

Dominik Haller (1):
      ARM: dts: am335x-pcm-953: Define fixed regulators in root node

Duoming Zhou (1):
      qlcnic: fix sleep-in-atomic-context bugs caused by msleep

Enrico Sau (1):
      net: usb: qmi_wwan: add Telit 0x103a composition

Frieder Schrempf (1):
      spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock

Gaosheng Cui (2):
      audit: fix undefined behavior in bit shift for AUDIT_BIT
      hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails

Gleb Mazovetskiy (1):
      tcp: configurable source port perturb table size

Greg Kroah-Hartman (2):
      lib/vdso: use "grep -E" instead of "egrep"
      Linux 5.4.226

Guenter Roeck (1):
      xtensa: increase size of gcc stack frame check

Hans de Goede (3):
      drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)
      ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-01
      platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)

Heiko Carstens (1):
      s390/crashdump: fix TOD programmable field size

Helge Deller (2):
      parisc: Increase size of gcc stack frame check
      parisc: Increase FRAME_WARN to 2048 bytes on parisc

Herbert Xu (1):
      af_key: Fix send_acquire race with pfkey_register

Ido Schimmel (1):
      ipv4: Fix route deletion when nexthop info is not specified

Jaco Coetzee (1):
      nfp: add port from netdev validation for EEPROM access

Jakob Unterwurzacher (1):
      arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency

James Morse (2):
      arm64: Fix panic() when Spectre-v2 causes Spectre-BHB to re-allocate KVM vectors
      arm64: errata: Fix KVM Spectre-v2 mitigation selection for Cortex-A57/A72

Jan Dabros (1):
      char: tpm: Protect tpm_pm_suspend with locks

Jann Horn (1):
      ipc/sem: Fix dangling sem_array access in semtimedop race

Jason A. Donenfeld (1):
      MIPS: pic32: treat port as signed integer

Jerry Ray (1):
      dsa: lan9303: Correct stat name

Johannes Berg (1):
      wifi: cfg80211: fix buffer overflow in elem comparison

Jonas Jelonek (1):
      wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support

Josef Bacik (1):
      btrfs: free btrfs_path before copying root refs to userspace

Kai-Heng Feng (1):
      platform/x86: hp-wmi: Ignore Smart Experience App event

Kamal Mostafa (2):
      UBUNTU: [Config] updateconfigs for INET_TABLE_PERTURB_ORDER
      UBUNTU: Upstream stable to v5.4.226

Keith Busch (2):
      nvme: restrict management ioctls to admin
      nvme: ensure subsystem reset is single threaded

Kuniyuki Iwashima (2):
      arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
      dccp/tcp: Reset saddr on failure after inet6?_hash_connect().

Lars-Peter Clausen (1):
      iio: ms5611: Simplify IO callback parameters

Lee Jones (1):
      Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled

Leon Romanovsky (1):
      net: liquidio: simplify if expression

Lin Ma (1):
      nfc/nci: fix race with opening and closing

Linus Torvalds (3):
      proc: avoid integer type confusion in get_proc_long
      proc: proc_skip_spaces() shouldn't think it is working on C strings
      v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails

Liu Shixin (1):
      NFC: nci: fix memory leak in nci_rx_data_packet()

Lukas Wunner (1):
      serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()

Lyude Paul (1):
      drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN

Marek Szyprowski (1):
      usb: dwc3: exynos: Fix remove() function

Mark Brown (1):
      ASoC: ops: Fix bounds check for _sx controls

Martin Faltesek (2):
      nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
      nfc: st-nci: fix memory leaks in EVT_TRANSACTION

Masahiro Yamada (1):
      mmc: sdhci: use FIELD_GET for preset value bit masks

Maxim Korotkov (1):
      pinctrl: single: Fix potential division by zero

Michael Grzeschik (1):
      ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl

Michael Kelley (1):
      x86/ioremap: Fix page aligned size calculation in __ioremap_caller()

Miklos Szeredi (1):
      fuse: lock inode unconditionally in fuse_fallocate()

Mikulas Patocka (1):
      dm integrity: flush the journal on suspend

Mitja Spes (1):
      iio: pressure: ms5611: fixed value compensation bug

Moshe Shemesh (1):
      net/mlx5: Fix FW tracer timestamp calculation

Mukesh Ojha (1):
      gcov: clang: fix the buffer overflow issue

Nathan Chancellor (2):
      RISC-V: vdso: Do not add missing symbols to version section in linker script
      mm: Fix '.data.once' orphan section warning

Nicolas Cavallari (1):
      wifi: mac80211: Fix ack frame idr leak when mesh has no route

Nikolay Aleksandrov (2):
      selftests: net: add delete nexthop route warning test
      selftests: net: fix nexthop warning cleanup double ip typo

Nikolay Borisov (1):
      btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker

Patrick Rudolph (1):
      firmware: google: Release devices before unregistering the bus

Paul Gazzillo (1):
      iio: light: rpr0521: add missing Kconfig dependencies

Pawan Gupta (3):
      x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3
      x86/tsx: Add a feature bit for TSX control MSR support
      x86/pm: Add enumeration check before spec MSRs save/restore setup

Peter Kosyh (1):
      net/mlx4: Check retval of mlx4_bitmap_init

Phil Auld (1):
      hwmon: (coretemp) Check for null before removing sysfs attrs

Randy Dunlap (1):
      nios2: add FORCE for vmlinuz.gz

Roi Dayan (1):
      net/mlx5e: Fix use-after-free when reverting termination table

Samuel Holland (1):
      bus: sunxi-rsb: Support atomic transfers

Sean Nyekjaer (1):
      spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run

Sebastian Falbesoner (1):
      mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check

Shigeru Yoshida (1):
      net: tun: Fix use-after-free in tun_detach()

Srikar Dronamraju (1):
      scripts/faddr2line: Fix regression in name resolution on ppc64le

Stefan Haberland (1):
      s390/dasd: fix no record found for raw_track_access

Steven Rostedt (Google) (3):
      error-injection: Add prompt for function error injection
      tracing: Free buffers when a used dynamic event is removed
      tracing/ring-buffer: Have polling block on watermark

Tiezhu Yang (1):
      tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"

Todd Kjos (3):
      binder: avoid potential data leakage when copying txn
      binder: read pre-translated fds from sender buffer
      binder: defer copies of pre-patched txn data

Wang Hai (2):
      net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
      net/9p: Fix a potential socket leak in p9_socket_open

Wei Yongjun (2):
      iio: health: afe4403: Fix oob read in afe4403_read_raw
      iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw

Wenchao Chen (1):
      mmc: sdhci-sprd: Fix no reset data and command after voltage switch

Willem de Bruijn (1):
      packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE

Xin Long (2):
      tipc: set con sock in tipc_conn_alloc
      tipc: add an extra conn_get in tipc_conn_alloc

Xiongfeng Wang (2):
      platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
      iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()

Xiubo Li (2):
      ceph: do not update snapshot context when there is no new snapshot
      ceph: avoid putting the realm twice when decoding snaps fails

Yang Yingliang (10):
      regulator: core: fix UAF in destroy_regulator()
      tee: optee: fix possible memory leak in optee_register_device()
      net: pch_gbe: fix pci device refcount leak while module exiting
      Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()
      Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()
      bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()
      hwmon: (i5500_temp) fix missing pci_disable_device()
      of: property: decrement node refcount in of_fwnode_get_reference_args()
      net: phy: fix null-ptr-deref while probe() failed
      hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()

Ye Bin (1):
      mmc: mmc_test: Fix removal of debugfs file

Yoshihiro Shimoda (1):
      net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed

Yu Kuai (1):
      block, bfq: fix null pointer dereference in bfq_bio_bfqg()

Yu Liao (1):
      net: thunderx: Fix the ACPI memory leak

Yuan Can (1):
      net: net_netdev: Fix error handling in ntb_netdev_init_module()

YueHaibing (4):
      tipc: check skb_linearize() return value in tipc_disc_rcv()
      net/mlx5: Fix uninitialized variable bug in outlen_write()
      net: hsr: Fix potential use-after-free
      net/mlx5: DR, Fix uninitialized var warning

Yuri Karpov (1):
      net: ethernet: nixge: fix NULL dereference

Zeng Heng (1):
      regulator: core: fix kobject release warning and memory leak in regulator_register()

Zhang Changzhong (3):
      net/qla3xxx: fix potential memleak in ql3xxx_send()
      can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
      can: cc770: cc770_isa_probe(): add missing free_cc770dev()

ZhangPeng (1):
      nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()

Zhen Lei (1):
      btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()

Zheng Yongjun (1):
      ARM: mxs: fix memory leak in mxs_machine_init()

Zhengchao Shao (2):
      9p/fd: fix issue of list_del corruption in p9_fd_cancel()
      sctp: fix memory leak in sctp_stream_outq_migrate()

ruanjinjie (1):
      xen/platform-pci: add missing free_irq() in error path

taozhang (1):
      wifi: mac80211: fix memory free error when registering wiphy fail

 Makefile                                           |   2 +-
 arch/arm/boot/dts/am335x-pcm-953.dtsi              |  28 +-
 arch/arm/boot/dts/at91sam9g20ek_common.dtsi        |   9 +
 arch/arm/mach-mxs/mach-mxs.c                       |   4 +-
 .../arm64/boot/dts/rockchip/rk3399-puma-haikou.dts |   2 +-
 arch/arm64/include/asm/syscall_wrapper.h           |   2 +-
 arch/arm64/kernel/cpu_errata.c                     |  24 +-
 arch/mips/include/asm/fw/fw.h                      |   2 +-
 arch/mips/pic32/pic32mzda/early_console.c          |  13 +-
 arch/mips/pic32/pic32mzda/init.c                   |   2 +-
 arch/nios2/boot/Makefile                           |   2 +-
 arch/riscv/kernel/vdso/Makefile                    |   3 +
 arch/riscv/kernel/vdso/vdso.lds.S                  |   2 +
 arch/s390/kernel/crash_dump.c                      |   2 +-
 arch/x86/include/asm/cpufeatures.h                 |   1 +
 arch/x86/include/asm/nospec-branch.h               |   2 +-
 arch/x86/kernel/cpu/bugs.c                         |  21 +-
 arch/x86/kernel/cpu/tsx.c                          |  33 +-
 arch/x86/kernel/process.c                          |   2 +-
 arch/x86/mm/ioremap.c                              |   8 +-
 arch/x86/power/cpu.c                               |  23 +-
 block/bfq-cgroup.c                                 |   4 +
 debian.master/config/config.common.ubuntu          |   1 +
 debian.master/upstream-stable                      |   2 +-
 drivers/android/binder.c                           | 437 ++++++++++++++++++---
 drivers/bus/sunxi-rsb.c                            |  29 +-
 drivers/char/tpm/tpm-interface.c                   |   5 +-
 drivers/clocksource/timer-riscv.c                  |   2 +-
 drivers/firmware/google/coreboot_table.c           |  44 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c     |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c            |   8 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   3 +-
 .../drm/amd/display/dc/dce120/dce120_resource.c    |   3 +-
 drivers/gpu/drm/drm_panel_orientation_quirks.c     |   6 +
 drivers/gpu/drm/i915/gt/intel_gt.c                 |   4 +
 drivers/hv/channel_mgmt.c                          |   6 +-
 drivers/hv/vmbus_drv.c                             |   1 +
 drivers/hwmon/coretemp.c                           |   9 +-
 drivers/hwmon/i5500_temp.c                         |   2 +-
 drivers/hwmon/ibmpex.c                             |   1 +
 drivers/iio/health/afe4403.c                       |   5 +-
 drivers/iio/health/afe4404.c                       |  12 +-
 drivers/iio/industrialio-sw-trigger.c              |   6 +-
 drivers/iio/light/Kconfig                          |   2 +
 drivers/iio/light/apds9960.c                       |  12 +-
 drivers/iio/pressure/ms5611.h                      |  18 +-
 drivers/iio/pressure/ms5611_core.c                 |  56 +--
 drivers/iio/pressure/ms5611_i2c.c                  |  11 +-
 drivers/iio/pressure/ms5611_spi.c                  |  17 +-
 drivers/input/mouse/synaptics.c                    |   1 +
 drivers/iommu/dmar.c                               |   1 +
 drivers/md/dm-integrity.c                          |   7 +-
 drivers/mmc/core/core.c                            |   9 +-
 drivers/mmc/core/mmc_test.c                        |   3 +-
 drivers/mmc/host/sdhci-esdhc-imx.c                 |   2 +-
 drivers/mmc/host/sdhci-sprd.c                      |   4 +-
 drivers/mmc/host/sdhci.c                           |  71 +++-
 drivers/mmc/host/sdhci.h                           |  12 +-
 drivers/net/can/cc770/cc770_isa.c                  |  10 +-
 drivers/net/can/sja1000/sja1000_isa.c              |  10 +-
 drivers/net/dsa/lan9303-core.c                     |   2 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c  |  12 +-
 drivers/net/ethernet/cavium/liquidio/lio_main.c    |   4 +-
 drivers/net/ethernet/cavium/thunder/thunder_bgx.c  |   4 +-
 drivers/net/ethernet/mellanox/mlx4/qp.c            |   3 +-
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c      |   4 +-
 .../ethernet/mellanox/mlx5/core/diag/fw_tracer.c   |   2 +-
 .../mellanox/mlx5/core/eswitch_offloads_termtbl.c  |   2 +
 .../mellanox/mlx5/core/steering/dr_table.c         |   5 +-
 .../net/ethernet/netronome/nfp/nfp_net_ethtool.c   |   3 +
 drivers/net/ethernet/ni/nixge.c                    |  29 +-
 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c   |   6 +-
 drivers/net/ethernet/qlogic/qla3xxx.c              |   1 +
 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c    |   4 +-
 drivers/net/ethernet/renesas/ravb_main.c           |   1 +
 drivers/net/ntb_netdev.c                           |   9 +-
 drivers/net/phy/phy_device.c                       |   1 +
 drivers/net/tun.c                                  |   4 +-
 drivers/net/usb/qmi_wwan.c                         |   1 +
 drivers/net/wireless/mac80211_hwsim.c              |   5 +
 drivers/nfc/st-nci/se.c                            |   6 +-
 drivers/nvme/host/core.c                           |   6 +
 drivers/nvme/host/nvme.h                           |  16 +-
 drivers/of/property.c                              |   4 +-
 drivers/pinctrl/intel/pinctrl-intel.c              |  27 +-
 drivers/pinctrl/pinctrl-single.c                   |   2 +-
 drivers/platform/x86/acer-wmi.c                    |   9 +
 drivers/platform/x86/asus-wmi.c                    |   2 +
 drivers/platform/x86/hp-wmi.c                      |   3 +
 drivers/regulator/core.c                           |   8 +-
 drivers/regulator/twl6030-regulator.c              |   2 +
 drivers/s390/block/dasd_eckd.c                     |   6 +-
 drivers/spi/spi-imx.c                              |   3 +-
 drivers/spi/spi-stm32.c                            |   2 +-
 drivers/tee/optee/device.c                         |   2 +-
 drivers/tty/serial/8250/8250_omap.c                |   7 +-
 drivers/usb/dwc3/dwc3-exynos.c                     |  11 +-
 drivers/xen/platform-pci.c                         |   7 +-
 fs/afs/fs_probe.c                                  |   4 +-
 fs/btrfs/ioctl.c                                   |  23 +-
 fs/btrfs/qgroup.c                                  |  22 +-
 fs/btrfs/sysfs.c                                   |   7 +-
 fs/ceph/snap.c                                     |  31 +-
 fs/fuse/file.c                                     |  20 +-
 fs/nilfs2/dat.c                                    |   7 +
 fs/nilfs2/sufile.c                                 |   8 +
 include/linux/mmc/mmc.h                            |   2 +-
 include/linux/mmdebug.h                            |   2 +-
 include/linux/ring_buffer.h                        |   2 +-
 include/net/sctp/stream_sched.h                    |   2 +
 include/uapi/linux/audit.h                         |   2 +-
 init/Kconfig                                       |   2 +-
 ipc/sem.c                                          |   3 +-
 kernel/gcov/clang.c                                |   2 +
 kernel/sysctl.c                                    |  30 +-
 kernel/trace/ring_buffer.c                         |  54 ++-
 kernel/trace/trace.c                               |   2 +-
 kernel/trace/trace_dynevent.c                      |   2 +
 kernel/trace/trace_events.c                        |  11 +-
 lib/Kconfig.debug                                  |  14 +-
 lib/vdso/Makefile                                  |   2 +-
 mm/frame_vector.c                                  |  31 +-
 net/9p/trans_fd.c                                  |   6 +-
 net/dccp/ipv4.c                                    |   2 +
 net/dccp/ipv6.c                                    |   2 +
 net/hsr/hsr_forward.c                              |   5 +-
 net/ipv4/Kconfig                                   |  10 +
 net/ipv4/fib_semantics.c                           |  10 +-
 net/ipv4/inet_hashtables.c                         |  10 +-
 net/ipv4/tcp_ipv4.c                                |   2 +
 net/ipv6/tcp_ipv6.c                                |   2 +
 net/ipv6/xfrm6_policy.c                            |   6 +-
 net/key/af_key.c                                   |  32 +-
 net/mac80211/main.c                                |   8 +-
 net/mac80211/mesh_pathtbl.c                        |   2 +-
 net/nfc/nci/core.c                                 |   2 +-
 net/nfc/nci/data.c                                 |   4 +-
 net/packet/af_packet.c                             |   6 +-
 net/sctp/stream.c                                  |  25 +-
 net/sctp/stream_sched.c                            |   5 +
 net/sctp/stream_sched_prio.c                       |  19 +
 net/sctp/stream_sched_rr.c                         |   5 +
 net/tipc/discover.c                                |   5 +-
 net/tipc/topsrv.c                                  |  20 +-
 net/wireless/scan.c                                |   3 +-
 scripts/faddr2line                                 |   7 +-
 sound/soc/codecs/sgtl5000.c                        |   1 +
 sound/soc/intel/boards/bytcht_es8316.c             |   7 +
 sound/soc/soc-ops.c                                |   2 +-
 tools/testing/selftests/net/fib_nexthops.sh        |  30 ++
 tools/vm/slabinfo-gnuplot.sh                       |   4 +-
 151 files changed, 1270 insertions(+), 509 deletions(-)



More information about the kernel-team mailing list