Skip to content

Commit a64e226

Browse files
committed
Merge tag 'v6.18.30' into qclinux.2.0
* refs/heads/52dc660 Linux 6.18.30 ksmbd: validate inherited ACE SID length x86/CPU/AMD: Prevent improper isolation of shared resources in Zen2's op cache rust: pin-init: fix incorrect accessor reference lifetime net: stmmac: Prevent NULL deref when RX memory exhausted net: stmmac: rename STMMAC_GET_ENTRY() -> STMMAC_NEXT_ENTRY() crypto: caam - guard HMAC key hex dumps in hash_digest_key printk: add print_hex_dump_devel() erofs: fix unsigned underflow in z_erofs_lz4_handle_overlap() erofs: tidy up z_erofs_lz4_handle_overlap() hfsplus: fix held lock freed on hfsplus_fill_super() hfsplus: fix uninit-value by validating catalog record size firmware: exynos-acpm: Drop fake 'const' on handle pointer mm, swap: speed up hibernation allocation and writeout crypto: qat - fix firmware loading failure for GEN6 devices crypto: qat - fix indentation of macros in qat_hal.c mmc: core: Optimize time for secure erase/trim for some Kingston eMMCs mmc: core: Add quirk for incorrect manufacturing date mmc: core: Adjust MDT beyond 2025 octeon_ep_vf: add NULL check for napi_build_skb() hwmon: (powerz) Avoid cacheline sharing for DMA buffer dma-mapping: add __dma_from_device_group_begin()/end() fbdev: defio: Disconnect deferred I/O from the lifetime of struct fb_info mm/damon/core: disallow non-power of two min_region_sz on damon_start() bpf: Fix use-after-free in arena_vm_close on fork io_uring/tw: serialize ctx->retry_llist with ->uring_lock io_uring/kbuf: support min length left for incremental buffers LoongArch: Use per-root-bridge PCIH flag to skip mem resource fixup LoongArch: KVM: Use kvm_set_pte() in kvm_flush_pte() LoongArch: KVM: Move unconditional delay into timer clear scenery LoongArch: KVM: Fix HW timer interrupt lost when inject interrupt by software LoongArch: KVM: Fix "unreliable stack" for kvm_exc_entry LoongArch: KVM: Cap KVM_CAP_NR_VCPUS by KVM_CAP_MAX_VCPUS LoongArch: Fix potential ADE in loongson_gpu_fixup_dma_hang() KVM: arm64: Fix pin leak and publication ordering in __pkvm_init_vcpu() KVM: arm64: Fix FEAT_Debugv8p9 to check DebugVer, not PMUVer KVM: arm64: Fix FEAT_SPE_FnE to use PMSIDR_EL1.FnE, not PMSVer KVM: arm64: Fix initialisation order in __pkvm_init_finalise() KVM: arm64: vgic: Fix IIDR revision field extracted from wrong value KVM: arm64: Wake-up from WFI when iqrchip is in userspace f2fs: fix fsck inconsistency caused by FGGC of node block f2fs: fix inline data not being written to disk in writeback path f2fs: refactor f2fs_move_node_folio function f2fs: fix uninitialized kobject put in f2fs_init_sysfs() f2fs: fix node_cnt race between extent node destroy and writeback f2fs: fix incorrect multidevice info in trace_f2fs_map_blocks() f2fs: fix incorrect file address mapping when inline inode is unwritten f2fs: fix fsck inconsistency caused by incorrect nat_entry flag usage f2fs: fix fiemap boundary handling when read extent cache is incomplete f2fs: add READ_ONCE() for i_blocks in f2fs_update_inode() mptcp: pm: ADD_ADDR rtx: return early if no retrans mptcp: pm: ADD_ADDR rtx: resched blocked ADD_ADDR quicker mptcp: pm: ADD_ADDR rtx: free sk if last mptcp: pm: ADD_ADDR rtx: always decrease sk refcount mptcp: pm: ADD_ADDR rtx: fix potential data-race mptcp: pm: ADD_ADDR rtx: allow ID 0 mptcp: pm: kernel: correctly retransmit ADD_ADDR ID 0 mptcp: pm: prio: skip closed subflows mptcp: fix scheduling with atomic in timestamp sockopt mptcp: fix rx timestamp corruption on fastopen mptcp: sockopt: increase seq in mptcp_setsockopt_all_sf mptcp: sockopt: set timestamp flags on subflow socket, not msk mptcp: use MPTCP_RST_EMPTCP for ACK HMAC validation failure mptcp: use MPJoinSynAckHMacFailure for SynAck HMAC failure mptcp: fastclose msk when linger time is 0 selftests: mptcp: pm: restrict 'unknown' check to pm_nl_ctl selftests: mptcp: check output: catch cmd errors sched_ext: idle: Recheck prev_cpu after narrowing allowed mask RDMA/vmw_pvrdma: Fix double free on pvrdma_alloc_ucontext() error path RDMA/rxe: Reject unknown opcodes before ICRC processing RDMA/rxe: Reject non-8-byte ATOMIC_WRITE payloads RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp() RDMA/mlx5: Fix error path fall-through in mlx5_ib_dev_res_srq_init() RDMA/mlx4: Fix resource leak on error in mlx4_ib_create_srq() RDMA/mlx4: Fix mis-use of RCU in mlx4_srq_event() RDMA/mana: Validate rx_hash_key_len RDMA/mana: Remove user triggerable WARN_ON() in mana_ib_create_qp_rss() RDMA/mana: Fix mana_destroy_wq_obj() cleanup in mana_ib_create_qp_rss() RDMA/mana: Fix error unwind in mana_ib_create_qp_rss() RDMA/ionic: Fix typo in format string RDMA/ionic: bound node_desc sysfs read with %.64s perf/x86/intel: Always reprogram ACR events to prevent stale masks powerpc/xive: fix kmemleak caused by incorrect chip_data lookup power: supply: max17042: avoid overflow when determining health PCI/ASPM: Fix pci_clear_and_set_config_dword() usage PCI/AER: Stop ruling out unbound devices as error source PCI/AER: Clear only error bits in PCIe Device Status PCI: Update saved_config_space upon resource assignment mm/damon/sysfs-schemes: protect memcg_path kfree() with damon_sysfs_lock mm/damon/stat: detect and use fresh enabled value KVM: x86: Do IRR scan in __kvm_apic_update_irr even if PIR is empty KVM: x86: check for nEPT/nNPT in slow flush hypercalls smb: client: validate dacloffset before building DACL pointers smb: client: use kzalloc to zero-initialize security descriptor buffer smb/client: fix out-of-bounds read in symlink_data() smb/client: fix out-of-bounds read in smb2_compound_op() scsi: mpt3sas: Limit NVMe request size to 2 MiB s390/debug: Reject zero-length input before trimming a newline s390/debug: Reject zero-length input in debug_input_flush_fn() riscv: kvm: fix vector context allocation leak RDMA/hns: Fix unlocked call to hns_roce_qp_remove() psp: strip variable-length PSP header in psp_dev_rcv() pmdomain: core: Fix detach procedure for virtual devices in genpd openvswitch: vport: fix self-deadlock on release of tunnel ports nvmet: avoid recursive nvmet-wq flush in nvmet_ctrl_free nvmet-tcp: fix race between ICReq handling and queue teardown nvme-apple: drop invalid put of admin queue reference count md/raid10: fix divide-by-zero in setup_geo() with zero far_copies libceph: Fix slab-out-of-bounds access in auth message processing lib/scatterlist: fix temp buffer in extract_user_to_sg() lib/scatterlist: fix length calculations in extract_kvec_to_sg lib/crypto: mpi: Fix integer underflow in mpi_read_raw_from_sgl() iommu/arm-smmu-v3: Add a missing dma_wmb() for hitless STE update iommu/vt-d: Block PASID attachment to nested domain with dirty tracking iommufd: Fix return value of iommufd_fault_fops_write() isofs: validate block number from NFS file handle in isofs_export_iget isofs: validate Rock Ridge CE continuation extent against volume size dm-verity-fec: correctly reject too-small hash devices dm-verity-fec: correctly reject too-small FEC devices eventfs: Hold eventfs_mutex and SRCU when remount walks events dm: fix a buffer overflow in ioctl processing dm: don't report warning when doing deferred remove dm-thin: fix metadata refcount underflow btrfs: fix missing last_unlink_trans update when removing a directory btrfs: fix double free in create_space_info() error path ASoC: qcom: q6apm: remove child devices when apm is removed ASoC: qcom: q6apm-lpass-dai: Fix multiple graph opens ASoC: qcom: q6apm-dai: reset queue ptr on trigger stop ASoC: Intel: bytcr_wm5102: Fix MCLK leak on platform_clock_control error ASoC: fsl_easrc: fix comment typo ASoC: ES8389: convert to devm_clk_get_optional() to get clock ASoC: amd: yc: Add HP OMEN Gaming Laptop 16-ap0xxx product line in quirk table cpuidle: powerpc: avoid double clear when breaking snooze clk: microchip: mpfs-ccc: fix out of bounds access during output registration clk: imx: imx8-acm: fix flags for acm clocks tracing/probes: Limit size of event probe to 3K spi: topcliff-pch: fix use-after-free on unbind spi: topcliff-pch: fix controller deregistration thermal/drivers/sprd: Fix raw temperature clamping in sprd_thm_rawdata_to_temp thermal/drivers/sprd: Fix temperature clamping in sprd_thm_temp_to_rawdata thermal: core: Free thermal zone ID later during removal udf: reject descriptors with oversized CRC length tracefs: Fix default permissions not being applied on initial mount spi: microchip-core-qspi: control built-in cs manually spi: microchip-core-qspi: don't attempt to transmit during emulated read-only dual/quad operations spi: microchip-core-qspi: fix controller deregistration ice: fix double free in ice_sf_eth_activate() error path ibmveth: Disable GSO for packets with small MSS hv_sock: Return -EIO for malformed/short packets hv_sock: Report EOF instead of -EIO for FIN hv_sock: fix ARM64 support hv: Select CONFIG_SYSFB only for CONFIG_HYPERV_VMBUS gpio: of: clear OF_POPULATED on hog nodes in remove path extcon: ptn5150: handle pending IRQ events during system resume cifs: change_conf needs to be called for session setup cifs: abort open_cached_dir if we don't request leases block: only read from sqe on initial invocation of blkdev_uring_cmd() block: add pgmap check to biovec_phys_mergeable pmdomain: mediatek: fix use-after-free in scpsys_get_bus_protection_legacy() arm64/fpsimd: ptrace: zero target's fpsimd_state, not the tracer's af_unix: Reject SIOCATMARK on non-stream sockets hwmon: (corsair-psu) Close HID device on probe errors clk: rk808: fix OF node reference imbalance hwmon: (ltc2992) Fix u32 overflow in power read path hwmon: (ltc2992) Clamp threshold writes to hardware range x86/efi: Fix graceful fault handling after FPU softirq changes parisc: Fix IRQ leak in LASI driver platform/chrome: cros_ec_typec: Init mutex in Thunderbolt registration net: wwan: t7xx: validate port_count against message length in t7xx_port_enum_msg_handler net/rds: handle zerocopy send cleanup before the message is queued netpoll: pass buffer size to egress_dev() to avoid MAC truncation net: libwx: use request_irq for VF misc interrupt ip6_gre: Use cached t->net in ip6erspan_changelink(). net: libwx: fix VF illegal register access pseries/papr-hvpipe: Fix the usage of copy_to_user() pseries/papr-hvpipe: Fix & simplify error handling in papr_hvpipe_init() pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace sound: ua101: fix division by zero at probe perf/x86/intel: Improve validation and configuration of ACR masks mptcp: pm: ADD_ADDR rtx: skip inactive subflows net: rtnetlink: zero ifla_vf_broadcast to avoid stack infoleak in rtnl_fill_vfinfo LoongArch: Fix SYM_SIGFUNC_START definition for 32BIT mm/hugetlb_cma: round up per_node before logging it arm64: signal: Preserve POR_EL0 if poe_context is missing mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show() KVM: arm64: Fix kvm_vcpu_initialized() macro parameter fanotify: fix false positive on permission events staging: vme_user: fix root device leak on init failure spi: s3c64xx: fix NULL-deref on driver unbind spi: zynqmp-gqspi: fix controller deregistration spi: sun6i: fix controller deregistration spi: ti-qspi: fix controller deregistration spi: sun4i: fix controller deregistration spi: syncuacer: fix controller deregistration rust: allow `clippy::collapsible_if` globally rust: allow `clippy::collapsible_match` globally rust: drm: gem: clean up GEM state in init failure case Bluetooth: L2CAP: Fix null-ptr-deref in l2cap_sock_get_sndtimeo_cb() Bluetooth: L2CAP: Fix null-ptr-deref in l2cap_sock_state_change_cb() Bluetooth: L2CAP: Fix null-ptr-deref in l2cap_sock_new_connection_cb() Bluetooth: hci_event: Fix OOB read and infinite loop in hci_le_create_big_complete_evt Bluetooth: btmtk: validate WMT event SKB length before struct access Bluetooth: virtio_bt: validate rx pkt_type header length Bluetooth: virtio_bt: clamp rx length before skb_put LoongArch: KVM: Fix missing EMULATE_FAIL in kvm_emu_mmio_read() selinux: prune /sys/fs/selinux/user selinux: prune /sys/fs/selinux/disable selinux: prune /sys/fs/selinux/checkreqprot selinux: shrink critical section in sel_write_load() selinux: don't reserve xattr slot when we won't fill it selinux: use sk blob accessor in socket permission helpers selinux: fix avdcache auditing xfrm: ah: account for ESN high bits in async callbacks ipv6: xfrm6: release dst on error in xfrm6_rcv_encap() xfrm: defensively unhash xfrm_state lists in __xfrm_state_delete xfrm: provide message size for XFRM_MSG_MAPPING x86/efi: Restore IRQ state in EFI page fault handler powerpc/kdump: fix KASAN sanitization flag for core_$(BITS).o ALSA: seq: Fix UMP group 16 filtering ALSA: core: Serialize deferred fasync state checks ALSA: firewire-tascam: Do not drop unread control events ALSA: hda/realtek: Fix speaker silence after S3 resume on Xiaomi Mi Laptop Pro 15 ALSA: pcm: oss: Fix data race at accessing runtime.oss.trigger ALSA: hda: cs35l56: Propagate ASP TX source control errors usb: typec: tcpm: fix debug accessory mode detection for sink ports usb: ulpi: fix memory leak on ulpi_register() error paths USB: serial: option: add Telit Cinterion LE910Cx compositions USB: omap_udc: DMA: Don't enable burst 4 mode ALSA: usb-audio: Fix UAC3 cluster descriptor size check ALSA: usb-audio: Avoid potential endless loop in convert_chmap_v3() ALSA: usb-audio: midi2: Restart output URBs on resume usb: usblp: fix uninitialized heap leak via LPGETSTATUS ioctl usb: usblp: fix heap leak in IEEE 1284 device ID via short response wifi: brcmfmac: Fix potential use-after-free issue when stopping watchdog task wifi: b43: enforce bounds check on firmware key index in b43_rx() wifi: mac80211: remove station if connection prep fails wifi: ath5k: do not access array OOB wifi: mac80211: use safe list iteration in radar detect work wifi: rsi: fix kthread lifetime race between self-exit and external-stop wifi: mac80211: drop stray 'static' from fast-RX rx_result wifi: b43legacy: enforce bounds check on firmware key index in RX path wifi: mt76: mt7921: fix ROC abort flow interruption in mt7921_roc_work wifi: mt76: mt7921: fix a potential clc buffer length underflow wifi: mt76: mt7925: fix incorrect length field in txpower command wifi: mt76: mt7925: fix AMPDU state handling in mt7925_tx_check_aggr exit: prevent preemption of oopsing TASK_DEAD task net/sched: sch_red: Replace direct dequeue call with peek and qdisc_dequeue_peeked net: stmmac: Disable EEE RX clock stop when VLAN is enabled KVM: SVM: check validity of VMCB controls when returning from SMM net: af_key: zero aligned sockaddr tail in PF_KEY exports smb: client/smbdirect: fix MR registration for coalesced SG lists mptcp: sync the msk->sndbuf at accept() time flow_dissector: do not dissect PPPoE PFC frames ceph: fix num_ops off-by-one when crypto allocation fails KVM: x86: Fix shadow paging use-after-free due to unexpected GFN ksmbd: rewrite stop_sessions() with restartable iteration spi: rockchip: fix controller deregistration wifi: mt76: mt7925: fix incorrect TLV length in CLC command ASoC: SOF: Don't allow pointer operations on unconfigured streams iommufd: Fix a race with concurrent allocation and unmap tracepoint: balance regfunc() on func_add() failure in tracepoint_add_func() ACPI: video: force native backlight on HP OMEN 16 (8A44) ACPI: CPPC: Fix related_cpus inconsistency during CPU hotplug ACPI: video: Add backlight=native quirk for Dell OptiPlex 7770 AIO ACPI: scan: Use acpi_dev_put() in object add error paths fbdev: udlfb: add vm_ops to dlfb_ops_mmap to prevent use-after-free ipmi:si: Return state to normal if message allocation fails ipmi: Check event message buffer response for bad data ipmi: Add limits to event and receive message requests scsi: target: configfs: Bound snprintf() return in tg_pt_gp_members_show() Linux 6.18.29 rxrpc: Also unshare DATA/RESPONSE packets when paged frags are present Linux 6.18.28 xfrm: esp: avoid in-place decrypt on shared skb frags Linux 6.18.27 ipmi:ssif: NULL thread on error ipmi:ssif: Remove unnecessary indention netfilter: reject zero shift in nft_bitwise net: ipv6: fix NOREF dst use in seg6 and rpl lwtunnels mm/slab: return NULL early from kmalloc_nolock() in NMI on UP mm/page_alloc: return NULL early from alloc_frozen_pages_nolock() in NMI on UP vmalloc: fix buffer overflow in vrealloc_node_align() ALSA: aloop: Fix peer runtime UAF during format-change stop ALSA: caiaq: fix usb_dev refcount leak on probe failure drm/amdgpu: fix zero-size GDS range init on RDNA4 ipv6: rpl: reserve mac_len headroom when recompressed SRH grows ALSA: caiaq: Don't abort when no input device is available ALSA: caiaq: Fix potentially leftover ep1_in_urb at error path driver core: Add kernel-doc for DEV_FLAG_COUNT enum value crypto: authencesn - reject short ahash digests during instance creation net: qrtr: ns: Limit the total number of nodes net: qrtr: ns: Limit the maximum number of lookups net: qrtr: ns: Limit the maximum server registration per node iio: frequency: admv1013: fix NULL pointer dereference on str iio: frequency: admv1013: add dev variable media: rc: igorplugusb: heed coherency rules media: rc: ttusbir: respect DMA coherency rules wifi: mt76: mt792x: fix mt7925u USB WFSYS reset handling wifi: mt76: mt792x: describe USB WFSYS reset with a descriptor phy: qcom: m31-eusb2: clear PLL_EN during init phy: qcom: m31-eusb2: Update init sequence to set PHY_ENABLE mei: me: add nova lake point H DID mei: me: use PCI_DEVICE_DATA macro lib: test_hmm: evict device pages on file close to avoid use-after-free arm64: mm: Fix rodata=full block mapping support for realm guests arm64: mm: Simplify check in arch_kfence_init_pool() mm: prevent droppable mappings from being locked seg6: fix seg6 lwtunnel output redirect for L2 reduced encap mode scsi: sd: fix missing put_disk() when device_add(&disk_dev) fails sched_ext: Documentation: Clarify ops.dispatch() role in task lifecycle rxgk: Fix potential integer overflow in length check rtmutex: Use waiter::task instead of current in remove_waiter() ntfs3: fix integer overflow in run_unpack() volume boundary check ntfs3: add buffer boundary checks to run_unpack() NFSv4.1: Apply session size limits on clone path ktest: Fix the month in the name of the failure directory IB/core: Fix zero dmac race in neighbor resolution gtp: disable BH before calling udp_tunnel_xmit_skb() ceph: only d_add() negative dentries when they are unhashed dm mirror: fix integer overflow in create_dirty_log() crypto: nx - Fix packed layout in struct nx842_crypto_header crypto: nx - fix context leak in nx842_crypto_free_ctx crypto: nx - fix bounce buffer leaks in nx842_crypto_{alloc,free}_ctx crypto: atmel-sha204a - Fix uninitialized data access on OTP read error crypto: atmel-sha204a - Fix potential UAF and memory leak in remove path crypto: atmel-sha204a - Fix error codes in OTP reads crypto: atmel-tdes - fix DMA sync direction crypto: ccree - fix a memory leak in cc_mac_digest() crypto: hisilicon - Fix dma_unmap_single() direction crypto: atmel-ecc - Release client on allocation failure crypto: atmel-aes - Fix 3-page memory leak in atmel_aes_buff_cleanup crypto: arm64/aes - Fix 32-bit aes_mac_update() arg treated as 64-bit crypto: acomp - fix wrong pointer stored by acomp_save_req() can: ucan: fix devres lifetime bus: mhi: host: pci_generic: Switch to async power up to avoid boot delays Bluetooth: hci_event: fix potential UAF in SSP passkey handlers apparmor: use target task's context in apparmor_getprocattr() mfd: core: Preserve OF node when ACPI handle is present taskstats: set version in TGID exit notifications tcp: call sk_data_ready() after listener migration wifi: rtl8xxxu: fix potential use of uninitialized value x86/shstk: Prevent deadlock during shstk sigreturn x86/cpu: Disable FRED when PTI is forced on inotify: fix watch count leak when fsnotify_add_inode_mark_locked() fails HID: apple: ensure the keyboard backlight is off if suspending check-uapi: link into shared objects md/raid5: validate payload size before accessing journal metadata md/raid5: fix soft lockup in retry_aligned_read() md/md-llbitmap: raise barrier before state machine transition md/md-llbitmap: skip reading rdevs that are not in_sync amdgpu/jpeg: fix deepsleep register for jpeg 5_0_0 and 5_0_2 mtd: spinand: winbond: Declare the QE bit on W25NxxJW mtd: spi-nor: sst: Fix write enable before AAI sequence ext4: fix missing brelse() in ext4_xattr_inode_dec_ref_all() ext4: fix bounds check in check_xattrs() to prevent out-of-bounds access ring-buffer: Do not double count the reader_page ARM: 9472/1: fix race condition on PG_dcache_clean in __sync_icache_dcache() perf annotate: Use jump__delete when freeing LoongArch jumps KVM: nSVM: Always intercept VMMCALL when L2 is active KVM: nSVM: Raise #UD if unhandled VMMCALL isn't intercepted by L1 KVM: nSVM: Add missing consistency check for nCR3 validity KVM: nSVM: Drop the non-architectural consistency check for NP_ENABLE KVM: nSVM: Add missing consistency check for EFER, CR0, CR4, and CS KVM: nSVM: Clear tracking of L1->L2 NMI and soft IRQ on nested #VMEXIT KVM: nSVM: Clear EVENTINJ fields in vmcb12 on nested #VMEXIT KVM: nSVM: Clear GIF on nested #VMEXIT(INVALID) KVM: nSVM: Triple fault if mapping VMCB12 fails on nested #VMEXIT KVM: nSVM: Refactor writing vmcb12 on nested #VMEXIT as a helper KVM: nSVM: Refactor checking LBRV enablement in vmcb12 into a helper KVM: nSVM: Always inject a #GP if mapping VMCB12 fails on nested VMRUN KVM: SVM: Add missing save/restore handling of LBR MSRs KVM: SVM: Switch svm_copy_lbrs() to a macro KVM: nSVM: Delay setting soft IRQ RIP tracking fields until vCPU run KVM: nSVM: Avoid clearing VMCB_LBR in vmcb12 KVM: nSVM: Use vcpu->arch.cr2 when updating vmcb12 on nested #VMEXIT KVM: nSVM: Delay stuffing L2's current RIP into NextRIP until vCPU run KVM: nSVM: Always use NextRIP as vmcb02's NextRIP after first L2 VMRUN KVM: nSVM: Ensure AVIC is inhibited when restoring a vCPU to guest mode KVM: SVM: Explicitly mark vmcb01 dirty after modifying VMCB intercepts KVM: SVM: Inject #UD for INVLPGA if EFER.SVME=0 KVM: nSVM: Sync interrupt shadow to cached vmcb12 after VMRUN of L2 KVM: nSVM: Sync NextRIP to cached vmcb12 after VMRUN of L2 KVM: nSVM: Mark all of vmcb02 dirty when restoring nested state KVM: x86: Defer non-architectural deliver of exception payload to userspace read LoongArch: KVM: Use CSR_CRMD_PLV in kvm_arch_vcpu_in_kernel() userfaultfd: allow registration of ranges below mmap_min_addr mm/damon/core: use time_in_range_open() for damos quota window start mm/damon/core: validate damos_quota_goal->nid for node_mem_{used,free}_bp mm/damon/stat: fix memory leak on damon_start() failure in damon_stat_start() mm/mempolicy: fix memory leaks in weighted_interleave_auto_store() mm/vmalloc: take vmap_purge_lock in shrinker rtc: ntxec: fix OF node reference imbalance tpm: tpm_tis: stop transmit if retries are exhausted tpm: tpm_tis: add error logging for data transfer tpm: Use kfree_sensitive() to free auth session in tpm_dev_release() tpm: Fix auth session leak in tpm2_get_random() error path tpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public() pwm: imx-tpm: Count the number of enabled channels in probe crypto: talitos - rename first/last to first_desc/last_desc crypto: talitos - fix SEC1 32k ahash request limitation firmware: google: framebuffer: Do not unregister platform device xfs: fix a resource leak in xfs_alloc_buftarg() xfs: start gc on zonegc_low_space attribute updates crypto: qat - fix IRQ cleanup on 6xxx probe failure arm64: dts: ti: am62-verdin: Enable pullup for eMMC data pins mmc: sdhci-of-dwcmshc: Disable clock before DLL configuration mmc: block: use single block write in retry randomize_kstack: Maintain kstack_offset per task hwmon: (pt5161l) Fix bugs in pt5161l_read_block_data() ASoC: Intel: avs: replace strcmp with sysfs_streq drm/amd: Fix set but not used warnings fs: prepare for adding LSM blob to backing_file hwmon: (isl28022) Fix integer overflow in power calculation on 32-bit power: supply: axp288_charger: Do not cancel work before initializing it LoongArch: Show CPU vulnerabilites correctly tpm: avoid -Wunused-but-set-variable extract-cert: Wrap key_pass with '#ifdef USE_PKCS11_ENGINE' spi: fix resource leaks on device setup failure libceph: Prevent potential null-ptr-deref in ceph_handle_auth_reply() ipv4: icmp: validate reply type before using icmp_pointers RDMA/rxe: Validate pad and ICRC before payload_size() in rxe_rcv tracing/fprobe: Reject registration of a registered fprobe before init slub: fix data loss and overflow in krealloc() drm/arcpgu: fix device node leak net: ks8851: Avoid excess softirq scheduling net: mctp: fix don't require received header reserved bits to be zero netconsole: avoid out-of-bounds access on empty string in trim_newline() net: bridge: use a stable FDB dst snapshot in RCU readers net: ks8851: Reinstate disabling of BHs around IRQ handler net/smc: avoid early lgr access in smc_clc_wait_msg net: txgbe: fix firmware version check net: rds: fix MR cleanup on copy error net: qrtr: ns: Free the node during ctrl_cmd_bye() arm64: dts: marvell: uDPU: add ethernet aliases net: txgbe: fix RTNL assertion warning when remove module tools/accounting: handle truncated taskstats netlink messages EDAC/versalnet: Fix memory leak in remove and probe error paths rxrpc: Fix rxrpc_input_call_event() to only unshare DATA packets rxrpc: Fix re-decryption of RESPONSE packets rxrpc: Fix error handling in rxgk_extract_token() rxrpc: Fix rxkad crypto unalignment handling rxrpc: Fix conn-level packet handling to unshare RESPONSE packets rxrpc: Fix memory leaks in rxkad_verify_response() rxrpc: Fix potential UAF after skb_unshare() failure iio: adc: ad7768-1: remove switch to one-shot mode iio: adc: ad7768-1: fix one-shot mode data acquisition ALSA: pcmtest: Fix resource leaks in module init error paths ALSA: pcmtest: fix reference leak on failed device registration ALSA: hda/realtek - Add mute LED support for HP Victus 15-fa2xxx ALSA: 6fire: Fix input volume change detection ALSA: caiaq: Handle probe errors properly ALSA: caiaq: Fix control_put() result and cache rollback ALSA: core: Fix potential data race at fasync handling io_uring/poll: ensure EPOLL_ONESHOT is propagated for EPOLL_URING_WAKE io_uring/poll: fix signed comparison in io_poll_get_ownership() iio: adc: ti-ads7950: use iio_push_to_buffers_with_ts_unaligned() block: relax pgmap check in bio_add_page for compatible zone device pages io_uring/timeout: check unused sqe fields block: fix zone write plugs refcount handling in disk_zone_wplug_schedule_bio_work() rbd: fix null-ptr-deref when device_add_disk() fails selftests/landlock: Skip stale records in audit_match_record() selftests/landlock: Fix snprintf truncation checks in audit helpers selftests/landlock: Fix format warning for __u64 in net_test selftests/landlock: Drain stale audit records on init landlock: Fix LOG_SUBDOMAINS_OFF inheritance across fork() selftests/mqueue: Fix incorrectly named file sched: Use u64 for bandwidth ratio calculations reset: rzv2h-usb2phy: Keep PHY clock enabled for entire device lifetime remoteproc: xlnx: Only access buffer information if IPI is buffered RDMA/mana_ib: Disable RX steering on RSS QP destroy PCI: cadence: Use cdns_pcie_read_sz() for byte or word read access parisc: Drop ip_fast_csum() inline assembly implementation parisc: _llseek syscall is only available for 32-bit userspace nvme: respect NVME_QUIRK_DISABLE_WRITE_ZEROES when wzsl is set nvme-pci: add NVME_QUIRK_DISABLE_WRITE_ZEROES for Kingston OM3SGP4 mtd: docg3: fix use-after-free in docg3_release() mm/hugetlb: fix early boot crash on parameters without '=' separator mm/damon/core: fix damon_call() vs kdamond_fn() exit race mm/alloc_tag: clear codetag for pages allocated before page_ext initialization mfd: stpmic1: Attempt system shutdown twice in case PMIC is confused io_uring/register: fix ring resizing with mixed/large SQEs/CQEs md/raid10: fix deadlock with check operation and nowait requests KVM: selftests: Fix reserved value WRMSR testcase for multi-feature MSRs jbd2: fix deadlock in jbd2_journal_cancel_revoke() ipmi:ssif: Clean up kthread on errors erofs: fix the out-of-bounds nameoff handling for trailing dirents ALSA: seq_oss: return full count for successful SEQ_FULLSIZE writes ALSA: ctxfi: Add fallback to default RSR for S/PDIF ALSA: aoa: Skip devices with no codecs in i2sbus_resume() ALSA: aoa: i2sbus: fix OF node lifetime handling ALSA: aoa: i2sbus: clear stale prepared state mm/zsmalloc: copy KMSAN metadata in zs_page_migrate() ext2: reject inodes with zero i_nlink and valid mode in ext2_iget() net: qrtr: ns: Fix use-after-free in driver remove() media: i2c: imx219: Check return value of devm_gpiod_get_optional() in imx219_probe() lib/ts_kmp: fix integer overflow in pattern length calculation PCI: epf-mhi: Return 0, not remaining timeout, when eDMA ops complete Revert "ALSA: usb: Increase volume range that triggers a warning" PCI: endpoint: pci-epf-ntb: Remove duplicate resource teardown crypto: atmel-sha204a - Fix OTP sysfs read and error handling media: mtk-jpeg: fix use-after-free in release path due to uncancelled work net: strparser: fix skb_head leak in strp_abort_strp() net: caif: clear client service pointer on teardown ALSA: control: Validate buf_len before strnlen() in snd_ctl_elem_init_enum_names() media: amphion: Fix race between m2m job_abort and device_run PCI: imx6: Skip waiting for L2/L3 Ready on i.MX6SX EDAC/versalnet: Fix device_node leak in mc_probe() hwmon: (powerz) Fix missing usb_kill_urb() on signal interrupt of: unittest: fix use-after-free in testdrv_probe() of: unittest: fix use-after-free in of_unittest_changeset() dt-bindings: display: ti, am65x-dss: Fix AM62L DSS reg and clock constraints crypto: pcrypt - Fix handling of MAY_BACKLOG requests crypto: algif_aead - snapshot IV for async AEAD requests mm: call ->free_folio() directly in folio_unmap_invalidate() spi: ch341: fix memory leaks on probe failures spi: imx: fix use-after-free on unbind thermal: core: Fix thermal zone governor cleanup issues um: drivers: call kernel_strrchr() explicitly in cow_user.c vfio/cdx: Fix NULL pointer dereference in interrupt trigger path vfio/cdx: Serialize VFIO_DEVICE_SET_IRQS with a per-device mutex vfio/virtio: Convert list_lock from spinlock to mutex vfio: selftests: Fix VLA initialisation in vfio_pci_irq_set() wifi: mwifiex: fix use-after-free in mwifiex_adapter_cleanup() wifi: rtw88: check for PCI upstream bridge existence zram: do not forget to endio for partial discard requests Input: edt-ft5x06 - fix use-after-free in debugfs teardown ocfs2: split transactions in dio completion to avoid credit exhaustion mm: migrate: requeue destination folio on deferred split queue arm64/mm: Enable batched TLB flush in unmap_hotplug_range() firmware: google: framebuffer: Do not mark framebuffer as busy fs: afs: revert mmap_prepare() change kbuild: rust: allow `clippy::uninlined_format_args` rust: dma: remove DMA_ATTR_NO_KERNEL_MAPPING from public attrs drm/nouveau: fix nvkm_device leak on aperture removal failure device property: Make modifications of fwnode "flags" thread safe driver core: Don't let a device probe until it's ready ibmasm: fix heap over-read in ibmasm_send_i2o_message() ibmasm: fix OOB reads in command_file_write due to missing size checks misc: ibmasm: fix OOB MMIO read in ibmasm_handle_mouse_interrupt() greybus: gb-beagleplay: fix sleep in atomic context in hdlc_tx_frames() greybus: gb-beagleplay: bound bootloader receive buffering leds: qcom-lpg: Check for array overflow when selecting the high resolution drm/nouveau: fix u32 overflow in pushbuf reloc bounds check LoongArch: Add spectre boundry for syscall dispatch table ALSA: usb-audio: Evaluate packsize caps at the right place usb: chipidea: core: allow ci_irq_handler() handle both ID and VBUS change usb: chipidea: otg: not wait vbus drop if use role_switch usb: xhci: Make usb_host_endpoint.hcpriv survive endpoint_disable() ALSA: usb-audio: Fix Audio Advantage Micro II SPDIF switch ALSA: usb-audio: Avoid false E-MU sample-rate notifications ALSA: usb-audio: stop parsing UAC2 rates at MAX_NR_RATES Linux 6.18.26 Buffer overflow in drivers/xen/sys-hypervisor.c xen/privcmd: fix double free via VMA splitting Signed-off-by: Sivasri Kumar, Vanka <svanka@qti.qualcomm.com>
2 parents e1d76de + 52dc660 commit a64e226

