[PATCH 6.0 00/94] 6.0.6-rc1 review

From: Greg Kroah-Hartman
Date: Thu Oct 27 2022 - 12:56:06 EST


This is the start of the stable review cycle for the 6.0.6 release.
There are 94 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 Sat, 29 Oct 2022 16:50:35 +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/v6.x/stable-review/patch-6.0.6-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-6.0.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Linux 6.0.6-rc1

Seth Jenkins <sethjenkins@xxxxxxxxxx>
mm: /proc/pid/smaps_rollup: fix no vma's null-deref

Werner Sembach <wse@xxxxxxxxxxxxxxxxxxx>
ACPI: video: Force backlight native for more TongFang devices

Ye Bin <yebin10@xxxxxxxxxx>
ext4: fix potential out of bound read in ext4_fc_replay_scan()

Ye Bin <yebin10@xxxxxxxxxx>
ext4: factor out ext4_fc_get_tl()

Ye Bin <yebin10@xxxxxxxxxx>
ext4: introduce EXT4_FC_TAG_BASE_LEN helper

Jens Axboe <axboe@xxxxxxxxx>
io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL

Deren Wu <deren.wu@xxxxxxxxxxxx>
wifi: mt76: mt7921e: fix random fw download fail

Jerry Snitselaar <jsnitsel@xxxxxxxxxx>
iommu/vt-d: Clean up si_domain in the init_dmars() error path

Charlotte Tan <charlotte@xxxxxxxxxxxx>
iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()

Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>
rv/dot2c: Make automaton definition static

Christoph Böhmwalder <christoph.boehmwalder@xxxxxxxxxx>
drbd: only clone bio if we have a backing device

Felix Riemann <felix.riemann@xxxxxx>
net: phy: dp83822: disable MDI crossover status change interrupt

Eric Dumazet <edumazet@xxxxxxxxxx>
net: sched: fix race condition in qdisc_graft()

Yang Yingliang <yangyingliang@xxxxxxxxxx>
net: hns: fix possible memory leak in hnae_ae_register()

Yang Yingliang <yangyingliang@xxxxxxxxxx>
wwan_hwsim: fix possible memory leak in wwan_hwsim_dev_new()

Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@xxxxxxx>
sfc: include vport_id in filter spec hash and equal()

Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx>
io_uring/msg_ring: Fix NULL pointer dereference in io_msg_send_fd()

Paul Blakey <paulb@xxxxxxxxxx>
net: Fix return value of qdisc ingress handling on success

Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
net: sched: sfb: fix null pointer access issue when sfb_init() fails

Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
net: sched: delete duplicate cleanup of backlog and qlen

Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
net: sched: cake: fix null pointer access issue when cake_init() fails

Sagi Grimberg <sagi@xxxxxxxxxxx>
nvmet: fix workqueue MEM_RECLAIM flushing dependency

Serge Semin <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx>
nvme-hwmon: kmalloc the NVME SMART log buffer

Christoph Hellwig <hch@xxxxxx>
nvme-hwmon: consistently ignore errors from nvme_hwmon_init

Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
netfilter: nf_tables: relax NFTA_SET_ELEM_KEY_END set flags requirements

Guillaume Nault <gnault@xxxxxxxxxx>
netfilter: rpfilter/fib: Set ->flowic_uid correctly for user namespaces.

Phil Sutter <phil@xxxxxx>
netfilter: rpfilter/fib: Populate flowic_l3mdev field

Brett Creeley <brett@xxxxxxxxxxx>
ionic: catch NULL pointer issue on reconfig

Eric Dumazet <edumazet@xxxxxxxxxx>
net: hsr: avoid possible NULL deref in skb_clone()

Vikas Gupta <vikas.gupta@xxxxxxxxxxxx>
bnxt_en: fix memory leak in bnxt_nvm_test()

Guenter Roeck <linux@xxxxxxxxxxxx>
drm/amd/display: Increase frame size limit for display_mode_vba_util_32.o

Genjian Zhang <zhanggenjian@xxxxxxxxxx>
dm: remove unnecessary assignment statement in alloc_dev()

Zhang Xiaoxu <zhangxiaoxu5@xxxxxxxxxx>
cifs: Fix memory leak when build ntlmssp negotiate blob failed

