merge-upstream/v6.12.92 from branch/tag: upstream/v6.12.92 into branch: main-R129-cos-6.12

Changelog:
-------------------------------------------------------------

Abdun Nihaal (1):
      net: wwan: iosm: fix potential memory leaks in ipc_imem_init()

Abdurrahman Hussain (10):
      hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX
      hwmon: (pmbus/adm1266) seed timestamp from the real-time clock
      hwmon: (pmbus/adm1266) reject implausible blackbox record_count
      hwmon: (pmbus/adm1266) include PEC byte in pmbus_block_xfer read buffer
      hwmon: (pmbus/adm1266) bounce blackbox records through a protocol-sized buffer
      hwmon: (pmbus/adm1266) cap PDIO scan in get_multiple at ADM1266_PDIO_NR
      hwmon: (pmbus/adm1266) don't clobber GPIO bits before PDIO read in get_multiple
      hwmon: (pmbus/adm1266) register the gpio_chip after pmbus_do_probe()
      hwmon: (pmbus/adm1266) register the nvmem device after pmbus_do_probe()
      hwmon: (pmbus/adm1266) reject short block-read responses in the GPIO accessors

Aditya Garg (1):
      net: mana: validate rx_req_idx to prevent out-of-bounds array access

Alan Liu (1):
      drm/amdgpu/vpe: Force collaborate sync after TRAP

Alessio Belle (1):
      drm/imagination: Synchronize interrupts before suspending the GPU

Andreas Haarmann-Thiemann (1):
      net: ethernet: cortina: Drop half-assembled SKB

Andy Shevchenko (1):
      gpiolib: cdev: use !mem_is_zero() instead of memchr_inv(s, 0, n)

Ankit Nautiyal (1):
      drm/i915/dp: Fix readback for target_rr in Adaptive Sync SDP

Anuj Gupta (1):
      block: modify bio_integrity_map_user to accept iov_iter as argument

Ard Biesheuvel (1):
      efi: Allocate runtime workqueue before ACPI init

Asim Viladi Oglu Manizada (1):
      smb: client: reject userspace cifs.spnego descriptions

Bart Van Assche (1):
      ice: fix locking in ice_dcb_rebuild()

Bartosz Golaszewski (2):
      device property: set fwnode->secondary to NULL in fwnode_init()
      gpio: cdev: check if uAPI v2 config attributes are correctly zeroed

Biju Das (1):
      pinctrl: renesas: rzg2l: Fix incorrect PUPD register offset for high pins during suspend/resume

Boris Burkov (1):
      btrfs: fix squota accounting during enable generation

Caleb Sander Mateos (1):
      block: drop direction param from bio_integrity_copy_user()

Casey Chen (1):
      block: recompute nr_integrity_segments in blk_insert_cloned_request

ChenXiaoSong (1):
      smb/server: promote S_DEL_ON_CLS to S_DEL_PENDING when close

Chenguang Zhao (1):
      ethtool: fix ethnl_bitmap32_not_zero() bit interval semantics

Chuck Lever (2):
      NFSD: Fix infinite loop in layout state revocation
      tls: Preserve sk_err across recvmsg() when data has been copied

Cássio Gabriel (1):
      ALSA: ua101: Reject too-short USB descriptors

DaeMyung Kang (1):
      ksmbd: close durable scavenger races against m_fp_list lookups

Daniel Golle (2):
      net: dsa: mt7530: fix FDB entries not aging out with short timeout
      net: dsa: mt7530: preserve VLAN tags on trapped link-local frames

David Carlier (3):
      Bluetooth: ISO: drop ISO_END frames received without prior ISO_START
      block: don't overwrite bip_vcnt in bio_integrity_copy_user()
      tracing: Avoid NULL return from hist_field_name() on truncation

David Gow (2):
      kunit: config: Enable KUNIT_DEBUGFS by default
      kunit: config: KUNIT_DEBUGFS should depend on DEBUG_FS