526 files changed

Lines changed: 5727 additions & 3008 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml

Lines changed: 52 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,34 +36,50 @@ properties:
3636
reg:
3737
description:
3838
Addresses to each DSS memory region described in the SoC's TRM.
39-
items:
40-
- description: common DSS register area
41-
- description: VIDL1 light video plane
42-
- description: VID video plane
43-
- description: OVR1 overlay manager for vp1
44-
- description: OVR2 overlay manager for vp2
45-
- description: VP1 video port 1
46-
- description: VP2 video port 2
47-
- description: common1 DSS register area
39+
oneOf:
40+
- items:
41+
- description: common DSS register area
42+
- description: VIDL1 light video plane
43+
- description: VID video plane
44+
- description: OVR1 overlay manager for vp1
45+
- description: OVR2 overlay manager for vp2
46+
- description: VP1 video port 1
47+
- description: VP2 video port 2
48+
- description: common1 DSS register area
49+
- items:
50+
- description: common DSS register area
51+
- description: VIDL1 light video plane
52+
- description: OVR1 overlay manager for vp1
53+
- description: VP1 video port 1
54+
- description: common1 DSS register area
4855

4956
reg-names:
50-
items:
51-
- const: common
52-
- const: vidl1
53-
- const: vid
54-
- const: ovr1
55-
- const: ovr2
56-
- const: vp1
57-
- const: vp2
58-
- const: common1
57+
oneOf:
58+
- items:
59+
- const: common
60+
- const: vidl1
61+
- const: vid
62+
- const: ovr1
63+
- const: ovr2
64+
- const: vp1
65+
- const: vp2
66+
- const: common1
67+
- items:
68+
- const: common
69+
- const: vidl1
70+
- const: ovr1
71+
- const: vp1
72+
- const: common1
5973