Zhang Xiaoxu <zhangxiaoxu5@xxxxxxxxxx>
cifs: Fix xid leak in cifs_ses_add_channel()

Zhang Xiaoxu <zhangxiaoxu5@xxxxxxxxxx>
cifs: Fix xid leak in cifs_flock()

Zhang Xiaoxu <zhangxiaoxu5@xxxxxxxxxx>
cifs: Fix xid leak in cifs_copy_file_range()

Zhang Xiaoxu <zhangxiaoxu5@xxxxxxxxxx>
cifs: Fix xid leak in cifs_create()

Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
ip6mr: fix UAF issue in ip6mr_sk_done() when addrconf_init_net() failed

Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>
udp: Update reuse->has_conns under reuseport_lock.

Rafael Mendonca <rafaelmendsr@xxxxxxxxx>
scsi: lpfc: Fix memory leak in lpfc_create_port()

Yang Yingliang <yangyingliang@xxxxxxxxxx>
net: ethernet: mtk_eth_wed: add missing of_node_put()

Yang Yingliang <yangyingliang@xxxxxxxxxx>
net: ethernet: mtk_eth_wed: add missing put_device() in mtk_wed_add_hw()

Yang Yingliang <yangyingliang@xxxxxxxxxx>
net: ethernet: mtk_eth_soc: fix possible memory leak in mtk_probe()

Jens Axboe <axboe@xxxxxxxxx>
io_uring/rw: remove leftover debug statement

Yu Kuai <yukuai3@xxxxxxxxxx>
blk-mq: fix null pointer dereference in blk_mq_clear_rq_mapping()

Gao Xiang <xiang@xxxxxxxxxx>
erofs: shouldn't churn the mapping page for duplicated copies

Eric Dumazet <edumazet@xxxxxxxxxx>
skmsg: pass gfp argument to alloc_sk_msg()

Shenwei Wang <shenwei.wang@xxxxxxx>
net: stmmac: Enable mac_managed_pm phylink config

Shenwei Wang <shenwei.wang@xxxxxxx>
net: phylink: add mac_managed_pm in phylink_config structure

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
net/smc: Fix an error code in smc_lgr_create()

Harini Katakam <harini.katakam@xxxxxxx>
net: phy: dp83867: Extend RX strap quirk for SGMII mode

Xiaobo Liu <cppcoffee@xxxxxxxxx>
net/atm: fix proc_mpc_write incorrect return value

Jonathan Cooper <jonathan.s.cooper@xxxxxxx>
sfc: Change VF mac via PF as first preference if available.

José Expósito <jose.exposito89@xxxxxxxxx>
HID: magicmouse: Do not set BTN_MOUSE on double report

Jakub Kicinski <kuba@xxxxxxxxxx>
tls: strp: make sure the TCP skbs do not have overlapping data

Jan Sokolowski <jan.sokolowski@xxxxxxxxx>
i40e: Fix DMA mappings leak

Christian Marangi <ansuelsmth@xxxxxxxxx>
net: dsa: qca8k: fix ethtool autocast mib for big-endian systems

Christian Marangi <ansuelsmth@xxxxxxxxx>
net: dsa: qca8k: fix inband mgmt for big-endian systems

Alexander Potapenko <glider@xxxxxxxxxx>
tipc: fix an information leak in tipc_topsrv_kern_subscr

Mark Tomlinson <mark.tomlinson@xxxxxxxxxxxxxxxxxxx>
tipc: Fix recognition of trial period

Tony Luck <tony.luck@xxxxxxxxx>
ACPI: extlog: Handle multiple records

Maxime Ripard <maxime@xxxxxxxxxx>
drm/vc4: hdmi: Enforce the minimum rate at runtime_resume

Maxime Ripard <maxime@xxxxxxxxxx>
drm/vc4: Add module dependency on hdmi-codec

Filipe Manana <fdmanana@xxxxxxxx>
btrfs: fix processing of delayed tree block refs during backref walking

Filipe Manana <fdmanana@xxxxxxxx>
btrfs: fix processing of delayed data refs during backref walking

Mikulas Patocka <mpatocka@xxxxxxxxxx>
dm bufio: use the acquire memory barrier when testing for B_READING

Mario Limonciello <mario.limonciello@xxxxxxx>
platform/x86/amd: pmc: Read SMU version during suspend on Cezanne systems