David Howells (9):
      netfs: Fix overrun check in netfs_extract_user_iter()
      netfs: Fix netfs_invalidate_folio() to clear dirty bit if all changes gone
      netfs: Defer the emission of trace_netfs_folio()
      netfs: Fix streaming write being overwritten
      netfs: Fix potential deadlock in write-through mode
      netfs: Fix write streaming disablement if fd open O_RDWR
      netfs: Fix early put of sink folio in netfs_read_gaps()
      netfs: Fix partial invalidation of streaming-write folio
      netfs: Fix folio->private handling in netfs_perform_write()

Dawei Feng (1):
      qed: fix double free in qed_cxt_tables_alloc()

Deepanshu Kartikey (1):
      drm/virtio: use uninterruptible resv lock for plane updates

Dmitry Baryshkov (2):
      drm/msm/dsi: don't dump registers past the mapped region
      drm/msm/snapshot: fix dumping of the unaligned regions

Erni Sri Satya Vennela (1):
      net: mana: Fix TOCTOU double-fetch of hwc_msg_id from DMA buffer

Ethan Nelson-Moore (1):
      net: ethernet: cs89x0: remove stale CONFIG_MACH_MX31ADS reference

Felix Gu (1):
      spi: mtk-snfi: Fix resource leak in mtk_snand_read_page_cache()

Feng Yang (1):
      tracing: Fix the bug where bpf_get_stackid returns -EFAULT on the ARM64

Ferry Meng (1):
      ksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow

Filipe Manana (1):
      btrfs: tracepoints: fix sleep while in atomic context in btrfs_sync_file()

Florian Westphal (1):
      netfilter: x_tables: unregister the templates first

Gabor Juhos (1):
      phy: marvell: mvebu-a3700-utmi: fix incorrect USB2_PHY_CTRL register access

Gang Yan (1):
      mptcp: sync the msk->sndbuf at accept() time

Greg Kroah-Hartman (2):
      sysfs: don't remove existing directory on update failure
      Linux 6.12.92

Grzegorz Nitka (2):
      ice: restore PTP Rx timestamp config after ethtool set-channels
      ice: ptp: serialize E825 PHY timer start with PTP lock

Guangshuo Li (1):
      RDMA/rtrs: Fix use-after-free in path file creation cleanup

Guenter Roeck (2):
      hwmon: (pmbus/core) Protect regulator operations with mutex
      ARM: integrator: Fix early initialization

Guo Ren (Alibaba DAMO Academy) (1):
      riscv: mm: Fixup no5lvl failure when vaddr is invalid

Guopeng Zhang (1):
      cgroup/cpuset: Reset DL migration state on can_attach() failure

Gustavo Sousa (1):
      drm/xe/hdcp: Add NULL check for media_gt in intel_hdcp_gsc_check_status()

Haoze Xie (1):
      netfilter: nf_queue: hold bridge skb->dev while queued

Harry Wentland (3):
      drm/amd/display: Fix integer overflow in bios_get_image()
      drm/amd/display: Validate GPIO pin LUT table size before iterating
      drm/amd/display: Validate payload length and link_index in dc_process_dmub_aux_transfer_async

Heechan Kang (1):
      io_uring/waitid: clear waitid info before copying it to userspace

Henrique Carvalho (1):
      smb: client: protect tc_count increment in smb2_find_smb_sess_tcon_unlocked()

Huacai Chen (2):
      sched/deadline: Fix dl_server_stopped()
      LoongArch: Remove unused code to avoid build warning

Ian Rogers (1):
      perf parse-events: Expose/rename config_term_name

Ido Schimmel (1):
      bridge: mcast: Fix a possible use-after-free when removing a bridge port

Ilya Dryomov (1):
      rbd: eliminate a race in lock_dwork draining on unmap

Jakub Kicinski (2):
      net: tls: fix off-by-one in sg_chain entry count for wrapped sk_msg ring
      net: tls: prevent chain-after-chain in plain text SG

Jann Horn (2):
      Bluetooth: bnep: Fix UAF read of dev->name
      af_unix: Fix UAF read of tail->len in unix_stream_data_wait()