6074
clocks:
75+
minItems: 2
6176
items:
6277
- description: fck DSS functional clock
6378
- description: vp1 Video Port 1 pixel clock
6479
- description: vp2 Video Port 2 pixel clock
6580

6681
clock-names:
82+
minItems: 2
6783
items:
6884
- const: fck
6985
- const: vp1
@@ -180,6 +196,24 @@ allOf:
180196
ports:
181197
properties:
182198
port@1: false
199+
reg:
200+
maxItems: 5
201+
reg-names:
202+
maxItems: 5
203+
clocks:
204+
maxItems: 2
205+
clock-names:
206+
maxItems: 2
207+
else:
208+
properties:
209+
reg:
210+
minItems: 8
211+
reg-names:
212+
minItems: 8
213+
clocks:
214+
minItems: 3
215+
clock-names:
216+
minItems: 3
183217

184218
- if:
185219
properties:

Documentation/scheduler/sched-ext.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,15 @@ by a sched_ext scheduler:
321321
ops.dispatch(); /* Task is moved to a local DSQ */
322322
}
323323
ops.running(); /* Task starts running on its assigned CPU */
324-
while (task->scx.slice > 0 && task is runnable)
325-
ops.tick(); /* Called every 1/HZ seconds */
326-
ops.stopping(); /* Task stops running (time slice expires or wait) */
327324
328-
/* Task's CPU becomes available */
325+
while task_is_runnable(p) {
326+
while (task->scx.slice > 0 && task_is_runnable(p))
327+
ops.tick(); /* Called every 1/HZ seconds */
328+
329+
ops.dispatch(); /* task->scx.slice can be refilled */
330+
}
329331
330-
ops.dispatch(); /* task->scx.slice can be refilled */
332+
ops.stopping(); /* Task stops running (time slice expires or wait) */
331333
}
332334
333335
ops.quiescent(); /* Task releases its assigned CPU (wait) */

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 6
33
PATCHLEVEL = 18
4-
SUBLEVEL = 25
4+
SUBLEVEL = 30
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

