Loading
!15056 [openEuler-24.03-LTS][linux-6.6.y sync] Backport 6.6.63-6.6.64 LTS Patches
Merge Pull Request from: @wenzhiwei11 git log --oneline v6.6.63..v6.6.64 | wc -l 676 536+13+127 Conflicts(13): mptcp: fix possible integer overflow in mptcp_reset_tout_timer ext4: pipeline buffer reads in mext_page_mkuptodate() ext4: remove array of buffer_heads from mext_page_mkuptodate() ext4: fix race in buffer_head read fault injection cppc_cpufreq: Use desired perf if feedback ctrs are 0 or unchanged scsi: sg: Enable runtime power management gfs2: Replace gfs2_glock_queue_put with gfs2_glock_put_async gfs2: Fix unlinked inode cleanup gfs2: Remove and replace gfs2_glock_queue_work KVM: arm64: Get rid of userspace_irqchip_in_use KVM: arm64: vgic-its: Add a data length check in vgic_its_save_* KVM: arm64: vgic-its: Clear ITE when DISCARD frees an ITE KVM: arm64: vgic-its: Clear DTE when MAPD unmaps a device Merged(127): i2c: lpi2c: Avoid calling clk_get_rate during transfer s390/pkey: Wipe copies of clear-key structures on failure fs/inode: Prevent dump_mapping() accessing invalid dentry.d_name.name bpf: support non-r10 register spill/fill to/from stack in precision tracking initramfs: avoid filename buffer overrun cachefiles: Fix missing pos updates in cachefiles_ondemand_fd_write_iter() scsi: hisi_sas: Enable all PHYs that are not disabled by user during controller reset powerpc/fadump: Refactor and prepare fadump_cma_init for late init IB/mlx5: Allocate resources just before first QP/SRQ is created scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe selftests/watchdog-test: Fix system accidentally reset after watchdog-test serial: sc16is7xx: fix invalid FIFO access with special register set drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func drm/amd/display: Initialize denominators' default to 1 drm/amd/display: Check null-initialized variables nvme: apple: fix device reference counting platform/x86: x86-android-tablets: Unregister devices in reverse order arm64: probes: Disable kprobes/uprobes on MOPS instructions brd: defer automatic disk creation until module initialization succeeds ext4: avoid remount errors with 'abort' mount option nvme-pci: fix freeing of the HMB descriptor table netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING hfsplus: don't query the device logical block size multiple times EDAC/bluefield: Fix potential integer overflow crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY crypto: hisilicon/qm - disable same error report before resetting EDAC/igen6: Avoid segmentation fault on module unload rcu/kvfree: Fix data-race in __mod_timer / kvfree_call_rcu hwmon: (nct6775-core) Fix overflows seen when writing limit attributes crypto: bcm - add error check in the ahash_hmac_init function drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend() soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get() Revert "cgroup: Fix memory leak caused by missing cgroup_bpf_offline" cgroup/bpf: only cgroup v2 can be attached by bpf programs firmware: arm_scpi: Check the DVFS OPP count returned by the firmware media: atomisp: Add check for rgby_data memory allocation failure drm/vc4: hdmi: Avoid hang with debug registers when suspended wifi: ath12k: Skip Rx TID cleanup for self peer libbpf: Fix output .symtab byte-order during linking octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_common.c octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_ethtool.c octeontx2-pf: handle otx2_mbox_get_rsp errors in cn10k.c drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new() drm: zynqmp_kms: Unplug DRM device before removal bpf, sockmap: Several fixes to bpf_msg_pop_data ALSA: 6fire: Release resources at card release Bluetooth: fix use-after-free in device_for_each_child() erofs: handle NONHEAD !delta[1] lclusters gracefully mfd: intel_soc_pmic_bxtwc: Use IRQ domain for USB Type-C device powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init() powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw() cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost() RDMA/hns: Use dev_* printings in hem code instead of ibdev_* RDMA/hns: Fix cpu stuck caused by printings during reset RDMA/rxe: Fix the qp flush warnings in req scsi: bfa: Fix use-after-free in bfad_im_module_exit() scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb() scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb() RDMA/hns: Fix out-of-order issue of requester when setting FENCE RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg() cpufreq: CPPC: Fix wrong return value in cppc_get_cpu_cost() ocfs2: fix uninitialized value in ocfs2_file_read_iter() RDMA/mlx5: Move events notifier registration to be after device registration clk: clk-apple-nco: Add NULL check in applnco_probe clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCs PCI: Fix reset_method_store() memory leak f2fs: fix to avoid potential deadlock in f2fs_record_stop_reason() f2fs: fix race in concurrent f2fs_stop_gc_thread svcrdma: Address an integer overflow svcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init() net: usb: lan78xx: Fix double free issue with interrupt buffer allocation Bluetooth: MGMT: Fix slab-use-after-free Read in set_powered_sync Bluetooth: MGMT: Fix possible deadlocks tcp: Fix use-after-free of nreq in reqsk_timer_handler(). firmware_loader: Fix possible resource leak in fw_log_firmware_info() xfs: add bounds checking to xlog_recover_process_data ALSA: usb-audio: Fix out of bounds reads when finding clock sources drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_init_hw drm/amd/display: Add NULL check for clk_mgr in dcn32_init_hw drm/amd/display: Check null pointer before try to access it drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func drm/amd/display: Check phantom_stream before it is used drm/amd/display: Add NULL pointer check for kzalloc f2fs: fix null reference error when checking end of zone ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices PCI: Fix use-after-free of slot->bus on hot remove apparmor: test: Fix memory leak for aa_unpack_strdup() wifi: ath12k: fix warning when unbinding wifi: rtlwifi: Drastically reduce the attempts to read efuse in case of failures ksmbd: fix use-after-free in SMB request handling sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK media: wl128x: Fix atomicity violation in fmc_send_cmd() ALSA: pcm: Add sanity NULL check for the default mmap fault handler usb: musb: Fix hardware lockup on first Rx endpoint request usb: dwc3: gadget: Fix looping of queued SG entries f2fs: fix to do sanity check on node blkaddr in truncate_node() NFSD: Prevent a potential integer overflow um: Fix potential integer overflow during physmem setup NFSv4.0: Fix a use-after-free problem in the asynchronous open() rtc: check if __rtc_read_time was successful in rtc_timer_do_work() ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit smb: Initialize cfid->tcon before performing network ops nfs: ignore SB_RDONLY when mounting nfs sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport sunrpc: fix one UAF issue caused by sunrpc kernel tcp socket block, bfq: fix bfqq uaf in bfq_limit_depth() sh: intc: Fix use-after-free bug in register_intc_controller() btrfs: ref-verify: fix use-after-free after invalid ref action media: imx-jpeg: Set video drvdata before register video device media: imx-jpeg: Ensure power suppliers be suspended before detach them media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal() ovl: Filter invalid inodes with missing lookup function ftrace: Fix regression with module command in stack_trace_filter ad7780: fix division by zero in ad7780_write_raw() i3c: master: Fix miss free init_dyn_addr at i3c_master_put_i3c_addrs() nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc() tpm: Lock TPM chip in tpm_pm_suspend() first drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check drm/sti: avoid potential dereference of error pointers NFSD: Prevent a potential integer overflow RDMA/hns: Fix an AEQE overflow error caused by untimely update of eq_db_ci clk: ralink: mtmips: fix clock plan for Ralink SoC RT3883 perf/x86/intel: Hide Topdown metrics events if the feature is not enumerated Link:https://gitee.com/openeuler/kernel/pulls/15056 Reviewed-by:Zhang Peng <zhangpeng362@huawei.com> Signed-off-by:
Zhang Peng <zhangpeng362@huawei.com>