Zhang Rui <rui.zhang@xxxxxxxxx>
x86/topology: Fix duplicated core ID within a package

Zhang Rui <rui.zhang@xxxxxxxxx>
x86/topology: Fix multiple packages shown on a single-package system

Nathan Chancellor <nathan@xxxxxxxxxx>
x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB

Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
media: venus: Fix NV12 decoder buffer discovery on HFI_VERSION_1XX

Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
media: venus: dec: Handle the case where find_format fails

Sean Young <sean@xxxxxxxx>
media: mceusb: set timeout to at least timeout provided

Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>
media: ipu3-imgu: Fix NULL pointer dereference in active selection access

Eric Ren <renzhengeek@xxxxxxxxx>
KVM: arm64: vgic: Fix exit condition in scan_its_table()

Alexander Graf <graf@xxxxxxxxxx>
KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTER

Alexander Graf <graf@xxxxxxxxxx>
KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()

Alexander Graf <graf@xxxxxxxxxx>
kvm: Add support for arch compat vm ioctls

Rik van Riel <riel@xxxxxxxxxxx>
mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages

Alex Deucher <alexander.deucher@xxxxxxx>
drm/amdgpu: fix sdma doorbell init ordering on APUs

Fabien Parent <fabien.parent@xxxxxxxxxx>
cpufreq: qcom: fix memory leak in error path

Babu Moger <babu.moger@xxxxxxx>
x86/resctrl: Fix min_cbm_bits for AMD

Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS

Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
ata: ahci-imx: Fix MODULE_ALIAS

Zhang Rui <rui.zhang@xxxxxxxxx>
hwmon/coretemp: Handle large core ID value

Borislav Petkov <bp@xxxxxxx>
x86/microcode/AMD: Apply the patch early on every logical thread

Jon Hunter <jonathanh@xxxxxxxxxx>
cpufreq: tegra194: Fix module loading

Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter

Fabien Parent <fabien.parent@xxxxxxxxxx>
cpufreq: qcom: fix writes in read-only memory region

GONG, Ruiqi <gongruiqi1@xxxxxxxxxx>
selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()

Steve French <stfrench@xxxxxxxxxxxxx>
smb3: interface count displayed incorrectly

Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx>
ocfs2: fix BUG when iput after ocfs2_mknod fails

Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx>
ocfs2: clear dinode links count in case of error

Thomas Zimmermann <tzimmermann@xxxxxxx>
video/aperture: Call sysfb_disable() before removing PCI devices


-------------

Diffstat:

Makefile | 4 +-
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 +-
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/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/amd/display/dc/dml/Makefile | 2 +-
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-bufio.c | 13 ++-
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/dsa/qca/qca8k-8xxx.c | 83 +++++++++-----
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 11 +-
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 | 4 +-
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/platform/x86/amd/pmc.c | 7 ++
drivers/scsi/lpfc/lpfc_init.c | 7 +-
drivers/staging/media/ipu3/ipu3-v4l2.c | 31 +++---
drivers/video/aperture.c | 11 ++
fs/btrfs/backref.c | 46 +++++---
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/erofs/zdata.c | 8 +-
fs/erofs/zdata.h | 6 +-
fs/ext4/fast_commit.c | 122 ++++++++++++++-------
fs/ext4/fast_commit.h | 3 +
fs/ocfs2/namei.c | 23 ++--
fs/proc/task_mmu.c | 2 +-
include/linux/dsa/tag_qca.h | 8 +-
include/linux/kvm_host.h | 2 +
include/linux/phylink.h | 2 +
include/net/sch_generic.h | 1 -
include/net/sock_reuseport.h | 11 +-
io_uring/io_uring.h | 10 +-
io_uring/msg_ring.c | 3 +
io_uring/rw.c | 2 -
mm/hugetlb.c | 2 +-
net/atm/mpoa_proc.c | 3 +-
net/core/dev.c | 4 +
net/core/skmsg.c | 8 +-
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 +-
net/tls/tls_strp.c | 32 +++++-
security/selinux/ss/services.c | 5 +-
security/selinux/ss/sidtab.c | 4 +-
security/selinux/ss/sidtab.h | 2 +-
tools/verification/dot2/dot2c.py | 2 +-
virt/kvm/kvm_main.c | 11 ++
128 files changed, 888 insertions(+), 441 deletions(-)