@@ -483,6 +483,8 @@ export rust_common_flags := --edition=2021 \
483483
-Wclippy::as_ptr_cast_mut \
484484
-Wclippy::as_underscore \
485485
-Wclippy::cast_lossless \
486+
-Aclippy::collapsible_if \
487+
-Aclippy::collapsible_match \
486488
-Wclippy::ignored_unit_patterns \
487489
-Wclippy::mut_mut \
488490
-Wclippy::needless_bitwise_bool \
@@ -492,6 +494,7 @@ export rust_common_flags := --edition=2021 \
492494
-Wclippy::ptr_cast_constness \
493495
-Wclippy::ref_as_ptr \
494496
-Wclippy::undocumented_unsafe_blocks \
497+
-Aclippy::uninlined_format_args \
495498
-Wclippy::unnecessary_safety_comment \
496499
-Wclippy::unnecessary_safety_doc \
497500
-Wrustdoc::missing_crate_level_docs \

arch/arm/mm/flush.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,10 @@ void __sync_icache_dcache(pte_t pteval)
304304
else
305305
mapping = NULL;
306306

307-
if (!test_and_set_bit(PG_dcache_clean, &folio->flags.f))
307+
if (!test_bit(PG_dcache_clean, &folio->flags.f)) {
308308
__flush_dcache_folio(mapping, folio);
309+
set_bit(PG_dcache_clean, &folio->flags.f);
310+
}
309311