Jens Axboe (2):
      io_uring/net: punt IORING_OP_BIND async if it needs file create
      block: make bio_integrity_map_user() static inline

Jeremy Erazo (1):
      smb: client: use data_len for SMB2 READ encrypted folioq copy

Jeremy Laratro (1):
      ksmbd: fix null pointer dereference in compare_guid_key()

Jeroen Massar (1):
      net/mlx5: Do not restore destination-less TC rules

Jiajia Liu (1):
      Bluetooth: btmtk: fix urb->setup_packet leak in error paths

Jianbo Liu (2):
      net/mlx5e: Trigger neighbor resolution for unresolved destinations
      net/mlx5e: Use ip6_dst_lookup instead of ipv6_dst_lookup_flow for MAC init

Jianpeng Chang (1):
      kprobes: skip non-symbol addresses in kprobe_add_ksym_blacklist()

Jiayuan Chen (1):
      irq_work: Fix use-after-free in irq_work_single() on PREEMPT_RT

Jiexun Wang (1):
      Bluetooth: serialize accept_q access

Jiri Olsa (1):
      x86/fgraph: Fix return_to_handler regs.rsp value

Johan Hovold (4):
      spi: qup: fix error pointer deref after DMA setup failure
      spi: ep93xx: fix error pointer deref after DMA setup failure
      spi: sprd: fix error pointer deref after DMA setup failure
      spi: ti-qspi: fix use-after-free after DMA setup failure

Johannes Berg (1):
      wifi: mac80211: fix MLE defragmentation

Johannes Thumshirn (1):
      zonefs: handle integer overflow in zonefs_fname_to_fno

John Walker (1):
      wifi: cfg80211: advance loop vars in cfg80211_merge_profile()

Jonas Jelonek (1):
      net: pse-pd: fix sign on -ENOENT check in of_load_pse_pis()

Juergen Gross (1):
      x86/xen: Fix xen_e820_swap_entry_with_ram()

Julian Braha (1):
      powerpc: fix dead default for GUEST_STATE_BUFFER_TEST

Julien Chauveau (1):
      drm/bridge: it66121: acquire reset GPIO in probe

Junyi Liu (1):
      ksmbd: validate SID in parent security descriptor during ACL inheritance

Justin Iurman (2):
      ipv6: ioam: refresh hdr pointer before ioam6_event()
      ipv6: ioam: add NULL check for idev in ipv6_hop_ioam()

Kang Yang (1):
      wifi: ath10k: skip WMI and beacon transmission when device is wedged

Keith Busch (3):
      blk-integrity: remove seed for user mapped buffers
      blk-integrity: use simpler alignment check
      blk-integrity: enable p2p source and destination

Konstantin Komarov (1):
      fs/ntfs3: handle attr_set_size() errors when truncating files

Kuniyuki Iwashima (3):
      af_unix: Give up GC if MSG_PEEK intervened.
      tcp: Fix imbalanced icsk_accept_queue count.
      tcp: Fix out-of-bounds access for twsk in tcp_ao_established_key().

Kyle Farnung (1):
      wifi: ath11k: clear shared SRNG pointer state on restart

Linus Torvalds (1):
      security/keys: fix missed RCU read section on lookup

Linus Walleij (2):
      net: ethernet: cortina: Make RX SKB per-port
      net: ethernet: cortina: Carry over frag counter

Lu Baolu (1):
      iommu/vt-d: Draining PRQ in sva unbind path when FPD bit set

Luiz Capitulino (1):
      selftests/mm: run_vmtests.sh: fix destructive tests invocation

Lukas Bulwahn (2):
      arm64: Kconfig: Remove selecting replaced HAVE_FUNCTION_GRAPH_RETVAL
      HID: quirks: really enable the intended work around for appledisplay

Luxiao Xu (1):
      batman-adv: fix tp_meter counter underflow during shutdown

Marcin Szycik (2):
      ice: fix setting promisc mode while adding VID filter
      ice: fix setting RSS VSI hash for E830

