[SRU][Kinetic][PULL] Kinetic upstream stable patchset 2022-11-30

Kamal Mostafa kamal at canonical.com
Wed Nov 30 22:53:23 UTC 2022


This pull request (81 commits) includes the following Kinetic stable
patchsets:

	Kinetic update: upstream stable patchset 2022-11-30
		Ported from the following upstream stable releases:
			          v6.0.5
			v5.15.76, v6.0.6
	https://bugs.launchpad.net/bugs/1998398

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/kinetic stable-next

 -Kamal

-----

The following changes since commit d6702a39b302c63330dd5765caaacec85113fe15:

  wifi: mt76: mt7921: fix use after free in mt7921_acpi_read() (2022-11-24 18:57:02 +0100)

are available in the Git repository at:

  git://git.launchpad.net/~ubuntu-kernel-stable/+git/kinetic tags/kinetic-stable-2022-11-30

for you to fetch changes up to 8e36d61a41f206429a214491b104056067832e60:

  UBUNTU: Upstream stable to v5.15.76, v6.0.6 (2022-11-30 14:00:26 -0800)

----------------------------------------------------------------
Alex Deucher (1):
      drm/amdgpu: fix sdma doorbell init ordering on APUs

Alexander Graf (3):
      kvm: Add support for arch compat vm ioctls
      KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()
      KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTER

Alexander Potapenko (1):
      tipc: fix an information leak in tipc_topsrv_kern_subscr

Alexander Stein (1):
      ata: ahci-imx: Fix MODULE_ALIAS

Babu Moger (1):
      x86/resctrl: Fix min_cbm_bits for AMD

Borislav Petkov (1):
      x86/microcode/AMD: Apply the patch early on every logical thread

Brett Creeley (1):
      ionic: catch NULL pointer issue on reconfig

Bryan O'Donoghue (3):
      i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter
      media: venus: dec: Handle the case where find_format fails
      media: venus: Fix NV12 decoder buffer discovery on HFI_VERSION_1XX

Charlotte Tan (1):
      iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()

Christoph Böhmwalder (1):
      drbd: only clone bio if we have a backing device

Christoph Hellwig (1):
      nvme-hwmon: consistently ignore errors from nvme_hwmon_init

Dan Carpenter (1):
      net/smc: Fix an error code in smc_lgr_create()

Deren Wu (1):
      wifi: mt76: mt7921e: fix random fw download fail

Eric Dumazet (2):
      net: hsr: avoid possible NULL deref in skb_clone()
      net: sched: fix race condition in qdisc_graft()

Eric Ren (1):
      KVM: arm64: vgic: Fix exit condition in scan_its_table()

Fabien Parent (2):
      cpufreq: qcom: fix writes in read-only memory region
      cpufreq: qcom: fix memory leak in error path

Felix Riemann (1):
      net: phy: dp83822: disable MDI crossover status change interrupt

Filipe Manana (2):
      btrfs: fix processing of delayed data refs during backref walking
      btrfs: fix processing of delayed tree block refs during backref walking

GONG, Ruiqi (1):
      selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()

Genjian Zhang (1):
      dm: remove unnecessary assignment statement in alloc_dev()

Greg Kroah-Hartman (1):
      Revert "btrfs: call __btrfs_remove_free_space_cache_locked on cache load failure"

Guillaume Nault (1):
      netfilter: rpfilter/fib: Set ->flowic_uid correctly for user namespaces.

Harini Katakam (1):
      net: phy: dp83867: Extend RX strap quirk for SGMII mode

Jan Sokolowski (1):
      i40e: Fix DMA mappings leak

Jerry Snitselaar (1):
      iommu/vt-d: Clean up si_domain in the init_dmars() error path

Jon Hunter (2):
      clk: tegra: Fix Tegra PWM parent clock
      cpufreq: tegra194: Fix module loading

Jonathan Cooper (1):
      sfc: Change VF mac via PF as first preference if available.

Joseph Qi (2):
      ocfs2: clear dinode links count in case of error
      ocfs2: fix BUG when iput after ocfs2_mknod fails

José Expósito (1):
      HID: magicmouse: Do not set BTN_MOUSE on double report

Kai-Heng Feng (1):
      ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS

Kamal Mostafa (2):
      UBUNTU: Upstream stable to v6.0.5
      UBUNTU: Upstream stable to v5.15.76, v6.0.6

Kuniyuki Iwashima (1):
      udp: Update reuse->has_conns under reuseport_lock.

Mark Tomlinson (1):
      tipc: Fix recognition of trial period

Maxime Ripard (2):
      drm/vc4: Add module dependency on hdmi-codec
      drm/vc4: hdmi: Enforce the minimum rate at runtime_resume

Nathan Chancellor (1):
      x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB

Pablo Neira Ayuso (1):
      netfilter: nf_tables: relax NFTA_SET_ELEM_KEY_END set flags requirements

Paul Blakey (1):
      net: Fix return value of qdisc ingress handling on success

Phil Sutter (1):
      netfilter: rpfilter/fib: Populate flowic_l3mdev field

Pieter Jansen van Vuuren (1):
      sfc: include vport_id in filter spec hash and equal()