310312
if (pte_exec(pteval))
311313
__flush_icache_all();

arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
#include "armada-372x.dtsi"
1616

1717
/ {
18+
aliases {
19+
ethernet0 = &eth0;
20+
ethernet1 = &eth1;
21+
};
22+
1823
chosen {
1924
stdout-path = "serial0:115200n8";
2025
};

arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -572,16 +572,16 @@
572572
/* On-module eMMC */
573573
pinctrl_sdhci0: main-mmc0-default-pins {
574574
pinctrl-single,pins = <
575-
AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */
576-
AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */
577-
AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */
578-
AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (AA1) MMC0_DAT1 */
579-
AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (AA3) MMC0_DAT2 */
580-
AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (Y4) MMC0_DAT3 */
581-
AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (AB2) MMC0_DAT4 */
582-
AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (AC1) MMC0_DAT5 */
583-
AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (AD2) MMC0_DAT6 */
584-
AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (AC2) MMC0_DAT7 */
575+
AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */
576+
AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */
577+
AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */
578+
AM62X_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */
579+
AM62X_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */
580+
AM62X_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */
581+
AM62X_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */
582+
AM62X_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */
583+
AM62X_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */
584+
AM62X_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */
585585
>;
586586
};
587587

arch/arm64/crypto/aes-modes.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ AES_FUNC_START(aes_mac_update)
838838
encrypt_block v0, w2, x1, x7, w8
839839
eor v0.16b, v0.16b, v4.16b
840840
cmp w3, wzr
841-
csinv x5, x6, xzr, eq
841+
csinv w5, w6, wzr, eq
842842
cbz w5, .Lmacout
843843
encrypt_block v0, w2, x1, x7, w8
844844
st1 {v0.16b}, [x4] /* return dg */
@@ -852,7 +852,7 @@ AES_FUNC_START(aes_mac_update)
852852
eor v0.16b, v0.16b, v1.16b /* ..and xor with dg */
853853

854854
subs w3, w3, #1
855-
csinv x5, x6, xzr, eq
855+
csinv w5, w6, wzr, eq
856856
cbz w5, .Lmacout
857857

858858
.Lmacenc:

arch/arm64/include/asm/kvm_host.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ static inline bool __vcpu_has_feature(const struct kvm_arch *ka, int feature)
14761476
#define kvm_vcpu_has_feature(k, f) __vcpu_has_feature(&(k)->arch, (f))
14771477
#define vcpu_has_feature(v, f) __vcpu_has_feature(&(v)->kvm->arch, (f))
14781478

1479-
#define kvm_vcpu_initialized(v) vcpu_get_flag(vcpu, VCPU_INITIALIZED)
1479+
#define kvm_vcpu_initialized(v) vcpu_get_flag(v, VCPU_INITIALIZED)
14801480

14811481
int kvm_trng_call(struct kvm_vcpu *vcpu);
14821482
#ifdef CONFIG_KVM

arch/arm64/include/asm/mmu.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,7 @@ void kpti_install_ng_mappings(void);
112112
static inline void kpti_install_ng_mappings(void) {}
113113
#endif
114114

115+
extern bool page_alloc_available;
116+
115117
#endif /* !__ASSEMBLY__ */
116118
#endif

0 commit comments

Comments
 (0)