Marek Vasut (2):
      ARM: dts: renesas: genmai: Drop superfluous cells
      ARM: dts: renesas: rskrza1: Drop superfluous cells

Martin Kaiser (1):
      test_kprobes: clear kprobes between test runs

Masami Hiramatsu (Google) (1):
      tracing: Do not call map->ops->elt_free() if elt_alloc() fails

Matthew Leach (1):
      wifi: ath11k: fix peer resolution on rx path when peer_id=0

Matthew Wilcox (Oracle) (2):
      netfs: Fix a few minor bugs in netfs_page_mkwrite()
      netfs: Remove unnecessary references to pages

Matthieu Baerts (NGI0) (3):
      mptcp: pm: ADD_ADDR rtx: allow ID 0
      mptcp: pm: ADD_ADDR rtx: always decrease sk refcount
      mptcp: pm: ADD_ADDR rtx: free sk if last

Matthieu Buffet (1):
      landlock: Fix TCP handling of short AF_UNSPEC addresses

Maulik Shah (1):
      pinctrl: qcom: Fix wakeirq map by removing disconnected irqs for sm8150

Michael Bommarito (12):
      smb: client: require net admin for CIFS SWN netlink
      Bluetooth: L2CAP: ecred_reconfigure: send packed pdu, not stack pointer
      Bluetooth: MGMT: validate Add Extended Advertising Data length
      net: ifb: report ethtool stats over num_tx_queues
      l2tp: use list_del_rcu in l2tp_session_unhash
      ipv4: raw: reject IP_HDRINCL packets with ihl < 5
      ixgbevf: fix use-after-free in VEPA multicast source pruning
      wifi: mac80211: consume only present negotiated TTLM maps
      KVM: arm64: vgic-its: Reject restored DTE with out-of-range num_eventid_bits
      KVM: arm64: vgic: Free private_irqs when init fails after allocation
      scsi: isci: Fix use-after-free in device removal path
      RDMA/siw: Reject MPA FPDU length underflow before signed receive math

Michal Wajdeczko (1):
      drm/xe/vf: Fix signature of print functions

Mike Christie (1):
      scsi: sd: Fix return code handling in sd_spinup_disk()

Mikko Perttunen (1):
      drm/msm: Fix iommu_map_sgtable() return value check and avoid WARN

Ming Lei (1):
      ublk: reject max_sectors smaller than PAGE_SECTORS in parameter validation

Mingyu Wang (1):
      Bluetooth: hci_uart: fix UAFs and race conditions in close and init paths

Minh Nguyen (1):
      vsock/vmci: fix UAF when peer resets connection during handshake

Mohanram Meenakshisundaram (1):
      drm/xe/pf: Fix CFI failure in debugfs access

Muchun Song (2):
      drivers/base/memory: fix memory block reference leak in poison accounting
      mm/memory_hotplug: fix memory block reference leak on remove

Myeonghun Pak (1):
      net: lan966x: avoid unregistering netdev on register failure

Namjae Jeon (1):
      ksmbd: validate owner of durable handle on reconnect

Nan Li (1):
      netfilter: ipset: stop hash:* range iteration at end

Nicolai Buchwitz (1):
      net: bcmgenet: keep RBUF EEE/PM disabled

Nicolas Escande (2):
      wifi: ath11k: fix error path leaks in some WMI WOW calls
      wifi: ath11k: fix error path leak in ath11k_tm_cmd_wmi_ftm()

Nikhil P. Rao (3):
      pds_core: fix error handling in pdsc_devcmd_wait
      pds_core: fix debugfs_lookup dentry leak and error handling
      pds_core: ensure null-termination for firmware version strings

Niklas Cassel (4):
      ata: libata-scsi: improve readability of ata_scsi_qc_issue()
      ata: libata-scsi: do not use the deferred QC feature for ATA_DEFER_PORT
      ata: libata-scsi: do not use the deferred QC feature on PMPs with CBS
      ata: libata-scsi: do not needlessly defer commands when using PMP with FBS