Rafael Mendonca (1):
      scsi: lpfc: Fix memory leak in lpfc_create_port()

Rik van Riel (1):
      mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages

Sagi Grimberg (1):
      nvmet: fix workqueue MEM_RECLAIM flushing dependency

Sakari Ailus (1):
      media: ipu3-imgu: Fix NULL pointer dereference in active selection access

Sean Young (1):
      media: mceusb: set timeout to at least timeout provided

Serge Semin (1):
      nvme-hwmon: kmalloc the NVME SMART log buffer

Seth Jenkins (1):
      mm: /proc/pid/smaps_rollup: fix no vma's null-deref

Shenwei Wang (2):
      net: phylink: add mac_managed_pm in phylink_config structure
      net: stmmac: Enable mac_managed_pm phylink config

Steve French (1):
      smb3: interface count displayed incorrectly

Tony Luck (1):
      ACPI: extlog: Handle multiple records

Werner Sembach (1):
      ACPI: video: Force backlight native for more TongFang devices

Xiaobo Liu (1):
      net/atm: fix proc_mpc_write incorrect return value

Yang Yingliang (5):
      wwan_hwsim: fix possible memory leak in wwan_hwsim_dev_new()
      net: hns: fix possible memory leak in hnae_ae_register()
      net: ethernet: mtk_eth_soc: fix possible memory leak in mtk_probe()
      net: ethernet: mtk_eth_wed: add missing put_device() in mtk_wed_add_hw()
      net: ethernet: mtk_eth_wed: add missing of_node_put()

Yu Kuai (1):
      blk-mq: fix null pointer dereference in blk_mq_clear_rq_mapping()

Zhang Rui (3):
      hwmon/coretemp: Handle large core ID value
      x86/topology: Fix multiple packages shown on a single-package system
      x86/topology: Fix duplicated core ID within a package

Zhang Xiaoxu (5):
      cifs: Fix xid leak in cifs_create()
      cifs: Fix xid leak in cifs_copy_file_range()
      cifs: Fix xid leak in cifs_flock()
      cifs: Fix xid leak in cifs_ses_add_channel()
      cifs: Fix memory leak when build ntlmssp negotiate blob failed