Oliver White (1):
      platform/surface: aggregator_registry: omit battery & AC nodes on Surface Laptop 7

Osama Abdelkader (3):
      riscv: kvm: return SBI_ERR_FAILURE for pmu_snapshot_set_shmem() when OOM
      drm/bridge: chipone-icn6211: use devm_drm_bridge_add in i2c probe
      drm/bridge: megachips: remove bridge when irq request fails

Pengpeng Hou (1):
      s390/debug: Reject zero-length input before trimming a newline

Peter Zijlstra (3):
      sched/deadline: Less agressive dl_server handling
      sched/deadline: Fix dl_server getting stuck
      sched/deadline: Fix dl_server behaviour

Peter Zijlstra (Intel) (1):
      sched/deadline: Stop dl_server before CPU goes offline

Petr Machata (1):
      net: bridge: Flush multicast groups when snooping is disabled

Pu Lehui (2):
      riscv: fgraph: Select HAVE_FUNCTION_GRAPH_TRACER depends on HAVE_DYNAMIC_FTRACE_WITH_ARGS
      riscv: fgraph: Fix stack layout to match __arch_ftrace_regs argument of ftrace_return_to_handler

Rafael J. Wysocki (4):
      platform/x86: adv_swbutton: Check ACPI_HANDLE() against NULL
      platform/x86: hp_accel: Check ACPI_COMPANION() against NULL
      platform/x86: intel-hid: Check ACPI_HANDLE() against NULL
      platform/x86: intel-vbtn: Check ACPI_HANDLE() against NULL

Ratheesh Kannoth (1):
      octeontx2-af: npc: Fix allmulticast skip logic for LBK and SDP VFs

Richard Fitzgerald (1):
      ASoC: cs35l56: Fix flushing of IRQ work in cs35l56_sdw_remove()

Robertus Diawan Chris (1):
      ALSA: scarlett2: Add missing error check when initialise Autogain Status

Rosen Penev (2):
      irqchip/ath79-cpu: Remove unused function
      net: ag71xx: check error for platform_get_irq

Ruide Cao (1):
      batman-adv: fix fragment reassembly length accounting

Ruijie Li (1):
      batman-adv: clear current gateway during teardown

Sabrina Dubroca (1):
      net: gro: don't merge zcopy skbs

Safa Karakuş (1):
      Bluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del()

Sam Daly (1):
      octeontx2-af: CGX: add bounds check to cgx_speed_mbps index

Samuele Mariotti (1):
      sched_ext: Fix missing warning in scx_set_task_state() default case

Sasha Levin (7):
      Revert "perf cgroup: Update metric leader in evlist__expand_cgroup"
      Revert "perf tool_pmu: Fix aggregation on duration_time"
      Revert "perf python: Add parse_events function"
      Revert "perf tool_pmu: Factor tool events into their own PMU"
      Revert "x86/vdso: Fix output operand size of RDPID"
      Revert "ice: fix double-free of tx_buf skb"
      Revert "ice: Remove jumbo_remove step from TX path"

Sayali Patil (1):
      powerpc/time: Remove redundant preempt_disable|enable() calls from arch_irq_work_raise()

SeongJae Park (1):
      mm/damon/sysfs-schemes: call missing mem_cgroup_iter_break()

Shuhao Fu (2):
      ALSA: hda: cs35l56: Put ACPI device after setting companion
      ALSA: hda: cs35l41: Put ACPI device on missing physical node

Shuicheng Lin (2):
      drm/xe/gsc: Fix double-free of managed BO in error path
      drm/xe/oa: Fix exec_queue leak on width check in stream open

Stefano Garzarella (1):
      vsock/virtio: reset connection on receiving queue overflow

Stephen Smalley (1):
      lsm: hold cred_guard_mutex for lsm_set_self_attr()

Steven Rostedt (1):
      ring-buffer: Fix reporting of missed events in iterator