Zhengchao Shao (4):
      net: sched: cake: fix null pointer access issue when cake_init() fails
      net: sched: delete duplicate cleanup of backlog and qlen
      net: sched: sfb: fix null pointer access issue when sfb_init() fails
      ip6mr: fix UAF issue in ip6mr_sk_done() when addrconf_init_net() failed

 arch/arm64/kvm/vgic/vgic-its.c                     |  5 +-
 arch/x86/Kconfig                                   |  1 -
 arch/x86/include/asm/iommu.h                       |  4 +-
 arch/x86/kernel/cpu/microcode/amd.c                | 16 +++-
 arch/x86/kernel/cpu/resctrl/core.c                 |  8 +-
 arch/x86/kernel/cpu/topology.c                     | 16 ++--
 arch/x86/kvm/x86.c                                 | 87 ++++++++++++++++++----
 block/blk-mq.c                                     |  7 +-
 debian.master/upstream-stable                      |  4 +-
 drivers/acpi/acpi_extlog.c                         | 33 ++++----
 drivers/acpi/video_detect.c                        | 64 ++++++++++++++++
 drivers/ata/ahci.h                                 |  2 +-
 drivers/ata/ahci_imx.c                             |  2 +-
 drivers/block/drbd/drbd_req.c                      | 14 ++--
 drivers/clk/tegra/clk-tegra114.c                   |  1 +
 drivers/clk/tegra/clk-tegra124.c                   |  1 +
 drivers/clk/tegra/clk-tegra20.c                    |  1 +
 drivers/clk/tegra/clk-tegra210.c                   |  1 +
 drivers/clk/tegra/clk-tegra30.c                    |  1 +
 drivers/cpufreq/qcom-cpufreq-nvmem.c               | 10 ++-
 drivers/cpufreq/tegra194-cpufreq.c                 |  1 +
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c             |  5 --
 drivers/gpu/drm/amd/amdgpu/soc15.c                 | 21 ++++++
 drivers/gpu/drm/vc4/vc4_drv.c                      |  1 +
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |  9 +++
 drivers/hid/hid-magicmouse.c                       |  2 +-
 drivers/hwmon/coretemp.c                           | 56 ++++++++++----
 drivers/i2c/busses/i2c-qcom-cci.c                  | 13 ++--
 drivers/iommu/intel/iommu.c                        |  5 ++
 drivers/md/dm.c                                    |  1 -
 drivers/media/platform/qcom/venus/helpers.c        | 13 ++--
 drivers/media/platform/qcom/venus/vdec.c           |  2 +
 drivers/media/rc/mceusb.c                          |  2 +-
 drivers/net/ethernet/hisilicon/hns/hnae.c          |  4 +-
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c     |  3 -
 drivers/net/ethernet/intel/i40e/i40e_main.c        | 16 ++--
 drivers/net/ethernet/intel/i40e/i40e_txrx.c        | 13 ++--
 drivers/net/ethernet/intel/i40e/i40e_txrx.h        |  1 -
 drivers/net/ethernet/intel/i40e/i40e_xsk.c         | 67 +++++++++++++++--
 drivers/net/ethernet/intel/i40e/i40e_xsk.h         |  2 +-
 drivers/net/ethernet/mediatek/mtk_eth_soc.c        | 17 +++--
 drivers/net/ethernet/mediatek/mtk_wed.c            | 15 +++-
 drivers/net/ethernet/pensando/ionic/ionic_lif.c    | 12 ++-
 drivers/net/ethernet/sfc/ef10.c                    | 58 ++++++---------
 drivers/net/ethernet/sfc/filter.h                  |  3 +-
 drivers/net/ethernet/sfc/rx_common.c               | 10 +--
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |  1 +
 drivers/net/phy/dp83822.c                          |  3 +-
 drivers/net/phy/dp83867.c                          |  8 ++
 drivers/net/phy/phylink.c                          |  3 +
 drivers/net/wireless/mediatek/mt76/mt7921/pci.c    |  1 +
 .../net/wireless/mediatek/mt76/mt7921/pci_mcu.c    |  2 +
 drivers/net/wireless/mediatek/mt76/mt7921/regs.h   |  2 +
 drivers/net/wwan/wwan_hwsim.c                      |  2 +-
 drivers/nvme/host/core.c                           |  6 +-
 drivers/nvme/host/hwmon.c                          | 32 +++++---
 drivers/nvme/target/core.c                         |  2 +-
 drivers/scsi/lpfc/lpfc_init.c                      |  7 +-
 drivers/staging/media/ipu3/ipu3-v4l2.c             | 31 ++++----
 fs/btrfs/backref.c                                 | 46 ++++++++----
 fs/btrfs/free-space-cache.c                        | 53 +++++--------
 fs/cifs/cifsfs.c                                   |  7 +-
 fs/cifs/dir.c                                      |  6 +-
 fs/cifs/file.c                                     | 11 ++-
 fs/cifs/sess.c                                     |  1 +
 fs/cifs/smb2ops.c                                  |  3 +-
 fs/cifs/smb2pdu.c                                  |  2 +-
 fs/ocfs2/namei.c                                   | 23 +++---
 fs/proc/task_mmu.c                                 |  2 +-
 include/linux/kvm_host.h                           |  2 +
 include/linux/phylink.h                            |  2 +
 include/net/sch_generic.h                          |  1 -
 include/net/sock_reuseport.h                       | 11 ++-
 mm/hugetlb.c                                       |  2 +-
 net/atm/mpoa_proc.c                                |  3 +-
 net/core/dev.c                                     |  4 +
 net/core/sock_reuseport.c                          | 16 ++++
 net/hsr/hsr_forward.c                              | 12 +--
 net/ipv4/datagram.c                                |  2 +-
 net/ipv4/netfilter/ipt_rpfilter.c                  |  3 +-
 net/ipv4/netfilter/nft_fib_ipv4.c                  |  3 +-
 net/ipv4/udp.c                                     |  2 +-
 net/ipv6/addrconf.c                                |  2 +
 net/ipv6/datagram.c                                |  2 +-
 net/ipv6/netfilter/ip6t_rpfilter.c                 | 10 +--
 net/ipv6/netfilter/nft_fib_ipv6.c                  |  7 +-
 net/ipv6/udp.c                                     |  2 +-
 net/netfilter/nf_tables_api.c                      |  5 +-
 net/sched/sch_api.c                                |  5 +-
 net/sched/sch_atm.c                                |  1 -
 net/sched/sch_cake.c                               |  4 +
 net/sched/sch_cbq.c                                |  1 -
 net/sched/sch_choke.c                              |  2 -
 net/sched/sch_drr.c                                |  2 -
 net/sched/sch_dsmark.c                             |  2 -
 net/sched/sch_etf.c                                |  3 -
 net/sched/sch_ets.c                                |  2 -
 net/sched/sch_fq_codel.c                           |  2 -
 net/sched/sch_fq_pie.c                             |  3 -
 net/sched/sch_hfsc.c                               |  2 -
 net/sched/sch_htb.c                                |  2 -
 net/sched/sch_multiq.c                             |  1 -
 net/sched/sch_prio.c                               |  2 -
 net/sched/sch_qfq.c                                |  2 -
 net/sched/sch_red.c                                |  2 -
 net/sched/sch_sfb.c                                |  5 +-
 net/sched/sch_skbprio.c                            |  3 -
 net/sched/sch_taprio.c                             |  2 -
 net/sched/sch_tbf.c                                |  2 -
 net/sched/sch_teql.c                               |  1 -
 net/smc/smc_core.c                                 |  3 +-
 net/tipc/discover.c                                |  2 +-
 net/tipc/topsrv.c                                  |  2 +-
 security/selinux/ss/services.c                     |  5 +-
 security/selinux/ss/sidtab.c                       |  4 +-
 security/selinux/ss/sidtab.h                       |  2 +-
 virt/kvm/kvm_main.c                                | 11 +++
 117 files changed, 691 insertions(+), 364 deletions(-)



More information about the kernel-team mailing list