Sudeep Holla (9):
      firmware: arm_ffa: Check for NULL FF-A ID table while driver registration
      firmware: arm_ffa: Skip free_pages on RX buffer alloc failure
      firmware: arm_ffa: Fix per-vcpu self notifications handling in workqueue
      firmware: arm_ffa: Unregister the FF-A devices when cleaning up the partitions
      firmware: arm_ffa: Remove unnecessary declaration of ffa_partitions_cleanup()
      firmware: arm_ffa: Allow multiple UUIDs per partition to register SRI callback
      firmware: arm_ffa: Unregister bus notifier on teardown for FF-A v1.0
      firmware: arm_ffa: Align RxTx buffer size before mapping
      firmware: arm_ffa: Fix sched-recv callback partition lookup

Sungwoo Kim (1):
      block: bio-integrity: Fix null-ptr-deref in bio_integrity_map_user()

Sven Eckelmann (9):
      batman-adv: mcast: fix use-after-free in orig_node RCU release
      batman-adv: dat: handle forward allocation error
      batman-adv: frag: disallow unicast fragment in fragment
      batman-adv: bla: fix report_work leak on backbone_gw purge
      batman-adv: tp_meter: avoid use of uninit sender vars
      batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown
      batman-adv: tp_meter: fix race condition in send error reporting
      batman-adv: tt: fix negative last_changeset_len
      batman-adv: tt: fix negative tt_buff_len

Sven Schuchmann (1):
      net: phy: DP83TC811: add reading of abilities

Takashi Iwai (3):
      ALSA: pcm: Don't setup bogus iov_iter for silencing
      ALSA: asihpi: Fix potential OOB array access at reading cache
      HID: uclogic: Fix regression of input name assignment

Tejun Heo (1):
      sched_ext: Avoid UAF in scx_root_enable_workfn() init failure path

Tiezhu Yang (1):
      LoongArch: kprobes: Fix handling of fatal unrecoverable recursions

Viacheslav Dubeyko (1):
      netfs: fix VM_BUG_ON_FOLIO() issue in netfs_write_begin() call

Viktor Jägersküpper (1):
      kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning scheme

Viresh Kumar (1):
      firmware: arm_ffa: Refactor addition of partition information into XArray

Vladimir Murzin (1):
      arm64: probes: Handle probes on hinted conditional branch instructions

Vladimir Yakovlev (1):
      spi: spi-dw-dma: fix print error log when wait finish transaction

Wayne Chang (1):
      phy: tegra: xusb: Fix per-pad high-speed termination calibration

Xiang Mei (3):
      bridge: mrp: reject zero test interval to avoid OOM panic
      net/smc: avoid NULL deref of conn->lnk in smc_msg_event tracepoint
      net/smc: reject CHID-0 ACCEPT that matches an empty ism_dev slot

Xingwang Xiang (1):
      bpf, skmsg: fix verdict sk_data_ready racing with ktls rx

Yizhou Zhao (1):
      netfilter: nft_inner: Fix IPv6 inner_thoff desync

Zack McKevitt (1):
      accel/qaic: Add overflow check to remap_pfn_range during mmap

Zhang Cen (1):
      ALSA: seq: Serialize UMP output teardown with event_input

Zhengchuan Liang (1):
      netfilter: ip6t_hbh: reject oversized option lists

Zhihao Cheng (2):
      cifs: Fix busy dentry used after unmounting
      nsfs: fix wrong error code returned for pidns ioctls

Zijing Yin (1):
      phonet/pep: disable BH around forwarded sk_receive_skb()

BUG=b/519062984
TEST=tryjob, validation and K8s e2e
RELEASE_NOTE=Updated the Linux kernel to v6.12.92.

Change-Id: I2108bfb44f8944550d25d5781641d7338300eb82
Signed-off-by: COS Kernel Merge Bot <cloud-image-merge-automation@prod.google.com>
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/155623
Reviewed-by: Kevin Berry <kpberry@google.com>
Tested-by: Kevin Berry <kpberry@google.com>
Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Miri Amarilio <mirilio@google.com>