mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 13:03:48 +00:00
master
100
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
65e4fd942f |
Merge tag 'selinux-pr-20261119' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux
Pull selinux fix from Paul Moore: "A single SELinux fix for a problem where we were not properly handling MAP_SHARED_VALIDATE" * tag 'selinux-pr-20261119' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux: selinux: check MAP_SHARED_VALIDATE mappings as shared |
||
|
|
d3e1fcc930 |
Merge tag 'thermal-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull thermal control fix from Rafael Wysocki: "Fix the Nova Lake-S PCI device ID in the int340x thermal driver (Sankara Tankala)" * tag 'thermal-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: thermal: int340x: processor_thermal: Fix Nova Lake-S PCI device ID |
||
|
|
75099ce682 |
Merge tag 'pm-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull power management and ACPI fixes from Rafael Wysocki:
"These fix two recent regressions related to power management, one in
the ACPI CPPC library (affects the CPPC interface in sysfs and the
intel_pstate driver), and one in the ACPI device PM core code (affects
platforms with shared ACPI power resources assigned to devices
reported as "not present" by firmware), another ACPI CPPC library
issue and two cpufreq issues, one in the core and one in the CPPC
cpufreq driver:
- Avoid initializing power management for absent devices in the core
ACPI PM code to unbreak power management on platforms where an ACPI
shared power resource is assigned to a device reported by the
platform firmware as absent (Rafael Wysocki)
- Drop compliance checks involving nominal performance from the ACPI
CPPC library to unbreak the CPPC sysfs interface and the
intel_pstate driver on some Intel platforms after a recent change
that added those checks (Rafael Wysocki)
- Make the ACPI CPPC library reject EPP registers that are too small
to store all of the possible EPP values (Christian Loehle)
- Make cpufreq_driver_target() skip inactive policies to avoid a NULL
pointer dereference on a frequency table access attempt (Zhongqiu
Han)
- Set the CPPC Enable register in cpu_init() in the CPPC cpufreq
driver to enable CPPC on platforms that wait for the OS to enable
it (Sumit Gupta)"
* tag 'pm-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPI: PM: Avoid initializing power management for absent devices
ACPI: CPPC: Drop compliance checks involving nominal performance
ACPI: CPPC: Reject EPP registers narrower than 8 bits
cpufreq: Skip inactive policies in cpufreq_driver_target()
cpufreq: CPPC: Set CPPC Enable register in cpu_init()
|
||
|
|
8dac6df92a |
Merge tag 'nfsd-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Pull nfsd fix from Chuck Lever: - Unlock the correct parent directory after CREATE crosses a mount * tag 'nfsd-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux: nfsd: unlock the locked parent after crossing a mount in CREATE |
||
|
|
1e575bda30 |
Merge tag 'net-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from Paolo Abeni:
"Including fixes from netfilter and Bluetooth.
Current release - regressions:
- ipvs: honor the overload state and do not enter it forever
Previous releases - regressions:
- core:
- prevent receive header offset overflow during decapsulation
- avoid truncated transport header offsets
- tcp:
- fix NULL pointer dereference when restarting a fast open listener
- fix the SO_REUSEPORT bind cache admitting a conflicting socket
- sctp: do not free a new asoc peeled off while sendmsg slept
- bridge: fix skb leak of reinjected link-local frames
- bluetooth:
- L2CAP: clear the SDU before the receive callback
- vhci: serialize packet reception with device creation
- ipvs:
- avoid stack overflow from recursive connection expiration
- fix problems during connection deletion
- eth:
- virtio_net: check RX buffer length before DMA sync
- gve: fix RX page refcount overflow from INT_MAX pagecnt_bias
Previous releases - always broken:
- core: make room for the tunnel header in skb_segment_list()
- eth:
- i40e: fix freeing of TX rings on RX allocation failure
- stmmac: fix VXLAN over IPv6 with zero UDP checksum"
* tag 'net-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (117 commits)
net: prevent receive header offset overflow during decapsulation
tcp: bound the rto_min of a route in tcp_rto_min()
tcp: clamp the samples in tcp_rcv_rtt_update()
tcp: reject RTT samples from TSecr above 120 s
tcp: clamp RTT samples in tcp_rtt_estimator()
tcp: don't let __tcp_set_rto() return 0
net: make room for the tunnel header in skb_segment_list()
udp: use skb_set_transport_header_careful() in __udp6_lib_err_encap()
sctp: use skb_set_transport_header_careful() in sctp_v6_err()
net: openvswitch: use skb_set_transport_header_careful() in parse_ipv6hdr()
ipv6: mcast: use skb_set_transport_header_careful() in ipv6_mc_check_exthdrs()
ipv6: gro: limit the number of extension headers
net: stmmac: dwmac1000: stop hardware from dropping checksum-error packets
net: stmmac: dwmac1000: don't discard frames with only a checksum error
net: stmmac: honour Rx checksum errors in the AF_XDP zero-copy path
veth: wake the peer txq when deleting NAPI
veth: wake a stopped peer txq beyond real_num_tx_queues
iavf: add missing PTP adjustment callbacks
iavf: fix ASQ command buffer leak on init failure
iavf: fix QoS capabilities memory leak
...
|
||
|
|
f1715c0c04 |
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull vhost fix from Michael Tsirkin: "Fix vhost ring completion batch wrap" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: vhost: split out-of-order used ring batches at every wrap |
||
|
|
27e694b84e |
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fixes from James Bottomley: "Mostly driver fixes. The only core one is the bsg one to prevent copying of sense data after the task is cancelled (which could result in random memory writes from the kernel). ufs has the largest set of fixes, but they're also fairly mundane" * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (21 commits) scsi: mpi3mr: Validate reply frame size bounds scsi: target: core: Parse APTPL res_type and res_scope as hex scsi: target: iscsi: Check for existing sessions only after authentication scsi: sd_zbc: Cap zone report count by buffer size scsi: rdac: Keep the error status when controller lookup fails scsi: target: Fix NULL pointer dereference in core_alua_do_port_transition() scsi: target: Fix NULL pointer dereference in target_dev_alua_lu_gp_store() scsi: ufs: qcom: Reprogram ESI after a host controller reset scsi: ufs: mcq: Poll OCS after sq cleanup for device management commands scsi: ufs: core: Skip ABORT TASK for device management commands scsi: leapraid: Fix init_cmd_priv error handling scsi: ufs: rockchip: Improve RX noise immunity scsi: ufs: hwmon, debugfs: Propagate runtime PM resume errors scsi: ufs: bsg: Abort ufs_bsg_request() when runtime resume fails scsi: ufs: sysfs: Propagate runtime PM resume errors scsi: ufs: core: Introduce ufshcd_rpm_resume_and_get() helper scsi: ufs: core: Restore jiffies conversion of device management timeouts scsi: target: iscsi: Fix hanging WRITE_PENDING commands scsi: Revert "scsi: target: iscsi: Fix hang for aborted WRITE_PENDING commands" scsi: ufs: core: Keep clock-gating hold on failed W-LUN runtime resume ... |
||
|
|
c45d9aaa0b |
Merge tag 'dma-mapping-7.4-2026-11-18' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux
Pull dma-mapping fixes from Marek Szyprowski:
"Various fixes for the issues identified by sashiko.dev review system
in the dma-mapping helpers:
- added serialization to reserved memory region initialization
- fixed initialization of the shared memory for confidential
computing memory pools
- fixed error and exit code paths"
* tag 'dma-mapping-7.4-2026-11-18' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux:
dma-pool: decrypt pages before creating the shared remap
dma: swiotlb: Properly tear down the default pool on exit
dma: swiotlb: Round restricted DMA pool size down to IO_TLB_SEGSIZE
dma-pool: release CMA pages on atomic_pool_expand() error path
dma: swiotlb: Serialize restricted DMA pool initialization
dma-coherent: serialize reserved memory pool initialization
|
||
|
|
4405c18c95 |
Merge tag 'mm-nonmm-hotfixes-stable-2026-11-18-00-06' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull non-MM updates from Andrew Morton: - "get_maintainer: stop sending every patch to LKML" (Konstantin Ryabitsev): Make THE REST a fallback when no usable subsystem list matches and update the submission guide. This avoids routine copies to LKML while retaining a mailing list for otherwise unmatched patches. - On local OCFS2 mounts, a failed shared mmap write fault now delivers SIGBUS instead of hitting BUG_ON(). Journal shutdown is serialized with inode cleanup, and checkpoint waiters no longer use a queue embedded in the journal being freed. - Queued dlmfs lock work now keeps the superblock active through its final iput(), avoiding a use-after-free during unmount. The OCFS2 locking_state debugfs iterator follows its live cursor instead of list links copied from a lock resource which may have been freed during a read-only remount. - Fault-injection boot parameters no longer call code which allocates memory and schedules work before slab and workqueues are initialized, fixing a boot failure. * tag 'mm-nonmm-hotfixes-stable-2026-11-18-00-06' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: MAINTAINERS: DRM DRIVERS AND MISC GPU PATCHES MAINTAINERS: update Andrea Cervesato's email for LTP mailmap: update email address for Sai Teja Aluvala mailmap: add an alias for Alex Elder mailmap: update entry for Guodong Xu mailmap: add entries for Ridong Chen mailmap: add Wang Yibo's work email address mailmap: add entry for Beat M. Liechti mailmap: update email address for Naman Jain mailmap: add entries for Luiz Capitulino mailmap: add entries for Miaoqing Pan mailmap: update Mika Westerberg's email address mailmap: update email address for Bradley Morgan docs: submitting-patches: make LKML a list of last resort again get_maintainer: only use THE REST as a fallback ocfs2: fix kernel BUG in ocfs2_page_mkwrite() when write_end fails fault-inject: fix boot failure with fault injection boot parameters ocfs2: advance locking_state through the live cursor ocfs2/dlmfs: keep the superblock alive during lock work ocfs2: serialize inode journal access with shutdown |
||
|
|
d866d5bafc |
Merge tag 'mm-hotfixes-stable-2026-11-17-19-55' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull MM fixes from Andrew Morton: - "maple_tree fixes for 7.3" (Liam R. Howlett): Fix an RCU reader NULL dereference when the tree is emptied during a walk, including /proc/PID/maps racing with munmap(). Add tests and make debug WARN and BUG checks report failures properly - "mm/kasan: Detect double-free involving kfree_rcu_sheaf()" (Kuniyuki Iwashima): Detect double-free when an object enters an RCU sheaf. KASAN could previously miss it until the object was reused, leading to a later free of a live object. Add KUnit tests for the different free orders - "mm: Fix page-table teardown during memory hot-remove" (Muchun Song): Balance page-table constructors and destructors when hot-remove frees tables on x86-64, RISC-V and arm64. This fixes NR_PAGETABLE accounting for tables with and without constructors - "mm/damon: fix watermark state, kunit pid leak and selftest fake pass" (SJ Park): Recompute watermark wait state when DAMON schemes are removed, so kdamond resumes monitoring. Fix a pid reference leak in KUnit and a selftest that reports a skipped run as a pass - An XArray iterator could step backwards when a large page-cache entry was split, sending filemap_map_pages() outside the PTE page it locked. The XArray correction and a filemap bound check prevent out-of-bounds accesses and use-after-free. Another XArray fix prevents lockless walkers from following a parent pointer into a freed node - Userfaultfd now validates the whole write-protection range before changing any VMA, avoiding partial unprotect without waking blocked faults. Failed unmaps now abort queued UFFD_EVENT_UNMAPs; previously they could report a nonexistent unmap, leak the userfaultfd context and leave later operations returning -EAGAIN. A fork fix clears stale uffd PTE bits if the new context is released before its event is read - Moving the hugetlbfs inode trace event before RCU freeing avoids a use-after-free of its superblock. Shmem swapin no longer retries forever on reused swap slots containing a mismatched large swap-cache folio. Swapoff also avoids a cluster-list loop that can soft-lock reclaim and leave swapoff hung - Weighted interleave recalculation now uses one node set throughout, avoiding a divide-by-zero during memory hotplug. Hwpoison holds the folio lock when inspecting its mapping and no longer leaks a folio reference; it also updates poison statistics before notifying rasdaemon through a trace event - Cross-node migration now moves NR_FILE_THPS and NR_KERNEL_FILE_PAGES with page-cache folios, preventing per-node and memcg-node accounting from retaining stale counts or underflowing after the folios are freed * tag 'mm-hotfixes-stable-2026-11-17-19-55' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (27 commits) xarray: fix index jumping backwards in xas_find() userfaultfd: validate the whole range before changing write protection maple_tree: update internal warning and bug_on code maple_tree: test emptying tree while RCU reading maple_tree: fix rcu reader NULL dereference after the tree is emptied mm/vma: read anon_vma carefully in validate_mm() hugetlbfs: move hugetlbfs_free_inode tracepoint to ->destroy_inode() selftests/damon/sysfs_memcg_path_leak: define ksft_skip mm/damon/tests/sysfs-kunit: fix leaked pid reference in add_targets test mm/damon/core: reset watermark wait state on each iteration mm/filemap: stop fault-around when the walk steps back mm: memory-failure: update statistics before emitting the trace event mm/vma: undo userfaultfd unmap preparation when unmapping fails userfaultfd: clear uffd state in child PTEs if uffd is released during fork mm/memory-failure: fix folio refcount leak and min_order_for_split() locking mm/shmem: fix swapin livelock on a mismatched large swap cache folio mm/mempolicy: use one node set for interleave weights xarray: clear the new head's parent before freeing the old head arm64/mm: fix destructor for unconstructed hotplug page tables riscv/mm: fix missing destructor for hotplug PUD tables ... |
||
|
|
fb52ae0e9a |
Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux
Pull fscrypt fix from Eric Biggers: "Fix a NULL dereference that was theoretically possible if FS_IOC_SETFLAGS was called to set the casefold flag on an encrypted directory concurrently with its encryption key being set up" * tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux: fscrypt: Initialize ->ci_master_key before publication |
||
|
|
cea5f91daa |
wait-event: clean up the internal helper arguments
The ___wait_event() helper for historical reasons took a "0/1" argument for whether the wait-queue entry should be marked WQ_FLAG_EXCLUSIVE or not. That didn't really help readability, but it also limited the wq_flags for that helper to only that one flag. Just make that macro argument be the actual 'wq_flags' value, which simplifies the helper, and makes it more generic. It also happens to make the users of this macro more obvious when an unexplained '1' argument becomes a more self-explanatory 'WQ_FLAG_EXCLUSIVE'. Also change the existing users that use that raw ___wait_event() interface with just a plain schedule() to use the pre-existing helpers macros: __wait_event_state() and __wait_event_state_exclusive(). [ This is not a bug-fix: it was prep-work for a bug report that turned out to be just a "don't do that" situation instead. But I also didn't want to just throw it away or leave it pending, since it just made some of that grotty code much clearer - Linus] Reviewed-by: Oleg Nesterov <[email protected]> Link: https://lore.kernel.org/all/20261111-pipe-epollexclusive-wakeup-v1-1-0af6283e9fda@columbia.edu/ Signed-off-by: Linus Torvalds <[email protected]> |
||
|
|
20eef29b7c |
Merge tag 'arc-fixes-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
Pull ARC fix from Vineet Gupta:
- workaround a GCC bug which has been causing upstream build fails
* tag 'arc-fixes-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
ARC: io: work around GCC PR127718 in __raw_write{w,l}()
|
||
|
|
7ccb044c27 |
Merge tag 'powerpc-7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc fixes from Madhavan Srinivasan: - Handle of_property_count_u32_elems() error in parse_thread_groups() - Defer Nemo IRQ initialization - disable watchdog when watchdog_thresh=0 - Reserve a PLT entry for ftrace_regs_caller - powerpc KVM fixes - misc fixes and cleanups Thanks to Amit Machhiwal, Bradley Morgan, Christian Zigotzky, Christophe Leroy, Gautam Menghani, Jiale Yao, Luiz Capitulino, Michael Ellerman, Mohammad Shahid, Nathan Chancellor, Ritesh Harjani, Sasha Levin, Shrikanth Hegde, and Timothy Pearson * tag 'powerpc-7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: powerpc/perf/vpa-dtl: use GFP_ATOMIC for DTL buffer allocation powerpc32/modules: Reserve a PLT entry for ftrace_regs_caller powerpc/watchdog: disable watchdog when watchdog_thresh=0 selftests/powerpc: override EMIT_TESTS instead of the emit_tests rule powerpc/smp: Handle of_property_count_u32_elems() error in parse_thread_groups() powerpc/pasemi: Defer Nemo IRQ initialization KVM: PPC: Book3S HV: Avoid spurious interrupts caused by LPCR_MER bit KVM: PPC: Book3S HV: Take SRCU read lock around kvmppc_h_page_init() call KVM: PPC: Book3S HV: XICS: Avoid NULL ptr deref in kvmppc_xive_cleanup_vcpu() KVM: PPC: Book3S HV: XICS: Update irq_type for cleanup to work KVM: PPC: Book3S HV: Ensure that calls to idr_alloc are synchronized KVM: PPC: Book3S HV: Disable preemption around host-side HPT lock users powerpc/eeh: NUL-terminate force recovery input |
||
|
|
63fdb511c2 |
Merge tag 'mm-core-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/core
Pull core memory management fixes from David Hildenbrand:
"The main changes are:
- Prevent folio refcount overflows with pagecache folios, mostly
relevant for large folios today. The networking changes for this
will go through the net tree.
- Fix out-of-bounds page table accesses with folded PMDs in 3
scenarios.
- Fix write-sealing of memfd to detect GUP pins with concurrent
(un)mapping more reliably, preventing writes through GUP pins after
write-sealing.
- Fix lost wakeups when splitting large folios.
- Fix exposing uninitialized data through MADV_COLLAPSE to user
space.
The refcount changes also include a related iommufd fix for properly
cleaning up when pinning memfd folios fails, which is now easier to
trigger"
* tag 'mm-core-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/core:
mm/gup: limit pagecache folio refcount when grabbing references
iommufd: fix cleanup when adding memfd folio pins fails
mm/mmu_gather: flush pending references early before the folio limit
mm: limit pagecache folio refcount when splicing into pipes
mm: limit pagecache folio refcount when mapping pages
mm/huge_memory: prevent losing PG_waiters in __split_folio_to_order()
mm/rmap: fix PTE table overruns during batched reference checks
mm/rmap: fix PTE table overruns during batched unmap
mm/userfaultfd: fix PTE table overruns in UFFDIO_MOVE
mm/memfd: handle GUP pins more reliably when write-sealing
mm/khugepaged: don't map folios that are not uptodate in MADV_COLLAPSE
|
||
|
|
666539eecd |
Merge tag 'assoc-array-fixes-v2'
Clean up assoc_array library code I had already gotten rid of this tag locally, because we then decided to just remove the assoc_array library entirely since it has only one single user - the key handling code - and that user is getting rewritten to use rhashtable instead. But that removal is scheduled for 7.5, and this fixes real bugs and does clean up some of the code. So while it's all slated for removal, some of the fixes need back-porting and we might as well remove the cleaned-up version. Maybe somebody decides they want to resurrect it for another project - it really is fairly generic library code - they shouldn't get the messy end state that we decided to jettison. Background: Nils Ollrogge reported a bug in the assoc_array library and had a patch to fix it too, but that code was too obscure for me to follow, so I used some LLM tools to help make sense of it all and found more issues in the process. * tag 'assoc-array-fixes-v2': assoc_array: use assoc_array_parent_link() when splitting a shortcut assoc_array: find and collapse in deletion without gotos assoc_array: move deletion's collapse into a function of its own assoc_array: replace the labels in gc's tree walk with a loop assoc_array: move gc's folding into a function of its own assoc_array: keep gc's cleanup out of the live tree on allocation failure assoc_array: don't chain a new shortcut onto an existing one assoc_array: choose between splitting a node and a shortcut without gotos assoc_array: move shortcut creation into a function of its own assoc_array: move node splitting into a function of its own assoc_array: fill the segment cache in one place assoc_array: move in-place insertion into a function of its own assoc_array: don't lose objects when a root shortcut is split at level 4 assoc_array: don't lose objects when a shortcut is split on a word boundary assoc_array: correct the documentation of get_key_chunk()'s level argument |
||
|
|
141b164bbe |
Merge tag 'char-misc-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc/iio driver fixes from Greg KH: "Here are a bunch of char, misc, and iio driver fixes for reported problems for 7.4-rc4. Included in here are: - usual collection of lots of IIO driver fixes for issues - binder driver fix - iio, w1, and comedi driver fixes found and fixed by Josef - comedi driver fix for a reported problem - other misc driver fixes All of these have been in linux-next for a while with no reported issues" * tag 'char-misc-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (68 commits) iio: hid-sensors: fix fractional part for unit exponents -7 and -8 iio: trigger: free the trigger ID after device_del() iio: hid-sensors: fix a division by zero iio: humidity: hid-sensor-humidity: Use per-instance callbacks iio: temperature: hid-sensor-temperature: Use per-instance callbacks comedi: comedi_bond: Fix leak of opened device references mei: me: add ice lake point LP iTouch DID mei: lb: read the MTU once rust_binder: push BR_TRANSACTION_COMPLETE before BR_FAILED_REPLY misc: ibmvmc: initialize HMC state before device registration w1: w1_therm: leave the slaves of other families alone w1: w1_therm: lock the list of slaves for the bulk read w1: don't hold list_mutex while a slave is torn down w1: netlink: drop the slave after the bus is unlocked w1: ds2805: use the bus mutex to talk on the bus w1: ds28e04: use the bus mutex to talk on the bus w1: ds2482: set the strong pull-up with its byte w1: remove the master's files before taking its locks w1: use the bus mutex for the "rw" file misc: bcm-vk: fix DMA allocation memory leak ... |
||
|
|
b6793a9e2a |
Merge tag 'tty-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Pull tty/serial driver fixes from Greg KH:
"Here are some small tty and serial driver fixes for reported problems
for 7.4-rc4. Included in here are:
- tty driver and vt fixes reported and fixed by Josef Bacik and Chris
Mason
- some serial driver fixes by Jiri for found problems
All of these have been in linux-next for almost 2 weeks now, with no
reported issues"
* tag 'tty-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
serial: samsung: put the previous baud clock
serial: samsung: don't leak the tty on an RX IRQ
serial: rda: free the interrupt on shutdown
serial: imx: fix the tty reference of the wakeup event
serial: fsl_lpuart: fix tty ref of wakeup event
serial: 8250_mxpcie: handle hangup during break
serial: 8250_lpss: don't divide by 0 above 6.25 Mbaud
serial: core: respect runtime PM when sending x_char
vt: serialise the producers of the flip buffer
tty: fix misapplied compat_ptr() in tty_compat_ioctl()
serial: 8250_hp300: reorder HPDCA code
serial: 8250_exar: check priv->gpio properly
|
||
|
|
f11fe7603d |
Merge tag 'usb-7.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB/Thunderbolt fixes from Greg KH: "Here are a bunch of USB (and one Thunderbolt) fixes. Sorry for the delay on them, been stuck in travel hell for a bit and these have been sitting all ready to be merged for too long. Included in here are: - lots of tiny USB fixes found by anthropic scans - usb-serial bugfixes - xhci driver fixes for issues regressions by many people - dwc3 driver fixes for reported problems - some usb gadget driver fixes for reported problems - other minor USB driver fixes Most of these have been in linux-next for weeks with no reported issues, the others have been in linux-next for 11 days, also with no reported problems" * tag 'usb-7.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (45 commits) usb: xhci: fix 'num_active_eps' accounting on allocation failure usb: xhci: clear stale bandwidth data after hibernation usb: pci-quirks: always assert xHCI OS ownership usb: xhci: disable the correct slot on alloc_dev failure xhci: keep port link_inactive and connected flags in sync when polled usb: typec: ucsi: retry init only while the PPM is not ready xhci: give back TDs and clean up ep0 after disconnect USB: serial: garmin_gps: fix deadlock on reset request USB: serial: oti6858: fix the teardown order in close USB: serial: io_edgeport: serialise MCR accesses USB: serial: io_edgeport: fix potential use-after-free on disconnect USB: serial: io_edgeport: fix potential fifo corruption USB: serial: io_edgeport: move initial termios update to open() USB: serial: io_edgeport: fix potential NULL-deref at open USB: serial: io_edgeport: fix potential close() use-after-free USB: serial: io_edgeport: fix NULL-deref on early status USB: serial: upd78f0730: fix NULL-deref on hangup USB: serial: sierra: validate URB length in instat callback USB: serial: garmin_gps: validate packet data length in nat_receive() usb: gadget: f_ncm: restart the TX timer if the TX freelist is empty ... |
||
|
|
7f6fccf6ee |
Merge tag 'rcu-fixes.v7.4-20261115a' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux
Pull RCU fixes from Joel Fernandes: "Fix a build break with recent clang, which warns about unsequenced accesses to the volatile jiffies variable in show_rcu_nocb_state() and fails the build with CONFIG_WERROR=y / W=e. Read jiffies once into a local variable instead. Also replace the rcupdate.rcu_task_collapse_debug module parameter, added in the v7.4 merge window, with pr_debug() for the RCU Tasks callback contend/collapse messages. The messages stay off by default and can be enabled with dynamic debug, and no official kernel carries the extra parameter" * tag 'rcu-fixes.v7.4-20261115a' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux: rcu/nocb: Avoid unsequenced accesses to jiffies in show_rcu_nocb_state() rcu-tasks: Use pr_debug() for callback contend/collapse messages |
||
|
|
aebb727447 | Linux 7.4-rc3 | ||
|
|
a9daf327f3 |
Merge tag 'sched_ext-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext
Pull sched_ext fixes from Tejun Heo: - With proxy execution or core scheduling, a CPU could run a task that had been requeued on another CPU while dispatch had the rq lock dropped. - Unregistering a scheduler could return while its teardown was still running, letting the teardown call into BPF code that was already freed. - A CPU coming online could call into the BPF scheduler before the scheduler was told that the CPU is online. - A parent scheduler could be asked to attach a sub-scheduler to a cgroup that was already removed. - Hardening: more kfuncs that take a queue lock are rejected in tracing programs, where they could deadlock the CPU, and a queue iterator no longer restarts after reaching the end, which the BPF verifier assumes can't happen. - Smaller fixes: tasks needlessly sent back to the BPF scheduler on idle CPUs, stale scheduling state carried into a task's next scheduler, and uneven CPU shards with partially populated SMT cores. * tag 'sched_ext-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext: sched_ext: Reject DSQ iterator kfuncs in tracing programs sched_ext: make DSQ iterator stay drained after NULL sched_ext: Fix partial-SMT core counting in calc_shard_layout() sched_ext: Reset task fields on exit of an SCX_TASK_READY task sched_ext: Read exit_kind before flushing in scx_flush_disable_work() sched_ext: Reject scx_bpf_destroy_dsq() in tracing programs sched_ext: Fix ops.enqueue/dispatch() calls before ops.cpu_online() sched_ext: Factor out drain_offline_rq() sched_ext: Fix stale pick when the donor changes during dispatch sched_ext: Call ops.sub_attach() only while the cgroup is online sched_ext: Fix scx_bpf_dsq_reenq() kerneldoc claiming NMI calls are allowed sched_ext: Avoid unnecessary IMMED reenqueues on idle CPUs |
||
|
|
4b15991b3b |
Merge tag 'cgroup-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
Pull cgroup fixes from Tejun Heo: - A file notification racing the file's removal could re-arm the notification timer after it was shut down, corrupting the timer wheel or firing on freed memory. - The v1 freezer could leave an exiting task frozen forever after its cgroup was thawed or removed. - With memcg built without the block cgroup controller, memcg reclaim waited on writeback and could deadlock against a filesystem freeze. memcg now selects the controller. - cpuset partition state could go wrong when CPUs move between nested partitions or go offline: isolated CPUs leaked or went missing, invalid partitions kept exclusive CPUs or came back with no usable CPU, and expanding a remote partition could fail. Separately, a forked child could inherit a corrupted memory node mask. * tag 'cgroup-for-7.4-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup: cgroup/cpuset: Don't revive invalid partition without active CPU on hotplug cgroup/cpuset: Remove redundant WARN_ON_ONCE() in remote_cpus_update() memcg: make MEMCG select BLK_CGROUP cpuset: generalize the validate_partition() interface cpuset: settle isolation state when CPUs are given back to parent cgroup/cpuset: Correctly set isolated_cpus when switching partition state cgroup/cpuset: Protect current->mems_allowed read in cpuset_fork() selftests/cgroup: Fix "test_cpuset_prs.sh -v" failures cpuset: add early empty cpumask check in partition_xcpus_add/del cgroup/cpuset: Reset partition data when an invalid partition stays invalid cgroup/freezer: Fix exiting tasks left frozen forever after rmdir cgroup/freezer: walk exiting tasks in the v1 freezer cgroup: arm the notify timer only while the file exists cgroup/cpuset: Do housekeeping check when isolated child with root parent may get more xcpus cgroup/cpuset: Recompute effective cpumask in update_cpumasks_hier() after calling update_parent_effective_cpumask() cgroup/cpuset: Fix incorrect CPU accounting with parent's effective_xcpus expansion |
||
|
|
f70886e5a5 |
Merge tag 'nfs-for-7.4-2' of git://git.linux-nfs.org/projects/anna/linux-nfs
Pull NFS client fixes from Anna Schumaker: - Various NFS and SunRPC fixes from Avi Weiss - Various localio fixes from Mike Snitzer - Delegated timestamp fixes from Jeff Layton - CB_NOTIFY_LOCK fixes from Olga Kornievskaia - Various sunrpc, flexfiles, and xprtrdma fixes from Tim Menninger * tag 'nfs-for-7.4-2' of git://git.linux-nfs.org/projects/anna/linux-nfs: (26 commits) NFSv4: Prevent indefinite waits for out-of-order OPEN stateids NFSv4/flexfiles: limit transport disconnects when cancelling I/O SUNRPC: add request-scoped disconnects when cancelling tasks pNFS: avoid repeatedly cancelling I/O for the same lseg xprtrdma: serialize unmap_sync with xprt_disconnect NFSv4: remember that the server may send CB_NOTIFY_LOCK NFSv4: wake blocking lock waiters when a delegated lock is released NFS: stamp after the server's ctime following a CLONE NFS: stamp after the server's ctime when truncating under delegated times NFS: don't let delegated c/mtime stamps go backward NFS/localio: give the LOCALIO probe a short timeout of its own NFS/localio: probe again for LOCALIO when localio_enabled is set to Y NFS/localio: hold the client across an asynchronous LOCALIO probe SUNRPC: Balance queue accounting when relocating a task SUNRPC: Balance switch queue length on transport removal SUNRPC: Fix TCP-with-TLS transport class identification SUNRPC: preserve transport security policy when cloning clients SUNRPC: preserve timeout policy when cloning clients SUNRPC: preserve fatal network errors during RPC binding sunrpc: instantiate rpc_pipefs dentry before publishing it ... |
||
|
|
87aecd24f5 |
Merge tag 'for-7.4/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
Pull device mapper fixes from Mikulas Patocka:
"dm:
- fix infinite loop when removing a zoned device
- fix misbehavior if kobject_init_and_add fails
- fix refcount underflow if zone reset failed
- fix misbehavior if we attempt to load a table after previous table
load failed
- fix use-after-free if we open a device read-only and then re-open
it read-write
- fix error being ignored if flush failed
dm-pcache:
- fix misbehavior on flush failure
dm-raid:
- validate array_position after it is read from the superblock
dm-cache:
- fix a crash if dm_kcopyd_client_create fails
- fix divide by zero on extremely large device
- fix NULL pointer dereference on open failure
- fix misbehavior if dm_bitset_cursor_begin fails
dm-snapshot:
- properly advertise discard_granularity in the queue limits
- fix data corruption on unaligned discards
dm-crypt:
- fix a crash on invalid table line
- fix scheduling in atomic context when using no_write_workqueue and
asynchronous completion cipher
- fix misbehavior if percpu_counter_init fails
dm-thin:
- fix integer overflow if no_space_timeout is too high
- fix data corruption if discard races with regular I/O
- fix leak if __set_snapshot_details fails
- fix parsing of feature arguments
dm-mpath:
- fix buffer overflow when parsing the table string
- fix integer overflow in queue_if_no_path_timeout_secs
dm-log-userspace:
- fix open device leak on initialization error
dm-zoned:
- back off when reclaim cannot make progress
- do not reclaim a random zone into another random zone
dm-integrity:
- don't recalculate with HMAC because of a dirty bitmap
- don't attempt to commit journal on disabled device
dm-persistent-data:
- don't ignore the return value of node_copy
- fix buffer leak if find_leaf fails
dm-verity:
- don't restart or panic on errors during system shutdown
dm-raid:
- flush a work item in raid_dtr, fix use-after-free"
* tag 'for-7.4/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (34 commits)
dm: fail a REQ_PREFLUSH bio with data when its preflush fails
dm-raid: fix use-after-free in raid_dtr()
dm-integrity: don't attempt to commit journal on disabled device
dm-verity: don't restart or panic on errors during system shutdown
dm crypt: fix use of uninitialized percpu_counter in ctr error path
dm: fix use-after-free when dm_get_device() widens the open mode
dm persistent data: don't leak bufio buffer if find_leaf fails
dm persistent data: don't ignore writeback errors
dm persistent data: test return value of node_copy
dm-thin: fix parsing of feature arguments
dm-thin: fix leak if __set_snapshot_details fails
dm-thin: fix data corruption if discard races with regular I/O
dm-cache: fix ending a cursor that never began
dm-cache: fix NULL pointer dereference on open failure
dm-crypt: defer async write submission to write thread
dm mpath: cap queue_if_no_path_timeout_secs
dm cache: validate the discard block size before narrowing
dm: Reject table setup after queue or disk teardown
dm: avoid double-dropping the zone reset submission reference
dm-sysfs: fix misbehavior if kobject_init_and_add fails
...
|
||
|
|
481f9afb33 |
Merge tag 'spi-fix-v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
Pull spi fixes from Mark Brown: "There's a few small collection of driver fixes here, the usual story where none of them are super remarkable if you don't have the have the hardware. The largest batch is the Tegra fixes which are mainly around error handling" * tag 'spi-fix-v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: spi: axi-spi-engine: Start the program length at zero spi: virtio: move teardown to .remove() spi: dt-bindings: pl022: Allow a power domain spi: tegra210-quad: Unmap DMA buffers on transfer timeout spi: tegra210-quad: Track DMA mapping state spi: tegra210-quad: don't overwrite refreshed status with lost-IRQ snapshot |
||
|
|
e147c68fea |
Merge tag 'regulator-fix-v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator fixes from Mark Brown: "A small change adding support for the Silergy SYM827 which is a variation on the FAN53555 so needs some quirk data and a new DT compatible" * tag 'regulator-fix-v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: fan53555: Add support for Silergy SYM827 regulator: dt-bindings: fan53555: Add Silergy SYM827 |
||
|
|
7893d90622 |
Merge tag 'driver-core-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core
Pull driver core fix from Danilo Krummrich: - Fix a use-after-free during device removal when a child device reuses its parent's managed software node (affecting Xe) * tag 'driver-core-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core: software node: only let the owner release a managed node |
||
|
|
fa2933aac1 |
Merge tag 'x86-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar: - Don't print reset reason in VMs, to fix Xen PV domU boot regression on AMD Zen CPUs (Jason Andryuk) - Preserve the default VGA fallback for legacy modes, to fix regression where a SeaBIOS QEMU guest with bochs and VKMS the boot VGA (bochs) loses its DRM boot_display attribute (Hengyu Liang) - Ensure write visibility during LDT installation (Dave Hansen) * tag 'x86-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/mm: Ensure write visibility during LDT installation x86/video: Preserve the default VGA fallback for legacy modes x86/CPU/AMD: Don't print reset reason in VMs |
||
|
|
0feaf5349e |
Merge tag 'timers-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fixes from Ingo Molnar:: - Add VDSO_UNALIGNED_PACKED config option for targets without efficient unaligned memory accesses (such as ARMv5), and turn it on for !CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS platforms. Propagate these changes into tooling headers as well (Ian Rogers) - Read getboottime64() offsets under the tk_core.seq sequence counter (Hungyu Lin) - Keep tsacct task begin times stable across suspend (Hungyu Lin) - Reject cross timestamps for invalid AUX clocks (Avi Weiss) - Refresh auxiliary timekeeper base before offset validation (Avi Weiss) * tag 'timers-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: timekeeping: Refresh auxiliary base before offset validation timekeeping: Reject cross timestamps for invalid AUX clocks tsacct: Keep task begin times stable across suspend timekeeping: Read getboottime64() offsets under the sequence counter tools headers: Update the vdso/unaligned.h copy with the kernel sources vdso: Add VDSO_UNALIGNED_PACKED config option |
||
|
|
fc28723fae |
Merge tag 'sched-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Ingo Molnar: - Fix spurious SYS_sched_setattr() -EPERM for migration-disabled tasks (Andrea Parri) - Reject clamp values above SCHED_CAPACITY_SCALE (Andrea Parri) - Fix cpuset_mutex double unlock in __sched_setscheduler() (Andrea Parri) - Don't use fits_capacity() to compare thread and CPU counts in in invalid_llc_nr() (Zhan Xusheng) - Do not touch SMT siblings that have not joined the core yet during CPU onlining (Seiji Nishikawa) * tag 'sched-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/core: Do not touch SMT siblings that have not joined the core yet sched/cache: Don't use fits_capacity() to compare thread and CPU counts sched/core: Fix cpuset_mutex double unlock in __sched_setscheduler() sched/uclamp: Reject clamp values above SCHED_CAPACITY_SCALE sched/deadline: Fix spurious -EPERM for migration-disabled tasks |
||
|
|
ca6709295a |
Merge tag 'perf-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf events fixes from Ingo Molnar: - Avoid AMD uncore context migration from non-owners (Sandipan Das) - Clear stop state in perf_trace_add(), to fix self-profilers such as async-profiler. Also fix a similar bug in hw_breakpoint_add() (Paolo Bertinetti) - Fix racy update of cpc->hrtimer_interval (Benjamin Segall) - Do not resurrect cpuctx->cgrp after last cgroup event exit, to fix UAF bug (Phat Dinh) * tag 'perf-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf/core: Do not resurrect cpuctx->cgrp after last cgroup event exit perf: Fix racy update of cpc->hrtimer_interval perf/hw_breakpoint: Clear stop state in hw_breakpoint_add() tracing/perf: Clear stop state in perf_trace_add() perf/x86/amd/uncore: Avoid context migration from non-owners |
||
|
|
d56cd25dc0 |
Merge tag 'core-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull core syscall fixes from Ingo Molnar: - Two generic syscall entry code fixes for return code data type definitions (Florian Bezdeka) * tag 'core-urgent-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: entry: Complete syscall_enter_from_user_mode_work() to bool migration entry: Fix return type of syscall_trace_enter() |
||
|
|
04da1a14b9 |
Merge tag 'fixes-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux
Pull liveupdate fixes from Mike Rapoport: - avoid address translation in is_kho_boot() before the linear map is initialized, fixing early boot BUG_ONs on arm64 - check for duplicate session names before growing the sessions preservations block set to avoid preserving an empty block that causes restoration to panic() * tag 'fixes-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux: kho: check fdt_phys in is_kho_boot() liveupdate: check for duplicate session before growing block set |
||
|
|
bfac855a82 |
Merge tag 'kexec-fixes-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux
Pull kexec MAINTAINERS update from Mike Rapoport: "Remove Dave Young as kdump reviewer" * tag 'kexec-fixes-2026-11-15' of git://git.kernel.org/pub/scm/linux/kernel/git/liveupdate/linux: Remove myself as a kdump reviewer |
||
|
|
97f4f3805f |
Merge tag 'probes-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull probe fixes from Masami Hiramatsu:
"Fix ftrace ops switching and optprobe state transitions:
- Switch an armed ftrace-based kprobe from kprobe_ftrace_ops to
kprobe_ipmodify_ops in register_aggr_kprobe() when adding a probe
with a post_handler, so later disarming does not fail with -ENOENT
and leave the probe armed
- Queue forcibly unoptimized probes onto the generation's
cooling_list in force_unoptimize_kprobe() so unregister_kprobes()
waits for Tasks RCU before freeing the optinsn slot, preventing a
use-after-free
- Skip arch_arm_kprobe() in __arm_kprobe() when a probe is queued for
unoptimization so the active relative jump instruction is not
partially overwritten with a breakpoint before the optimizer runs
- Re-queue any jump-optimized sibling probe covering a disabled
probe's address when that probe finishes cooling in
optprobe_finalize_generation(), matching the freeing_list path
Fix multiprobe lifecycle and boot kprobe setup
- Return early in setup_boot_kprobe_events() when the kprobe_event=
boot buffer is empty to avoid contending on event_mutex with
asynchronous eval-map work during normal boot
- Verify that a multiprobe event is neither enabled nor busy before
unlinking any sibling kprobe, fprobe, uprobe, or eprobe so active
probes cannot be unlinked and freed via dynamic_events
- Register and enable a newly appended fprobe or uprobe immediately
when the target multiprobe event is already enabled so the probe
fires and disable or perf cleanup does not act on an unregistered
probe
- Free the temporary event name string with __free(kfree) in
__trace_uprobe_create() to prevent a memory leak if a subsequent
allocation fails
Fix BTF parsing and string array fetch handling:
- Compute BTF bitfield byte and bit offsets consistently, select the
smallest unsigned fetch type covering the bitfield, and size
FETCH_OP_MOD_BF from that type to prevent an 8-byte out-of-bounds
write on smaller ring buffer slots
- Validate BTF_KIND_PTR and non-NULL BTF_KIND_INT types in
btf_type_is_char_ptr() and btf_type_is_char_array() before reading
inner type metadata to avoid misinterpreting byte sizes as type IDs
or reading out of bounds
- Check for FETCH_OP_UDEREF before advancing the fetch instruction
slot in finalize_fetch_insn() so user-space dereference string
arrays emit FETCH_OP_ST_USTRING instead of reading kernel memory
- Reject string array counts when the preceding fetch operation is
not a memory dereference so non-dereference string sources ($comm,
immediate strings, eprobe fields) do not emit invalid
FETCH_OP_LP_ARRAY loops
Fix signed 1-byte field fetch and fprobe target check:
- Use explicit fixed-width integer types (s8/u8, s16/u16, s32/u32) in
get_event_field() so 1-byte signed event fields are sign-extended
instead of zero-extended under -funsigned-char
- Exclude TRACE_EVENT_FL_FPROBE events in find_and_get_event() so
eprobes cannot attach to fprobe or tprobe events
Fix typo in kprobes documentation:
- Remove a stray closing parenthesis in Documentation/trace/kprobes.rst"
* tag 'probes-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tracing/uprobes: Fix memory leak of tail in __trace_uprobe_create()
tracing/probes: Reject array count on non-dereference string sources
tracing/probes: Fix user-space dereference string array store type
tracing/eprobe: Disallow attaching eprobes to fprobe events
tracing/eprobe: Fix 1-byte signed field fetch in get_event_field()
tracing/probes: Fix missing BTF kind checks in char pointer/array helpers
tracing/probes: Fix BTF bitfield parsing and out-of-bounds buffer write
tracing/probes: Enable newly appended probe when target event is enabled
tracing/probes: Check enabled and busy state before unlinking sibling probes
kprobes: Re-optimize blocked sibling probe when cooling finishes
kprobes: Do not overwrite jump instruction when re-arming unoptimizing probe
kprobes: Fix UAF and queue cooling probes on forced unoptimization
kprobes: Switch ftrace ops when adding probe with post_handler
docs, kprobes: Fix bracket
tracing: skip boot kprobe setup when no events were requested
|
||
|
|
442fbdb90e |
Merge tag 'bootconfig-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull bootconfig fixes from Masami Hiramatsu: - bootconfig: Allow keys with the maximum supported depth Check the array capacity before storing the next key component in xbc_node_compose_key_after() so keys at XBC_DEPTH_MAX (16) are composed instead of failing with -ERANGE when listing keys or creating /proc/bootconfig. - bootconfig: Trim unquoted values at end of file Trim trailing whitespace from unquoted values in __xbc_parse_value() after scanning finishes so values at end of input without a trailing newline do not retain extra whitespace. - tools/bootconfig: Close only opened braces in compact output Check key children while skipping value nodes when backtracking in xbc_show_compact_tree() so a brace is not closed when a single subkey under a valued key was printed in dotted notation. - tools/bootconfig: Test listing keys at the maximum depth Add regression tests verifying that a 16-component key can be attached and listed in full while a 17-component key is rejected. * tag 'bootconfig-fixes-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: bootconfig: Trim unquoted values at end of file tools/bootconfig: Close only opened braces in compact output tools/bootconfig: Test listing keys at the maximum depth bootconfig: Allow keys with the maximum supported depth |
||
|
|
23c62304dd |
Merge tag 'for-linus-7.4a-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fixes from Juergen Gross:
"A bunch of isolated fixes of Xen related drivers"
* tag 'for-linus-7.4a-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages()
xen: don't allow gnttab_dma_[alloc|free]_pages() in PV guest
xen/pvcalls: destroy the per-socket workqueue on release
xen/pvcalls: unwind pvcalls_new_active_socket() step by step
xen/privcmd: fix double free when an irqfd is shut down twice
xen/gntdev: fix deadlock between map ioctl and mmap
xen/platform-pci: Disable device before releasing PCI regions
xen/grant-table: annotate on-stack work in gnttab_unmap_refs_sync()
|
||
|
|
54975c6523 |
Merge tag 'hwmon-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull hwmon fixes from Guenter Roeck: - Read tracking-mode voltage fault limits dynamically in the mp2975 PMBus driver instead of caching probe-time snapshots, avoiding false over-voltage alarms when CPU voltage changes at runtime. - Fix SCMI sensor probe by enabling supported sensors via firmware IDs before exposing channels and checking channel config allocations. - Fix runtime PM enable and reference count imbalances during probe and teardown in the gpio-fan driver. - Fix max31760 fan controller initialization and reporting, including leaving standby at probe, initial 0 RPM reporting, and swapped temperature limit registers. - Assorted minor sensor reading, interval clamping, and register handling fixes in other drivers. * tag 'hwmon-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: hwmon: (aht10) Fix update_interval overflow on 64-bit hwmon: (scmi) Configure sensors before exposing channels hwmon: (scmi) Check channel config allocation hwmon: (nct6775) Handle dual use registers hwmon: (scmi) Enable temperature sensors using their sensor IDs hwmon: (pmbus/mp2975) Get vout fault limits dynamically hwmon: (sy7636a) fix negative temperatures hwmon: (max31760) Report 0 RPM before the first fan speed measurement hwmon: (max31760) Leave standby mode at probe hwmon: (max31760) Fix the local temperature limit registers hwmon: (gpio-fan) Fix runtime PM imbalance in probe and teardown |
||
|
|
aacb779750 |
Merge tag 'ovl-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs
Pull overlayfs fixes from Amir Goldstein: - Fixes for data-only layers (composefs), some for regressions from v6.16, which relaxed the requirements for redirects to data-only layers - Fix a use-after-free in lookup of a hardlink with a FUSE upper, reported by Sashiko - Fix a mount failure right after unmount of an overlay with the same upperdir - Reject lower layers on the same fs with different idmaps, which could decode file handles through the wrong layer - Minor fixes for a memory leak, an error message and readdir d_ino * tag 'ovl-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs: selftests: overlayfs: reject different lower idmaps on same fs ovl: reject different lower idmaps on the same fs ovl: bump the impure dir version when linking a file with origin ovl: return EIO if the lowerdata is missing ovl: follow lower to lowerdata redirects from any lower layer ovl: report the requested redirect_dir mode in conflicting options ovl: do not allow nfs_export with data-only layers ovl: do not check the deferred lowerdata redirect on index lookup ovl: fix leak of lowerdata redirect on ovl_get_inode() failure ovl: do not always clear absolute_redirect ovl: release the upperdir/workdir in-use locks before the umount sync ovl: do not read the flags of a put upper dentry in lookup |
||
|
|
68271fbe7d |
Merge tag 'ntfs-for-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs
Pull ntfs fixes from Namjae Jeon: - Validate that $INDEX_ALLOCATION is open and non-resident before reading or writing index blocks, preventing NULL pointer dereferences when an earlier index operation has not opened it - Check that index allocation inodes are non-resident and child VCNs are non-negative and within bounds before directory lookup reads, preventing a deadlock when $INDEX_ALLOCATION is missing or damaged - Validate file names against the index entry's key length, preventing out-of-bounds reads when directory enumeration resumes using a copied key - Return -ENOENT for NTFS_IOC_LIST_STREAMS on deleted base files and fix unsigned underflow in its buffer bounds check, preventing out-of-bounds writes when the sizing and filling passes disagree - Use kfree() for the temporary runlist allocated with kmalloc() on merge failure, resolving the Coccinelle allocation/free mismatch warning * tag 'ntfs-for-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs: ntfs: open the index allocation before reading or writing an index block ntfs: do not read an index block outside $INDEX_ALLOCATION ntfs: silence kmalloc/kvfree mismatch warning ntfs: check the file name against the key length of an index entry ntfs: fix out-of-bounds write race in NTFS_IOC_LIST_STREAMS |
||
|
|
cba8896047 |
Merge tag 'ksmbd-for-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/smb
Pull smb server fixes from Namjae Jeon: - Evaluate explicit-access requests in DACL order with exact SID matching, and prevent guest and anonymous sessions from matching Authenticated Users - Apply Unix group and OWNER RIGHTS ACEs, and keep their denials when POSIX ACL fallback determines access - Allow the parent directory’s DACL to grant explicitly requested DELETE and FILE_READ_ATTRIBUTES through FILE_DELETE_CHILD and FILE_LIST_DIRECTORY - Exclude metadata-only file and stream opens from sharing conflicts and stream delete-sharing checks, while accounting for writes implied by overwrites and named-stream creation - Return STATUS_ACCESS_DENIED for reads on files lacking FMODE_READ, preventing warnings in __kernel_read() and potential panics - Pin parent dentries during SMB2 CREATE permission, status, and ACL inheritance operations to prevent use-after-free races with concurrent rename and removal - Keep expired sessions bound to their original user during NTLM reauthentication, preventing identity changes and a user-object leak * tag 'ksmbd-for-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/smb: ksmbd: keep group denials when a POSIX ACL entry decides access ksmbd: refuse reauthentication of an expired session as another user ksmbd: pin parent dentries in SMB2 CREATE ACL path ksmbd: let the parent's DACL grant DELETE and FILE_READ_ATTRIBUTES ksmbd: evaluate the DACL in order for explicit access requests ksmbd: skip metadata-only stream opens in the delete check ksmbd: skip metadata-only opens in sharing checks ksmbd: refuse to read a handle that is not open for reading ksmbd: grant a caller what its groups and OWNER RIGHTS ACEs allow |
||
|
|
860b3016e6 |
Merge tag 'keys-v7.4-rc3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
Pull key fixes from Jarkko Sakkinen: - Invoke the match callback before the state checks in keyring_search_iterator(), so that a non-matching revoked, expired or invalidated key cannot decide the search result - Take key->sem for reading around the ->asym_*() method calls in the keyctl pkey operations, as a key reference does not pin the module providing the key type * tag 'keys-v7.4-rc3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd: KEYS: Protect pkey method checks against type removal KEYS: do not let an unmatched key decide the search result |
||
|
|
b21c45d215 |
Merge tag 'drm-fixes-2026-11-14' of https://gitlab.freedesktop.org/drm/kernel
Pull drm fixes from Dave Airlie: "Weekly drm fixes, this is a bit bigger as we missed xe last week due to a tree screw up, so it's mostly xe and amdgpu, then the usual scattering of fixes across drivers. sched: - Ensure stopped entity cannot be re-added to the run-queue bridge: - ssd2825: Fix panel enable sequence - sii902x: validate I2S data lane values display: - hdmi: Fixes to SCDC i915: - Fix for PTL GitLab #9196: eDP-2 on DDI B ends up in a state where any enable fails - PSR fixes amdgpu: - DCN 6 DML2 fix - VCE fixes - GC 11.0.2 fix - SMU 15 fix - Error handling fixes - Partition fix - IMU firmware clean up fix - TLB fence handling fix amdkfd: - SVM fixes - CRIU fixes xe: - select configfs - Sync Wa_16023105232 in xe_was to match OOB rule - Program LMTT directory pointer from each GT init path - Demote uncorrectable local error log on CRI - Apply tile workarounds after PCODE init - VRAM offlining fixes - ras: Fix sysctrl and drm-ras discrepancy - pat: Return error from xe_pat_init_early() on unknown - Prevent VF memory IRQ from accessing a torn-down engine - guc: Protect timeout handling from device unplug - gt: Disable GT reset worker before engine teardown - Various hwmon fixes - tuning: Restrict Anyhit NULL-query tuning to render engines - gsc: Fix NVL-S GSC compatibility number - Don't abort the shrinker walk on -EBUSY - Mark xe_vma_ops_alloc() noinline for error injection - lrc: Restore CTX_CS_INDIRECT_CTX_OFFSET programming for pre-Xe2 - Fix build with DRM_XE=y and CONFIGFS_FS=m - madvise: use already clamped pat_index - Various wedging fixes - Rebind BOs evicted before the first LR queue - Toggle the D3Cold enable flag at runtime resume - Access GT MMIO after pcode init - xe_late_bind_fw: Fix firmware leak on missing manifest entry - svm: Preserve default PAT index when resetting VMA attributes - Unwrap sync fences before adding them as job dependencies - Schedule disable G2H fixes gud: - Avoid divide error in gud_stats_debugfs meson: - load ENCL gamma table while ENCL is disabled nouveau: - disp: Set atomic functions in struct drm_mode_config_funcs - gsp: Handle only IRQs routed to host panfrost: - Fixes to perfcnt vc4: - Fix firmware reference leak - Hold runtime PM reference while allocating the binner BO - Rebuild V3D interrupt mask on every power transition - Re-enable the V3D interrupt after a GPU reset" * tag 'drm-fixes-2026-11-14' of https://gitlab.freedesktop.org/drm/kernel: (81 commits) drm/vc4: Re-enable the V3D interrupt after a GPU reset drm/vc4: Rebuild the V3D interrupt mask on every power transition drm/vc4: Hold a runtime PM reference while allocating the binner BO drm: xe: select configfs drm/xe: Sync Wa_16023105232 in xe_was to match OOB rule drm/xe/pf: Program LMTT directory pointer from each GT's init path drm/xe/guc: Demote uncorrectable local error log on CRI drm/xe/pm: Apply tile workarounds after PCODE initialization drm/gud: avoid divide error in gud_stats_debugfs drm/nouveau/disp: Set drm_mode_config_funcs.atomic_(check|commit) (attempt 2) drm/amdgpu: fix TLB invalidation fence handling v4 drm/amdkfd: check CRIU SVM priv data bounds before allocating drm/amdgpu: release the IMU firmware with the other GFX microcode drm/amdgpu: Allow cancelling a requested NPS mode drm/amdgpu: fix the error handling of amdgpu_vm_init_entities() drm/amdgpu: use supported SMU clock messages on SMU 15.0.0 drm/amdkfd: skip GPUs without a VM when checkpointing the BO mappings drm/amdkfd: Acquire cwsr buffer during CRIU resume drm/amdkfd: Acquire buffers in CRIU queue restore (again) drm/amdgpu: Fix VCE buffer size check for DPB and input surface ... |
||
|
|
0716b41b47 |
Merge tag 'watchdog-fixes-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull watchdog fixes from Guenter Roeck: - gunyah_wdt: Re-enable the watchdog on resume - mediatek: Register reset controller before watchdog device - meson_gxbb_wdt: fix suspend/resume handling of HW_RUNNING watchdog - mtk_wdt: Stop a running watchdog over system sleep even if not opened - npcm: fix clock prepare leak when setting timeout on a running watchdog - omap: Fix early_enable handling in omap_wdt_probe() - orion_wdt: load the pretimeout counter on Armada 370/XP start - rzv2h: Drop runtime PM handling from WDTDCR init, and use pm_runtime_put_sync() - sbsa_gwdt: Limit the MediaTek WS0 race workaround to revision 0 - sc1200wdt: add missing MODULE_DEVICE_TABLE() - sp5100_tco: Use release_mem_region() for EFCH MMIO resource * tag 'watchdog-fixes-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: watchdog: rzv2h: Drop runtime PM handling from WDTDCR init watchdog: rzv2h: Use pm_runtime_put_sync() watchdog: omap: Fix early_enable handling in omap_wdt_probe() watchdog: npcm: fix clock prepare leak when setting timeout on a running watchdog watchdog: gunyah_wdt: Re-enable the watchdog on resume watchdog: mediatek: Register reset controller before watchdog device watchdog: sp5100_tco: Use release_mem_region() for EFCH MMIO resource watchdog: sbsa_gwdt: Limit the MediaTek WS0 race workaround to revision 0 watchdog: meson_gxbb_wdt: fix suspend/resume handling of HW_RUNNING watchdog watchdog: mtk_wdt: Stop a running watchdog over system sleep even if not opened watchdog: orion_wdt: load the pretimeout counter on Armada 370/XP start watchdog: sc1200wdt: add missing MODULE_DEVICE_TABLE() |
||
|
|
97d73c8251 |
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Catalin Marinas:
"Fix hugetlb write fault livelock, permission overlay and GCS state
preservation across CPU suspend, cpuidle context tracking during
system suspend, GCS mode handling on signal return, AMU counter errata
workarounds, kexec loading of images with a non-zero text_offset and a
spurious ptrace warning:
- Fix hugetlb write fault livelocks caused by stale read-only TLB
entries after another CPU makes the page writable and only performs
a local invalidate. Unlike the generic fault path, hugetlb has no
fix_spurious_fault() fallback
- Save and restore POR_EL0, GCSPR_EL0 and GCSCRE0_EL1 across CPU
suspend
- Restrict cpuidle context tracking in cpu_suspend() to idle tasks,
avoiding context tracking warnings during system suspend
- Ignore attempts to change GCS mode through signal return, which
updated the software state without updating the hardware. Changes
made through prctl() in the signal handler are preserved. This
changes the documented ABI but no known userspace relies on it.
Allowing mode changes through both prctl() and signal return also
creates confusing interactions, with signal return potentially
undoing changes deliberately made by the handler
- Extend the AMU constant counter workaround to additional CPUs and
add a core cycle counter workaround for Cortex-A715/A720, treating
the affected counters as unavailable
- Avoid CMA allocations when loading a kexec Image with a non-zero
text_offset, fixing an incorrect entry point and a memory leak when
freeing the image
- Remove a spurious ptrace warning when setting the syscall number of
a task in a non-seized group-stop without siginfo"
* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64: suspend: Only track cpuidle context for idle tasks
arm64: ptrace: don't warn on missing siginfo in a group-stop
arm64: kexec_file: Do not use CMA for images with a non-zero text_offset
arm64: errata: Add Cortex-A715/A720 AMU core counter workaround
arm64: errata: Extend the workaround for broken AMEVCNTR01 counter
arm64/gcs: Ignore attempts to change GCS mode during signal return
arm64: hugetlb: Prevent write fault livelocks on stale TLB entries
arm64: suspend: Save GCS state over suspend
arm64: suspend: Save POR_EL0 over suspend
|
||
|
|
2800868f63 |
Merge tag 'sound-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai:
"A collection of small fixes as usual. A couple of regression fixes are
included in addition to the various quirks and device-specific fixes.
ALSA Core:
- PCM: Fix potential inconsistent PCM state reporting after XRUN
HD-audio:
- Fix sysfs hint parser
- Revert CS4208 fixup for MacBookAir 7,2 due to regressions
- ACPI _DSD fixes for CS35L41 side-codec on various HP laptops
- Device quirks for Acer (Predator, TravelLite) and Dell (Pro QC1255,
XPS 8940)
USB-audio:
- Fix for USB controller bugs reporting oversized packets
- Fix UAF on disconnect in caiaq
- Quirks for NiceHCK Octave DAC and RYDZ Technology Piva AC20
ASoC:
- Fix a regression due to the conversion to devm_kzalloc_flex() that
initialized the counter unexpectedly
- Copy DAI link names into card device to survive component rebind
- SOF: Fix pin format memory leak in IPC4 process widget setup,
- SOF: Support alternatively signed firmware loading on AMD platforms
- AMD: Guard SoundWire context with NULL checks in IRQ handlers
- AMD: SoundWire support on LG gram 16Z95U, fix speaker pop noise on
ACP3x with ES83xx codecs, quirks for Acer, ASUS, Huawei, and Lenovo
- Qualcomm: Fix headset jack at card rebind, PCM position fix on
q6asm
- Apple: Fix clock selection for clock consumer FEs in MCA driver
- Intel: SoundWire jack-detection quirk for Dell Latitude 9420
- Codecs: Fixes for CS43130 (power down on close), ES9356 (gain dB
scale), and MAX98090 (preserve mic boost)"
* tag 'sound-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (34 commits)
ALSA: aw2-alsa: select SND_PCM
ALSA: usb-audio: Add native DSD support for NiceHCK Octave
Revert "ALSA: hda/cs420x: Add CS4208 fixup for MacBookAir 7,2"
ALSA: hda/realtek: Update quirk for Acer Predator PHN16-72
ALSA: hda/realtek - remove headphone MIC support for Dell Pro QC1255
ALSA: caiaq: Kill EP1 URB before unregistering the input device
ALSA: pcm: update state after xrun
ASoC: max98090: keep the MIC boost across mic input power-up
ALSA: hda/realtek: Fix the Dell XPS 8940 headset microphone
ASoC: amd: acp70: Add rt713 + rt1320 SoundWire machine for LG gram 16Z95U
ASoC: amd: acp: Add ACP70 ACPI flag override for LG gram 16Z95U
ASoC: apple: mca: Fix clock selection for clock consumer FEs
ASoC: soc-core: reset rtd->num_components after allocation
ASoC: SOF: ipc4-topology: Fix pin format leak in process widget setup
ALSA: usb-audio: Drop capture packets with bogus actual_length
ALSA: usb-audio: Add iface reset and delay quirk for RYDZ Technology Piva AC20
ASoC: amd: acp: Add Lenovo Legion 5 15AGP11 to ACP70 override table
ASoC: SOF: amd: Load alternatively signed firmware with an "_l" suffix
ASoC: es9356: fix the capture gain dB scale
ASoC: amd: acp: es83xx: Enable speaker amplifier after the codec output
...
|
||
|
|
e93fd809fb |
Merge tag 'block-7.4-20261112' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux
Pull block fixes from Jens Axboe: - ublk fixes: don't publish a new device in the idr until it's fully set up, and don't hold ublk_ctl_mutex across device removal, as a stuck filesystem on one device otherwise blocked ADD_DEV and DEL_DEV for every other ublk device. - s390/dasd fixes: re-initialize the RCD buffer magic before every request start, fix a wrong free and refcount leak in the check_tcw error path, don't trust the userspace-supplied result field in the format check, and a typo fix. * tag 'block-7.4-20261112' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux: s390/dasd: Don't trust userspace-supplied result field in format check s390/dasd: Fix wrong free and refcount leak in build_check_tcw error path s390/dasd: Re-initialize RCD buffer with "V1.0" before every start s390/dasd: Fix typo 'immediatly' -> 'immediately' ublk: don't take ublk_ctl_mutex in DEL_DEV ublk: publish a new device by its id only once it is set up |
||
|
|
831615b085 |
Merge tag 'io_uring-7.4-20261112' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux
Pull io_uring fix from Jens Axboe: - Don't end the NAPI busy poll early on need_resched() when a single NAPI is registered, as that left the rest of the wait timeout sleeping in schedule_hrtimeout() rather than busy polling. * tag 'io_uring-7.4-20261112' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux: io_uring/napi: don't end the single NAPI busy poll early on need_resched() |
||
|
|
3db1c74a20 |
Merge tag 'cifs-fixes-7.4-rc3' of https://git.manguebit.org/linux
Pull smb client fixes from Paulo Alcantara:
- Fix silent data loss in writeback
Since the move to netfslib a transient failure (a reconnect, a lost
handle, an interrupted wait, -ENOMEM, or a task killed while close()
flushes its dirty pages) ended writeback with the folios clean and
no error, dropping the write.
Retry it instead, bounded by the hard and retrans mount options, and
have umount -f abort the retries and the reconnect and credit waits
so the unmount's own sync can't hang
- Prefer a non-O_DIRECT handle for writeback, as Windows rejects
unaligned I/O on O_DIRECT handles and silently dropped about 1% of
the writes in generic/051
- netfs: keep the prepare_read() and prepare_write() errno across a
reissue, and don't hang a read whose retry is abandoned (the
writeback fixes depend on these)
- Fix an out-of-bounds write when compounding an encrypted SMB2_IOCTL
with a large input, which an unprivileged user can trigger with a
long symlink target
- Fix an out-of-bounds read parsing a DFS target referral, and a
double conversion of the DFS path in setup_dfs_ref()
- Validate security descriptor headers before allocating the query
result, and compare owner and group SIDs by their encoded lengths
- Hold a server reference while queueing reconnect work so the server
can't be freed under the worker
- Hold the inode across cifs_oplock_break() so dropping the handle
reference can't free it before the break is acknowledged
- Flush an inode's deferred handles before opening another of its hard
links, so the open doesn't reuse the lease key under a mismatched
name and get rejected with STATUS_INVALID_PARAMETER
- Skip a NULL channel in __cifs_put_smb_ses()
- Bound the invalid NTLMSSP signature diagnostic
* tag 'cifs-fixes-7.4-rc3' of https://git.manguebit.org/linux: (29 commits)
smb: client: flush deferred handles of other names before a hard link open
smb: client: hold the inode across cifs_oplock_break()
smb: client: stop reconnecting and replaying during a forced unmount
smb: client: fail writeback sends and reopens fast when the server is gone
smb: client: don't replay handle reopens inside SMB2_open()
smb: client: let umount -f stop waiting for reconnects on hard mounts
smb: client: retry writeback after losing the connection, share or handle
smb: client: retry writes that couldn't be issued due to a reconnect
smb: client: don't block dying tasks waiting for writeback on fsync
smb: client: retry writeback on interrupts and allocation failures
smb: client: don't fail writeback preparation if the task is dying
smb: client: issue writes from a worker if the task is dying
smb: client: don't block dying tasks waiting for writeback on close
smb: client: don't spend read retries on reads cut short by a reconnect
smb: client: don't retry failed writes forever regardless of mount options
smb: client: don't give up writeback on the first replayable error
smb: client: let umount -f abort retried reads and writes
netfs: don't hang a read whose retry is abandoned
netfs: keep the prepare_read errno when abandoning read retries
netfs: preserve prepare_write errno on reissue
...
|
||
|
|
b970ee43be |
Merge tag 'erofs-for-7.4-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs
Pull erofs fixes from Gao Xiang: - Fix stacked fs check for file-backed mounts with extra devices - Disallow file-backed mounts on shared backing inodes - Reset metadata offsets when fsoffset= is used to fix xattr reads inside and outside the metabox in ont shot - Refine on-disk format summary * tag 'erofs-for-7.4-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs: docs: erofs: refine the on-disk overview erofs: reset buf->off in erofs_init_metabuf() erofs: treat files shared by inode_share as stacked erofs: apply the stacked fs check to extra file-backed devices |
||
|
|
7e1392a42e |
Merge tag 'net-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Pull networking fixes from Jakub Kicinski:
"Including fixes from netfilter, wireless and bluetooth.
Previous releases - regressions:
- tcp: rate limit receive queue collapsing
- raw: fix ICMP unreachable sent when receive queue is full
- eth: bnxt_en: take RTNL before netif_close() when aborting FW reset
Previous releases - always broken:
- tcp:
- bound snd_cwnd_clamp to TCP_MAX_SND_CWND
- number of fixes for TCP Fast Open
- gro:
- invalidate frag0 after a pull
- avoid parsing headers from shared fragments
- cipso: stop modifying live ip_options_rcu
- udp: do not use a cross-family sk_rx_dst in early demux
- fou: gue: check IP version of held packets for direct IP
encapsulation
- skbuff: preserve fclone lifetime when freeing stolen heads
- eth:
- mlx5e:
- fix crashes on queue stats access to queues without stats
- SHAMPO, disable end padding when relaxed ordering is
- ena: keep the RX buffer mapped if skb allocation fails"
* tag 'net-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (227 commits)
selftests: net: add a test for NSH GSO
nsh: limit recursion in nsh_gso_segment()
selftests: tls: Cover the cap on consecutive empty records
selftests: tls: Extend coverage for zero-length records
selftests: tls: Skip the zero_len tests when TLS is unavailable
tls: Consume empty data records in tls_sw_splice_read()
tls: Break the connection after a burst of empty data records
net: phy: c45: select BASE-T1 type for the forced speed
net/mlx5e: Fix false WARN_ON_ONCE in flow steering cleanup on RX init failure
net/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX
tcp: fix request_sock use-after-free during Fast Open accept()
net: usb: cdc_ncm: don't underflow the NDP room check
net: netns: fix INT_MAX nsid cleanup
amt: use ipv6_hdr() in amt_mldv1_leave_handler()
af_unix: Inherit SO_INQ in unix_stream_connect()
tcp: Pass req->rsk_listener to inet_csk_reqsk_queue_drop() in tcp_check_req().
mailmap: add entries for Hangbin Liu
net: virtio: validate outer protocol of UDP tunnel GSO packets
tun: clear stale skb->protocol of NAPI frags skbs
net: virtio: fix UDP tunnel GSO header of VLAN tagged packets
...
|
||
|
|
d3e7c23ec3 |
Merge tag 'for-7.4-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fixes from David Sterba:
- zoned mode fixes
- fix counting active zones after activation
- redo zone reset after error
- update device lock range during mount and zone loading
to avoid lockdep warnings with device drivers (virtio)
- space accounting and extent buffer handling fixes
- fix keeping zstd workspace for the last level
- handle a real case of a subvolume with 0 refs in the SUBVOL_SYNC
ioctl
- properly handle case of zero num_stripes when reading chunk items
- exclude reloc tree from xarray as it is special and its key does
does not fit unsigned long on 32bit platforms
- in tree-checker, handle extent item tree owner depending on the
features (enabled in simple quota mode)
- fix bio control structure leak when checksumming fails
* tag 'for-7.4-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
btrfs: fix bio counter and bioc leak when async checksumming fails
btrfs: tree-checker: reject extent owner ref without simple quota
btrfs: do not insert the data reloc tree into fs_roots_radix
btrfs: handle zero num_stripes in btrfs_chunk_item_size()
btrfs: reject refs=0 subvolume without DEAD in SUBVOL_SYNC_WAIT
btrfs: zstd: prevent leak of workspace below maximum level
btrfs: zoned: fix lockdep splat on mount
btrfs: zoned: don't wait for ordered extents in do_zone_finish()
btrfs: zoned: avoid underflow of space info bytes_zone_unusable
btrfs: zoned: requeue block group if zone reset bails out
btrfs: zoned: fix possible UAF in wait_eb_writebacks()
btrfs: zoned: only change active zone counter on successful (de)activation
|
||
|
|
ee83899302 |
Merge tag 'pwrseq-fixes-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
Pull power sequencing fixes from Bartosz Golaszewski: - fix a use-after-free bug and a serdev reference leak in pwrseq-pcie-m2 - increase WCN7850 power-up delay in pwrseq-qcom-wcn - make the API contract for pwrseq descriptor serialization clearer * tag 'pwrseq-fixes-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: power: sequencing: pcie-m2: fix serdev controller reference leak power: sequencing: pcie-m2: use devm_mutex_init() power: sequencing: pcie-m2: fix use-after-free in pwrseq_pcie_m2_vregs_enable() power: sequencing: core: add a note on descriptor serialization power: sequencing: qcom-wcn: increase WCN7850 power-up delay |
||
|
|
f34775c0c4 |
Merge tag 'gpio-fixes-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
Pull gpio fixes from Bartosz Golaszewski:
"To no surprise, this batch was mostly driven by issues found by LLMs
(notably: sashiko) during reviews of other changes. This is why it's
bigger than what I normally send at this stage.
Fixes in GPIO core:
- fix a race in shared GPIO descriptor release path
- fix several issues in gpio-shared-proxy: race between concurrent
initial users, dropping votes in error paths and driving the
default value with no votes cast
- fix stack out-of-bounds access bugs in GPIO hog handling
- fix a race in GPIO descriptor consumer label update
- reset lookup flags on each hogged line
- fix GPIO descriptor leak and fast-path cancellation in
gpiod_get_array()
- fix return value in of_gpiochip_instance_match() stub for
!CONFIG_OF
- fix potential misconfiguration of flags for hogged lines on OF
systems
- fix a reference leak in deferred GPIO controller setup error path
Fixes in GPIO drivers:
- fix interrupt handling bugs in gpio-aspeed
- fix an interrupt leak and two UAF bugs in gpio-virtuser
- fix a UAF bugs in gpio-sodaville, gpio-mpc8xxx and gpio-brcmstb
- fix a sleeping-while-atomic bug in gpio-mvebu
- reject unsupported interrupt types in gpio-mpfs
- fix an irqchip leak in gpio-regmap helper
- fix debounce arithmetic in gpio-rockchip
- propagate runtime PM failures in gpio-omap
- defer GPIO chip registration to postcore_initcall() in gpio-sa1100"
* tag 'gpio-fixes-for-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: (26 commits)
gpiolib: fix stack out-of-bounds access in gpiochip_add_hog()
gpio: shared: fix a race in shared desc release path
gpio: sodaville: fix use-after-free bug when registering the irqchip
gpio: virtuser: fix interrupt leak and UAF
gpio: mvebu: fix sleeping-while-atomic in mvebu_gpio_level_irq_mask()
gpiolib: synchronize updates of descriptor labels
gpiolib: of: return -ENOENT from of_gpio_count() stub
gpiolib: fix fast-path cancellation in gpiod_get_array()
gpiolib: fix GPIO descriptor leak in gpiod_get_array()
gpio: of: fix potential misconfiguration of hogged lines
gpio: mpfs: reject unsupported interrupt types
gpio: keep the chip reference when deferred setup fails
gpio: regmap: free the irqchip if adding the irq domain fails
gpio: aspeed: Preserve the pending G7 interrupt status on control writes
gpio: aspeed: Clear only the acked line's G4 interrupt status
gpiolib: reset lookup flags for each hogged line
gpio: virtuser: remove the debugfs files before freeing the line data
gpio: mpc8xxx: Fix potential use-after-free of IRQ domain
gpio: shared-proxy: Drop the vote when switching to input
gpio: shared-proxy: Drive the default value when no votes are cast
...
|
||
|
|
baa6744dc9 |
Merge tag 'acpi-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull ACPI fixes from Rafael Wysocki:
"These fix a mistake in the ACPI APEI GHES code causing recoverable
CPU, memory, CXL and vendor-specific errors reported through GHES to
never show up in a vmcore, address a potential deadlock related to
ACPI device hotplug that causes lockdep to complain and give up, and
fix up the recently added support for _Ixx GPEs:
- Make recoverable CPU, memory, CXL and vendor-specific errors
reported through GHES show up in vmcores by fixing a broken error
severity check in ghes_log_hwerr() (Breno Leitao)
- Avoid printing diagnostic messages for ACPI device objects after
dropping reference to them (Sasha Levin)
- Avoid holding the physical_node_lock for ACPI device objects across
device_offline() and device_online() due to a potential deadlock
that causes lockdep to complain and turn itself off (Sasha Levin)
- Avoid spurious system wakeups from suspend-to-idle on platforms
where an _Ixx GPE is shared by user-wakeup and background events
(Saranya Gopal)"
* tag 'acpi-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
ACPI: s2idle: Handle shared _Ixx GPEs without an EC
ACPI: APEI: GHES: Fix severity check in ghes_log_hwerr()
ACPI: scan: Do not hold physical_node_lock across device_offline() and device_online()
ACPI: scan: Print the offline failure message in acpi_bus_offline()
|
||
|
|
aed8bd53bc |
Merge tag 'pm-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull power management fixes from Rafael Wysocki:
"These address a few issues in the cpufreq core and drivers, including
issues actually seen in the field, a few issues related to runtime PM,
including a false-positive warning introduced relatively recently and
a long-standing defect in the runtime PM core code related to
autosuspend, and revert a problematic recent update of the intel_rapl
power capping driver.
Specifics:
- Revert a recent update of the intel_rapl power capping driver that
caused perf to return bogus values (Dennis Chen)
- Fix the synchronization of boost state updates in cpufreq
(Christian Loehle)
- Fix issues related to system suspend-resume synchronization in the
cpufreq core and intel_pstate driver (Rafael Wysocki)
- Fix P-state index mismatch in extract_io() in the ACPI cpufreq
driver on systems with defective _PSS (Li RongQing)
- Fix issues related to target frequency caching in cpufreq (Rafael
Wysocki)
- Prevent a false-positive warning in pm_runtime_remove() introduced
by a previous fix during the 7.0 development cycle (Zhou Minqiang)
- Extend a recent improvement related to the handling of suppliers
during device runtime-suspend to some previously missed cases in
which it is relevant for consistency (Brian Norris)
- Update runtime PM documentation to reflect new behavior after
recent changes (Stanley Jhu)
- Add last_busy timestamp updates for devices requested to resume
from runtime suspend that are missing if those devices are not
actually suspended (Rafael Wysocki)"
* tag 'pm-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
Revert "powercap: intel_rapl: Expose all package CPUs in PMU cpumask"
PM: runtime: Update last_busy in rpm_resume() for active devices
cpufreq: Fix updates of cached resolved frequency and index
cpufreq: Cache post-resolution target frequency in __resolve_freq()
cpufreq: acpi-cpufreq: fix P-state index mismatch in extract_io()
cpufreq: Serialize global boost updates
cpufreq: Preserve global boost state on failed updates
PM: runtime: Update runtime_pm.rst for non-fatal resume errors
PM: runtime: Only queue an idle check for RPM-linked suppliers (part 2)
PM: runtime: Fix check_flush_dependency warning from pm_runtime_remove
cpufreq: intel_pstate: Use rdmsrq_safe() to read MSR_MISC_PWR_MGMT
cpufreq: intel_pstate: Clear last written P-state value on suspend
cpufreq: Force passing target frequency to driver during resume
cpufreq: Improve suspend-resume synchronization
cpufreq: Hold the policy write lock when changing boost state
|
||
|
|
df43528e1b |
Merge tag 'rust-fixes-7.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux
Pull Rust fix from Miguel Ojeda: - Fix build error in the upcoming Rust 1.100 when using an AutoFDO profile by supporting the stabilized name for 'profile-sample-use' * tag 'rust-fixes-7.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux: kbuild: rust: support stabilized flag `-Cprofile-sample-use` for Rust >= 1.100 |
||
|
|
ae7e0f3227 |
Merge tag 'tpm-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
Pull TPM fixes from Jarkko Sakkinen: - Add the missing check of the return value of crypto_kpp_set_secret() when creating an authenticated HMAC session - Check the payload size of EVENT_TAG entries before reading them, in order to avoid out-of-bounds reads with a truncated TPM 1.x event log - Flush the timeout work outside buffer_mutex in tpm_common_read(), as the work itself takes the same mutex, which can lead to a deadlock - Fix a memory leak of the event log buffer in the error path of tpm_read_log_acpi() * tag 'tpm-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd: tpm: acpi: Fix memory leak at tpm_read_log_acpi() error path tpm: flush timeout work outside buffer_mutex to avoid deadlock tpm: eventlog: check the payload size before reading tag events tpm: Check return value of crypto_kpp_set_secret() |
||
|
|
9d66f26fef |
Merge tag 'vfs-7.4-rc3.fixes.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Pull more vfs fixes from Christian Brauner:
- inode: Let the shrinker reclaim inodes with I_METADATA_WRITEBACK like
any other clean inode and have evict() write out what the bit tracks
unless the inode is being deleted.
Since v7.3 ext2, ext4 without a journal, fat, udf and minix set
I_METADATA_WRITEBACK when they copy an inode into its buffer and only
fsync() and friends clear it again. inode_lru_isolate() took such
inodes off the LRU expecting something to put them back once the bit
was gone but nothing ever did. So they couldn't be reclaimed until
something fsynced them or the filesystem was unmounted.
On ext4 without a journal an atime update was enough to pin an inode,
and creating 60000 small files in a memory cgroup limited to 96M got
the task OOM killed after about 43000 of them. Now all 60000 get
created.
- dcache:
- Give d_set_mounted() a seqlock of its own that d_invalidate()
waits on after unhashing the dentry.
Since v6.17 d_set_mounted() doesn't bump the seqcount of
rename_lock anymore, so a mount racing d_invalidate() could end
up below the unhashed directory. Nobody can reach it there and it
pins the subtree until the mount namespace goes away. With a FUSE
directory 3000 levels deep 151 of 200 bind mounts racing
FUSE_NOTIFY_INVAL_ENTRY ended up there.
- Only take busy secondary roots off ->s_roots in do_one_tree() so
that umount waits for a racing eviction of an idle one. Since
v7.3 it didn't, which ended in busy inodes after unmount and an
iput() on a dead superblock.
- Make a disconnected dentry a secondary root when the mount on it
goes away so that umount finds it and waits for its eviction.
With CAP_DAC_READ_SEARCH such a dentry can be mounted on via
open_by_handle_at() and move_mount() and umount racing its
eviction ended the same way.
- splice:
- Remove pipe buffer stealing as you and David suggested.
fuse and virtio_console were the only users of ->try_steal() and
now always copy, as they already did when a steal failed.
Stealing took page cache folios out of their files and turned
pages into page cache folios and back. SPLICE_F_GIFT and
SPLICE_F_MOVE are still accepted and fuse still advertises
FUSE_SPLICE_MOVE so servers that ask for it mount as before.
- Clamp a ->write_iter() result that is larger than the iterator in
iter_file_splice_write() instead of only warning about it.
Otherwise the pipe releases buffers past its head.
- ns:
-Allocate the namespace id before calling the namespace_init LSM
hook that was added this merge window. Landlock now logs the
allocated id instead of zero when it denies the creation of a
namespace.
-Don't mark the arguments of the namespace_init and namespace_free
hooks as trusted for bpf LSM programs. Both see namespaces that
are only partially set up or on their way out.
- proc: Don't let proc_sys_call_handler() report more bytes written
than it was passed when a cgroup/sysctl bpf program replaced the
value with a longer one. A splice() into the sysctl file then walked
past the pipe head.
- coda: Pass the append state of each write on to the container file
with RWF_APPEND or RWF_NOAPPEND. coda_open() sets O_APPEND on the
container file after its iocb flags were cached, so an O_APPEND write
overwrote existing data instead of appending.
- adfs: Reject big directory entries in adfs_fplus_getnext() whose name
doesn't fit into the name buffer. A crafted image overflowed it on
the stack.
* tag 'vfs-7.4-rc3.fixes.2' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: (28 commits)
nstree: drop ns_tree_add_raw()
ns: allocate the namespace id before the namespace_init hook
bpf: don't mark namespace_init and namespace_free arguments as trusted
splice: replace nosteal_pipe_buf_ops with default_pipe_buf_ops
splice: remove pipe buffer stealing
fuse: don't move pipe buffers into the page cache
virtio_console: copy pipe buffers in splice_write()
fs/adfs: bound directory entry name length in adfs_fplus_getnext()
dcache: let umount find a disconnected ex-mountpoint
dcache: wait for a racing eviction of a secondary root
dcache: let d_invalidate() wait for a d_set_mounted() in flight
fat: drop mmb_sync() from fat_evict_inode()
udf: drop mmb_sync() from udf_evict_inode()
minix: drop mmb_sync() from minix_evict_inode()
ext4: drop mmb_sync() from ext4_evict_inode()
ext2: drop mmb_sync() from ext2_evict_inode()
fs: don't strand I_METADATA_WRITEBACK inodes outside the LRU
fs: set I_METADATA_WRITEBACK in mmb_mark_buffer_dirty()
udf: don't allocate the inode block in udf_sync_inode_metadata()
minix: don't read the inode block in minix_sync_inode_metadata()
...
|
||
|
|
79eb6679ef |
Merge tag 'loongarch-fixes-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
Pull LoongArch fixes from Huacai Chen: "Fix several bugs in ACPI IOVT, KEXEC, Hibernation, BPF JIT and KVM" * tag 'loongarch-fixes-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson: LoongArch: KVM: Reject repeated PCH-PIC CTRL_INIT LoongArch: KVM: Propagate real error code in kvm_pch_pic_create() LoongArch: KVM: Clear device pointer in irqchip destroy callbacks LoongArch: BPF: Make use of beqz and bnez for trampoline branches LoongArch: BPF: Make arena support depend on 128-bit cmpxchg LoongArch: Restore KFENCE pages through DMW on resume LoongArch: kexec_file: Fix elf_headers memory leak in retry loop LoongArch: kexec_file: Fix a modified cmdline leak ACPI: LoongArch: Validate ACPI IOVT device entries ACPI: LoongArch: Add checksum validation for ACPI IOVT table ACPI: LoongArch: Fix incorrect pointer in acpi_iovt_init() |
||
|
|
0eaee8fc93 |
Merge tag 'v7.4-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fixes from Herbert Xu: - Fix potential overflow from malformed keys in caam - Fix use-after-free in essiv - Fix potential dead-lock in ccp when combined with KVM changes in mainline * tag 'v7.4-p2' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: ccp - Make usage of sev_cmd_mutex more granular crypto: essiv - fix use-after-free in AEAD path crypto: caam - reject overlong RSA CRT parameters |
||
|
|
067c5c24ce |
Merge tag 'page_alloc-for-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/page_alloc
Pull page allocator fixes from Vlastimil Babka: - Stable fixes for various races of page allocator's reading of zonelists and memory hotplug activity. These can result in BUGs, allocation failures or allocations from wrong nodes (Gregory Price, Josef Bacik) - Stable fixes for bugs free_pages_nolock(), page_frag allocation, page isolation, that can trigger WARNs, degraded operation or infinite loop (Josef Bacik) * tag 'page_alloc-for-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/page_alloc: mm/page_alloc: remove the zone_spans_pfn() check from get_pfnblock_bitmap_bitidx() mm/memory_hotplug: resize zones under their seqlock mm: page_isolation: do not take slab pages for free mm: page_frag: refill the cache for large fragments mm/page_alloc: clear ->private of deferred free pages mm/page_alloc: don't undo another isolation in alloc_contig_range mm/mmzone: remove zonelist_node_idx() mm/mempolicy: read the zoneref slot once in mempolicy_slab_node() mm/page_alloc: retry alloc_contig_pages() when the zonelist is rebuilt mm/hugetlb: retry the pool walk when the zonelist is rebuilt mm/page_alloc: retry allocations that raced with a zonelist rebuild mm/mmzone: read each zoneref slot once when filtering by nodemask mm/page_alloc: snapshot the preferred zone against shrink rebuilds mm/mmzone: read the zoneref slot once in zonelist_zone() mm/page_alloc: detect zonelist rebuilds from memory hot-add mm, page_alloc: pass zone pointer to trace_reclaim_retry_zone mm/page_alloc: keep the pagesets of an empty zone mm/page_alloc: reset can_retry_reserves when the slowpath restarts |
||
|
|
f7c68e9d5d |
Merge tag 'mmc-v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc
Pull MMC fixes from Ulf Hansson: "MMC host: - jz4740: Remove the host before resetting the controller - meson-gx: Fix support for busy detection - mmci: Fix DMA channel leak when mmc_add_host() fails - omap: Synchronize clock timer before disabling fclk - sdhci-brcmstb: Don't log an error for missing BOOT registers - sdhci-esdhc-imx: Map unsupported driver type to Type B - sunxi: Fix clock and runtime PM leaks on probe failure MEMSTICK: - Don't clear dev->driver in memstick_device_remove()" * tag 'mmc-v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: mmc: jz4740: Remove the host before resetting the controller mmc: sunxi: fix clock and runtime PM leaks on probe failure mmc: mmci: fix DMA channel leak when mmc_add_host() fails mmc: meson-gx: report the longest busy wait the controller can do mmc: meson-gx: report busy from DAT0 alone mmc: meson-gx: honour the busy timeout for R1b commands mmc: meson-gx: name the limit of the CMD_CFG timeout field mmc: sdhci-brcmstb: don't log an error for missing BOOT registers memstick: core: don't clear dev->driver in memstick_device_remove() mmc: omap: synchronize clock timer before disabling fclk mmc: sdhci-esdhc-imx: map unsupported driver type to Type B |
||
|
|
a9e719883c |
Merge tag 'xsa531+532-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen fixes from Juergen Gross: "Two fixes for the xen-netback driver. One is a UAF (again - I failed doing a complete fix last week), and one a possible double unmap of a guest's ring-page, resulting in DoS of the host or another guest" * tag 'xsa531+532-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip: xen-netback: Zero out sring pointers on unmap xen-netback: Fix XenBus connection failure cleanup |
||
|
|
5b84c729a8 |
Merge branch 'amd-iommu-fix'
Merge AMD iommu fix from Jörg Rödel: "Improper validation of device table accesses in the IOMMU may allow an out-of-bounds read of a Device Table Entry (DTE), potentially resulting in loss of system integrity or denial of service. This issue does not manifest when the device table is configured to its maximum supported size (Suravee Suthikulpanit)" * amd-iommu-fix: iommu/amd: Force device table to maximum size |
||
|
|
5f5be6584c |
Merge tag 'vfs-7.4-rc3.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Pull vfs fixes from Christian Brauner:
- libfs: Make readdir on tmpfs walk the offset tree in offset order
instead of d_children to avoid skipping entries or relisting the
whole directory
It's faster too. Listing a million entries takes 114ms instead of
146ms, and 113ms instead of 470ms with four processes listing in
parallel
- iomap: Finish the ->iomap_next() conversion that started in v7.3
The nilfs2 and fuse ext_map iomap code added this merge window is
converted so now we can remove the ->iomap_begin()/->iomap_end()
fallback. We waited until the new iomap users from other trees were
in mainline otherwise this would have been very messy
- errseq: Retry with the current value when the cmpxchg() in
errseq_check_and_advance() fails to avoid an old value coming back
later hiding the errors
- aio: Hold an extra count for exit_aio() itself so it can't return
before the last free_ioctx_reqs() callback has called complete()
- pidfd: Fail the namespace ioctls with EREMOTE unless the target is
visible in the caller's pid namespace like PIDFD_GET_INFO does
- eventpoll: Wake the next waiter when a woken waiter returns early
because of a fatal signal to avoid sleeping forever
- backing-file: Pass RWF_NOAPPEND on to synchronous writes to the
backing file
- initrd: Flush the deferred fput() of the ramdisk file before mounting
root
- iov_iter: Take an unsigned long segment count in import_iovec()
The upper 32 bits of the count passed to readv(), writev() and
friends were dropped before the UIO_MAXIOV check
- splice: Advance the pipe tail before checking for a full bvec array
in splice_to_socket(). The last buffer was counted again, so MSG_MORE
was set although the pipe was empty and small TCP transfers waited
for the cork timeout
- vfs:
- Reject negative offsets for SEEK_DATA and SEEK_HOLE in
default_llseek() and use must_set_pos() for its whence handling
- Only clear tv_nsec in timestamp_truncate() when clamping changed
the seconds. Timestamps whose seconds were exactly at a
filesystem time limit lost their subsecond part
- Don't leak the kernel-internal STATX_ATTR_CHANGE_MONOTONIC in
stx_attributes_mask
- Clamp the FIONREAD result to the int range so a file with 4 GiB
left isn't reported as empty
- Fix the SEEK_CUR f_lock check
- selftests: Fix the statmount and mount_setattr tests on 32-bit and
s390, build the fchmodat2 and openat2 tests without sanitizers when
the toolchain lacks the runtimes and fix a clang warning in the
mount-notify test
- docs: Fix a docutils warning in porting.rst
* tag 'vfs-7.4-rc3.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: (28 commits)
fs: fix the SEEK_CUR f_lock condition
splice, net: avoid MSG_MORE when the bvec array fills
aio: don't let exit_aio() return before complete() is done
fs: porting.rst: use literal string to avoid warning
selftests/fs/mount-notify: fix the indentation in the fsmount test
selftests: probe for sanitizer support in fchmodat2 and openat2
selftests/mount_setattr: build with a 64-bit off_t
selftests/statmount: fix format warnings on 32-bit and s390
fs: use must_set_pos() in default_llseek()
fs: reject negative offsets for SEEK_DATA and SEEK_HOLE in default_llseek()
pidfd: restrict task access ioctls to the caller's pid namespace
fs: clamp FIONREAD result to int range
eventpoll: wake the next waiter when a woken waiter is killed
statx: don't leak STATX_ATTR_CHANGE_MONOTONIC in stx_attributes_mask
vfs: preserve subsecond timestamps at filesystem time limits
iov_iter: take an unsigned long segment count in import_iovec()
lib/tests: errseq: add a concurrent check_and_advance test
errseq: don't let errseq_check_and_advance() hide later errors
backing-file: pass RWF_NOAPPEND to synchronous writes
initrd: flush deferred fput() before mounting root
...
|
||
|
|
05e72bd338 |
Merge tag 'x86_bugs_tsa_zen5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 TSA fix from Borislav Petkov: - A mitigation for AMD Zen5's version of TSA * tag 'x86_bugs_tsa_zen5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/bugs: Mitigate TSA on AMD Zen5 |
||
|
|
b3dfbde62c |
Merge tag 'linux_kselftest-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull kselftest fixes from Shuah Khan: "Fixes run_fat_tests hang, false bashism in kprobe_non_uniq_symbol.tc, and ftrace invalid test skip" * tag 'linux_kselftest-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests/ftrace: Add missing spaces after ! in probe syntax tests tracing/selftests: Fix false bashism in kprobe_non_uniq_symbol.tc selftests/filesystems: Fix run_fat_tests hang |
||
|
|
f1bfe40039 |
Merge tag 'keys-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd
Pull key fixes from Jarkko Sakkinen:
- Expand key->datalen and key->quotalen in order to avoid integer
truncation and the leak of quota.
- Enforce KEY_MAX_DESC_SIZE limits across in-kernel and
payload-generated paths.
- Verify the key identity in __key_unlink_begin() as type and
description could also refer to a more recently linked key with
matching properties as the one being unlinked.
- Fix key update race with key GC
* tag 'keys-v7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd:
KEYS: Protect the update method check against type removal
KEYS: Verify the key identity in __key_unlink_begin
KEYS: Reject descriptions larger than KEY_MAX_DESC_SIZE
KEYS: Expand key->{datalen,quotalen} to unsigned int
|
||
|
|
e4fb7e5e8e |
Merge tag 'probes-fixes-v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull probe fixes from Masami Hiramatsu:
"Fix registration and unregistration error handling:
- Release the instruction slot via arch_remove_kprobe() and propagate
the error code when arm_kprobe() fails in
__register_kprobe() instead of leaking the slot and returning 0.
- Skip rethook_free() and kretprobe holder cleanup in
unregister_kretprobes() when __unregister_kprobe_top() fails, and
clear rp->rh after synchronize_rcu() to avoid double free and NULL
pointer dereferences.
- Resolve the target address up-front in register_kretprobe() and
check for re-registration before allocating resources so
symbol_name-based re-registration does not corrupt the active
kretprobe on error.
Fix optprobe state transitions during forced unoptimization:
- Disarm a disabled optprobe in unoptimize_kprobe() when forced
unoptimization moves it directly to a cooling or freeing list, for
preventing breakpoint callback of freed probes.
- Skip disarming unhashed optprobes in the optimizer dispatch path so
a newly registered probe at the same address does not get disarmed
(or have freed module text written to).
- Keep a reused cooling optprobe marked disabled in
reuse_unused_kprobe() so register_aggr_kprobe() or enable_kprobe()
properly arms it, and skip redundant force-unoptimization cleanup
for already-unoptimized cooling probes.
Fix symstr buffer overflow and eprobe triggers:
- Format symstr symbols into a temporary buffer and copy only up to
the reserved field length (updating __data_loc accordingly) to
prevent overwriting the trace record if a probed pointer changes
between sizing and storing passes.
- Install and remove the eprobe event trigger for each trace instance
file that enables the eprobe rather than only on first enable and
last disable, so secondary instances record events and disabled
triggers do not reference freed eprobes.
Replace printk() with trace_printk() in probe handlers:
- Replace printk() and stack_trace_print() with trace_printk() and
trace_dump_stack() in kprobe and fprobe sample modules, and depend
on CONFIG_EVENT_TRACING.
- Document in kprobes.rst and fprobe.rst that calling printk()
directly from probe handlers can deadlock on console or scheduler
locks and recommend trace_printk() instead"
* tag 'probes-fixes-v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
kprobes: Arm reused optprobe on cooling list
kprobes: Do not disarm unhashed optprobe on dispatch
kprobes: Disarm disabled optprobe on forced unoptimization
tracing/eprobe: Install the trigger for every instance that enables the eprobe
tracing/probes: bound symstr stores to reserved length
docs: trace: Warn against using printk() in probe handlers
samples/fprobe: Use trace_printk() and trace_dump_stack()
samples/kprobes: Use trace_printk() in probe handlers
kprobes: Validate re-registration earlier in register_kretprobe()
kprobes: Fix double free and NULL deref in unregister_kretprobes()
kprobes: Fix error return and slot leak in __register_kprobe()
|
||
|
|
7475ea8b58 | Linux 7.4-rc2 | ||
|
|
e0d8e8de8b |
Merge tag 'devm_kmalloc_obj-v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull devm_kmalloc_obj conversion from Kees Cook: - treewide refresh of kmalloc_obj() conversions - devm_kmalloc_obj conversion rules added to Coccinelle scripting - treewide conversion of devm_kmalloc() family to devm_kmalloc_obj() * tag 'devm_kmalloc_obj-v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: treewide: Convert devm_kmalloc() family to the devm_kmalloc_obj() family coccinelle: kmalloc_obj: Include devm_kmalloc_obj conversion rules treewide: refresh kmalloc_obj() conversions |
||
|
|
8a65162514 |
Merge tag 'driver-core-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core
Pull driver core fixes from Danilo Krummrich: - Fix an unused-function warning in the Rust I/O code that breaks builds with CONFIG_PCI disabled and CONFIG_WERROR enabled - Fix kernfs sparse warnings on SMP Alpha when inheriting a parent node's group ID - Add Johan Hovold as an auxiliary bus maintainer * tag 'driver-core-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core: MAINTAINERS: update auxiliary bus entry kernfs: avoid READ_ONCE() on a kgid_t in kernfs_new_node() rust: io: fix unused Flags::from_raw warning without CONFIG_PCI |
||
|
|
e6f836ef78 |
Merge tag 'ata-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux
Pull ata fixes from Niklas Cassel: - Allow re-enabling NCQ, after EH disabled it, by writing the current queue depth to the queue_depth sysfs attribute (Igor) - Retry failed non-NCQ commands when their sense data asks for a retry, as is already done for NCQ commands. Previously, such non-NCQ commands were never retried (me) - Only check the power mode of ATA and ZAC devices before putting them in standby mode (on suspend, shutdown or device removal). libata never puts other devices, such as ATAPI devices, in standby mode, and some ATAPI devices reject the CHECK POWER MODE command (Giuseppe) - Fix several bugs in the MODE SELECT translation. Reject parameter lists with data after the mode page before the mode page is handled. Previously, a rejected command could leave the CDL enabled state tracked by libata out of sync with the device, and data after the control mode page was silently ignored. Reject mode pages with SUBPAGE CODE FFh, and mode pages with the SPF bit set but SUBPAGE CODE 00h, which were incorrectly accepted. The commit that passes the whole mode page to the MODE SELECT handlers might look like a cleanup, but it is a fix, and thus has a Fixes tag: the FIELD POINTER pointed 2 bytes (page_0 format) or 4 bytes (sub_page format) before the invalid byte in the mode page (me, Shao) - Disable the enclosure management (SEMB) port of the Marvell 88SM9705 port multiplier. The port never answers SRST, and the resulting EH retries delayed disk discovery by minutes (Marco) - Reject data-in commands, e.g. INQUIRY, submitted via SG_IO with a data-out buffer, whose pages may be pinned without write access. Writing a reply to such a buffer could oops the kernel (Zhao) * tag 'ata-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux: ata: libata-scsi: reject data-in commands with a data-out buffer ata: libata-pmp: disable the SEMB port on Marvell 88SM9705 ata: libata-scsi: set the field pointer when rejecting CDL ata: libata-scsi: pass the whole mode page to the MODE SELECT handlers ata: libata-scsi: fix MODE SELECT field pointer for block descriptor length ata: libata-scsi: fix MODE SELECT field pointer for unsupported subpages ata: libata-scsi: reject MODE SELECT mode pages with a wrong SPF bit ata: libata-scsi: do not accept subpage code FFh in MODE SELECT ata: libata-scsi: fix MODE SELECT handling of data after the mode page ata: libata-core: Check device support before querying power state ata: libata-eh: Retry non-NCQ commands when their sense data asks for it ata: libata-sata: allow re-enabling NCQ with the same queue_depth |
||
|
|
25fccf436e |
Merge tag 'firewire-fixes-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
Pull firewire fix from Takashi Sakamoto: "Fix a race in the 1394 OHCI driver, introduced in v7.4-rc1 Queueing an AT local request in interrupt context can race with dequeueing requests in a workqueue without disabling interrupts, potentially leading to a deadlock" * tag 'firewire-fixes-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394: firewire: ohci: avoid potential deadlock when queueing AT local requests |
||
|
|
2651f6deb3 |
Merge tag 'mips-fixes_7.4_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
Pull MIPS fixes from Thomas Bogendoerfer: "Alchemy: - Fix /proc/interrups - Preserve ethernet address from PROM SGI: - IP27: Fix NMI dump - IP30: make defconfig more useful - IP32: added workarounds for crime revision 1.1 Others: - Fix compressed kernel linked with ld.lld - Fix IDE ports on Cobalt devices - Reject wrong affinity settings on SB1250 platforms" * tag 'mips-fixes_7.4_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: MIPS: SB1250: Validate and update IRQ affinity MIPS: Cobalt: Include legacy IDE ports in the PCI I/O window MIPS: sgi-ip32: Report the real CRIME revision MIPS: sgi-ip32: Leave MACE PCI control alone in config accesses MIPS: sgi-ip32: Mask MACE PCI interrupts in CRIME only MIPS: mm: Fix the cache error vector jump for XKPHYS kernels MIPS: Alchemy: Save the Ethernet address before reusing PROM memory MIPS: Alchemy: Register interrupt chips with the IRQ core MIPS: SGI-IP30: fix the defconfig defaults for the Bridge PROM and RTC MIPS: boot: compressed: fix the vmlinuz link with ld.lld MIPS: boot: compressed: place .rodata.* and discard .MIPS.abiflags MIPS: Avoid dead code/data elimination when using recordmcount MIPS: SGI-IP27: print the NMI dump on an nbcon console |
||
|
|
11b6438b9e |
Merge tag 'x86-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar: - Select the BHI mitigation based on the attack vector properly (Breno Leitao) - Fix i386-gcov build bug in csum_ipv6_magic() due to overly strict asm constraints that cannot be met in that build mode (Rosen Penev) - Fix Vmware-guest i386 high-bandwidth hypercall arguments under UNWINDER_GUESS & disabled frame-pointers (Zack Rusin) - Fix resctrl AMD ABMC counter ID field width (Babu Moger) - Fix restctrl pqos tool ABI breakage by reverting the mbm_assign_mode to default mode at boot (Babu Moger) - Initialize wall clock in get_rtc_noop() (Naman Jain) - Fix ptrace historic ABI quirk regression (Thomas Gleixner) - Add Drew Fustini as resctrl reviewer and Ben Horgan as fs/resctrl reviewer - Clear SEV RMPOPT when segmented RMP is disabled by firmware but is advertised as available (Ashish Kalra) - Set up SEV RMPOPT only on an active SNP host (Ashish Kalra) - Don't emit KCFI_REFERENCE() in modules (Ridge Lomont) - Ignore negative NMI handler durations (Breno Leitao) - Fix off-by-one error in boot-time sme_clear_pgd() (Thorsten Blum) - Fix ASID allocation bug (Chris Mason) * tag 'x86-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/mm: Fix global ASID handed out to two processes x86/boot: Fix off-by-one error in sme_clear_pgd() MAINTAINERS: Add Ben Horgan as fs/resctrl reviewer x86/nmi: Ignore negative NMI handler durations x86/kcfi: Don't emit KCFI_REFERENCE() in modules x86/sev: Set up RMPOPT only on an active SNP host x86/sev: Clear RMPOPT when segmented RMP is disabled by firmware MAINTAINERS: resctrl: Add myself as reviewer x86/entry: Fix ptrace regression x86/init: Initialize wall clock in get_rtc_noop() x86,fs/resctrl: Keep mbm_assign_mode in default mode at boot x86/resctrl: Correct ABMC counter ID field width x86/vmware: Fix i386 high-bandwidth hypercall arguments x86/csum: Relax the len and proto constraints in 32-bit csum_ipv6_magic() x86/bugs: Select the BHI mitigation based on the attack vector properly |
||
|
|
2ebb9de23b |
Merge tag 'sched-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Ingo Molnar: - Fix this_bw on class change of a dying SCHED_DEADLINE task (Nickolai Zeldovich) - Account I/O waits independently of delayed dequeue (Christian Loehle) - Clear throttle state when leaving the fair class (Daehyeon Ko) - Fix u32 truncation of the PELT period count (Hui Su) - Fix imbalanced cluster static-key updates that can mistakenly disable cluster-aware scheduling (Hui Su) - Fix active load balancing logic to ignore non-fair current in alb_break_llc() (Kayra Cizmeci) * tag 'sched-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/cache: Ignore non-fair current in alb_break_llc() sched/topology: Balance cluster static-key updates sched/pelt: Fix u32 truncation of the PELT period count sched/fair: Clear throttle state when leaving the fair class sched/core: Account I/O waits independently of delayed dequeue sched/deadline: Fix this_bw on class change of a dying task |
||
|
|
40f3717a64 |
Merge tag 'perf-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull perf events fixes from Ingo Molnar:
- Fix sideband event output when only requesting attr.defer_output
(Ian Rogers)
- Clamp deferred callchain entry count to fit u16 header.size
(Ian Rogers)
- Various AMD IBS fixes (Ravi Bangoria):
- Reset CPU0 IBS state on syscore resume
- Fix kernel address leak via REGS_USER and REGS_INTR
- Simplify/fix event state handling with IBS_CAPS_DIS
- Revert AUX page allocation order default to be continuous (Leo Yan)
- Don't send SIGTRAP after exec removed the event (Danish Khateeb)
* tag 'perf-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
perf/core: Don't send SIGTRAP after exec removed the event
Revert "perf/aux: Allocate non-contiguous AUX pages by default"
perf/amd/ibs: Simplify event state handling with IBS_CAPS_DIS
perf/amd/ibs: Fix kernel address leak via REGS_USER and REGS_INTR
perf/amd/ibs: Reset CPU0 IBS state on syscore resume
perf/core: Clamp deferred callchain entry count to fit u16 header.size
perf/core: Include perf_event_attr::defer_output in is_sb_event() check
|
||
|
|
d1829ebf4a |
Merge tag 'locking-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull locking fixes from Ingo Molnar: - Fix lockdep message output (Zhuangzhuang Wang) - Fix OSQ memory ordering bugs, one of which can cause unlink queue corruption (Peter Zijlstra) * tag 'locking-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: locking/osq: Fix unlink queue corruption locking/osq: Switch osq_wait_next()/atomic_cmpxchg() ordering locking/lockdep: Fix inverted "on"/"last" CPU label in lockdep_print_held_locks() |
||
|
|
bef911b806 |
Merge tag 'rust-fixes-7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux
Pull Rust fixes from Miguel Ojeda:
"Toolchain and infrastructure:
- Fix build error with bindgen 0.73 in certain configs such as
allmodconfig by deriving 'Zeroable' for opaque array wrappers.
'kernel' crate:
- 'cpufreq' module: clean 'undocumented_unsafe_blocks' Clippy warning
for Rust <= 1.86"
* tag 'rust-fixes-7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux:
rust: bindings: derive Zeroable for bindgen's opaque array wrappers
rust: cpufreq: fix `undocumented_unsafe_blocks` in `PolicyCpu::from_cpu()`
|
||
|
|
fa4ad798f6 |
Merge tag 'for-7.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fixes from David Sterba:
"A btrfs fixes. The ones that could have some user noticeable impact
are enumerated, the rest is one-liners.
- fix chattr failing on files with nodatasum and compress flags
- fix inode defrag status with concurrent truncation so it's not
skipped in defrag in the future
- fix merging compressed extent in fiemap output
- fix deleting wrong subvolume by id if it gets renamed during the
ioctl
- error handling fixes: sysfs, quotas, fs-verity, scrub, zoned mode"
* tag 'for-7.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
btrfs: zoned: fix double free of bitmaps on clone failure
btrfs: prevent deleting the wrong subvolume by ID
btrfs: scrub: fix race between scrub and scrub progress ioctl
btrfs: scrub: fix race leading to use-after-free in the scrub progress ioctl
btrfs: scrub: fix lost wakeup and hang when cancelling a scrub that is finishing
btrfs: scrub: fix lost error return value when scrubbing raid56 parity stripe
btrfs: fix fiemap merging compressed extents
btrfs: fix the fsverity callback where unexpected range is verified
btrfs: verity: propagate orphan insertion errors when enabling verity
btrfs: sysfs: restore NOFS context on early return in btrfs_sysfs_add_block_group_type()
btrfs: defrag: prevent inode truncated to zero from not being defragged again
btrfs: cleanup dirty_cowonly_roots during btrfs_free_fs_roots()
btrfs: cleanup qgroup swapped blocks at root release
btrfs: always remove quota_root from dirty_cowonly_roots
btrfs: unwind device add when sysfs registration fails
btrfs: fix chattr failing on nodatasum files that have the compress flag
|
||
|
|
7f75cd8ccd |
Merge tag 'ksmbd-for-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/smb
Pull smb server updates from Namjae Jeon: - Validate EA-name NUL termination to prevent out-of-bounds reads in debug logging. Return STATUS_EA_LIST_INCONSISTENT for malformed EA names in CREATE and SET_INFO requests. - Grant the owner's implicit READ_CONTROL and WRITE_DAC rights when no ACE names it, including MAXIMUM_ALLOWED handling, while respecting applicable OWNER RIGHTS ACEs. - Check group membership before granting permissions from a POSIX ACL group entry, preventing unintended access when a caller's UID matches the group's numeric GID. - Avoid reading past the DACL when logging an access denial by printing the requested and allowed access masks instead. - Handle unauthenticated sessions in procfs reporting without dereferencing a NULL session->user. - Fix credential cleanup on attribute lookup failures during durable handle reconnect or request replay, preventing subsequent requests from running with another user's credentials. - Fix read-only share handling for named stream creation, including AFP_AfpInfo synthesis on Time Machine shares. - Validate DELETE access for FILE_DELETE_ON_CLOSE opens, including MAXIMUM_ALLOWED handling, to prevent unauthorized deletion or delete-pending states. * tag 'ksmbd-for-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/smb: ksmbd: require NUL-terminated EA names ksmbd: let the owner read and change the DACL when no ACE names it ksmbd: grant a POSIX ACL group entry only to the group's members ksmbd: do not read past the DACL in the access denied debug message ksmbd: fix NULL pointer dereference in session_user_name() and session_account_type() ksmbd: revert fsids on durable reconnect and replay failure ksmbd: enforce the read-only share flag when creating a stream ksmbd: require DELETE access for delete-on-close opens |
||
|
|
12419f306c |
Merge tag 'ntfs-for-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs
Pull ntfs fixes from Namjae Jeon: - Don't allow compression to be enabled through system.ntfs_attrib on volumes with clusters larger than 4 KiB, preventing out-of-bounds accesses in the compressed read path. - Don't allow resident attribute values to overlap the attribute header, preventing malformed records from causing writes outside the MFT record buffer. - Fix recursive acquisition of the mapping invalidate lock when writing to non-resident named streams through NTFS_IOC_STREAM_WRITE. - Keep the file size unchanged when extending the initialized size fails, avoiding unintended truncation and page-cache removal. - Avoid integer overflow when limiting attribute reads to the attribute size. - Initialize the promoted index entry's child VCN before inserting it into the parent during an index split. - Validate index entry VCNs and return an error for negative attribute read positions before they reach pointer arithmetic. - Fix cleanup after ACL initialization fails in __ntfs_create(), avoiding an erroneous free of $MFT, unmapping an unmapped record, and unlocking mutexes that were never held. * tag 'ntfs-for-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs: ntfs: don't allow compression on volumes with clusters larger than 4K ntfs: don't allow resident values to overlap the attribute header ntfs: fix a self-deadlock on writes to non-resident named streams ntfs: keep the file size on a failed initialized-size extension ntfs: avoid overflow when limiting attribute read length ntfs: initialize VCN when inserting index entries ntfs: reject negative attribute read positions ntfs: Fix error handling in __ntfs_create() |
||
|
|
a41e364995 |
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fixes from James Bottomley: "Mostly fixes in drivers. The three core changes are moving the target reap into the main exit path of pseudo device allocation to fix a leak and a couple of minor error propagation updates in bsg. The largest driver fix is the rethreading of Buslogic to enable context locking that was held back from the merge window pull due to problems spotted by the maintainer" * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: scsi: target: tcmu: Fix divide-by-zero in data_pages_per_blk store scsi: target: Verify the iSCSI ISID is null-terminated scsi: bsg: Report io_uring data copyback failures scsi: bsg: Report synchronous data copyback failures scsi: target: Validate REGISTER AND MOVE TransportID length scsi: mpt3sas: Register devices during SANITIZE scsi: libsas: Add __printf attribute to sas_ata_printk() scsi: target: Fix demo-mode dynamic ACL dev-entry UAF vs LUN teardown scsi: aha1542: Remove unneeded scsi_dma_unmap() call scsi: BusLogic: Prepare for enabling lock context analysis scsi: BusLogic: Pass the host pointer directly to several functions scsi: ufs: core: Change the error check sequence for auto hibern8 scsi: core: Balance the pseudo target reap reference scsi: scsi_debug: Drain target cleanup before module exit scsi: aic79xx: Fix NULL pointer dereference in device reset scsi: aic7xxx: Use default settings on the SGI O2 onboard controllers scsi: aic7xxx: Fix REQUEST SENSE allocation length on big-endian hosts |
||
|
|
c1c70a8431 |
Merge tag 'spi-fix-v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
Pull spi fixes from Mark Brown: "As well as a few driver specific fixes we have a couple of core fixes here. One avoids requesting interrupts until we have validated that we have a SPI device, avoiding triggering warnings on boot. The other avoids a request for a zero length scatterlist triggering a BUG_ON() in swiotlb on 64k page systems, this was due to using both DIV_ROUND_UP() and min() to compute lengths" * tag 'spi-fix-v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: spi: cadence-quadspi: Fix race between DMA completion and transfer start spi: ljca: Don't require data in write replies spi: acpi: only look up the IRQ of confirmed SPI devices spi: pic32-sqi: fail transfer when the BD ring is exhausted spi: fix zero-length scatterlist entries for vmalloc buffers spi: rtk-nor: Limit exec_op writes to one byte per operation spi: amd: validate FIFO usage before executing message |
||
|
|
91fd3a1526 |
Merge tag 'regulator-fix-v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator fixes from Mark Brown: "A small collection of mostly fairly standard driver specific fixes. The mt6363 changes are a little large but are the result of two independent users running into the same issues and testing each other's changes so given that it's only -rc1 it seemed sensible to take the changes as fixes" * tag 'regulator-fix-v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: mt6363: Fix VEMC voltage selection regulator: mt6363: Use 8-bit register values regulator: mt6363: Fix the registers of the VSRAM CPU and APU LDOs regulator: qcom_spmi: don't take a sleeping lock in the SAW IPI |
||
|
|
d164c7d754 |
Merge tag 'devicetree-fixes-for-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull devicetree fixes from Rob Herring:
"All of these are patches that didn't get picked up for the merge
window. They all fix new warnings because the corresponding .dts
changes did get applied
- Add Altera Agilex5 DWC3 controller and Raspberry Pi RP1 PWM
controller bindings
- Make "peer-hub" property optional on cypress,hx3 USB hubs"
* tag 'devicetree-fixes-for-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
dt-bindings: usb: add Altera Agilex5 DWC3 controller
dt-bindings: pwm: Add Raspberry Pi RP1 PWM controller
dt-bindings: usb: cypress,hx3: make peer-hub property optional
|
||
|
|
fd7e9dc999 |
Merge tag 'sound-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai:
"A collection of (unsurprisingly high amount of) small fixes since the
previous PR. Majority of changes are device-specific quirks and driver
fixes, along with a few ALSA core fixes and USB-audio driver
hardening.
ALSA Core:
- Fix page leak on WC DMA buffer allocation failure
- Prevent O_APPEND on OSS streams to avoid UAF
- A PCM regression fix for PulseAudio to allow hw_refine with mmap
- Serialize DSP image loading requests in hwdep
- Clear user-provided numid before adding a control
- Fix dropped data bytes in UMP to MIDI 1.0 System message conversion
HD-audio:
- Fix double-free on stream page allocation failure in core
- Stop capability walk cleanly on empty capability header
- Fix silent output on Nvidia codecs due to shared converters
- Restore audio registers after AE-5 LED strip transmission
- Calibration data validation and custom address fixes for TAS2781
- Shared boot wait and reset helpers for CS35L41
- Cleanups and fixes for CS35L56 and AW88399
- Add Tegra268 HDMI/DP codec ID
- Device quirks for Acer, Alienware, ASUS, HP, Huawei, Lenovo, MSI
USB-audio:
- Hardening and bug fixes for usx2y and us122l drivers
- Delay MIDI URB retry on -EPIPE to allow disconnect handling
- Fix use-after-free of MIDI URBs on close in bcd2000
- Reject undersized capture buffers in line6 driver
- Fix URB leak on input setup failure in caiaq driver
- Check return value of qmi_handle_init() in Qualcomm offload driver
- Quirks for Yamaha ZG02, HIK camera, and CVT Touch Device
ASoC:
- AMD: Support more ACP7.0 projects, quirks for HP and Lenovo models
- Intel: Dummy topology for SN624x codec, SOF BPT DMA stream fix
- Qualcomm: Guard q6apm callbacks, fix runtime PM refcount leak
- Rockchip: Add missing REGMAP_MMIO Kconfig dependencies
- Meson: Request IRQ with clock enabled in axg-fifo
- Codec fixes for cs35l41, cs_dsp, wm_adsp, wm8904, ES8389, tas2770,
sn624x, and aw88399
Misc:
- FireWire: Fix inverted streaming speed in firewire-tascam
- PCI: Check SCB creation failures in legacy cs46xx driver"
* tag 'sound-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (72 commits)
ALSA: hda/realtek: Add quirk for Acer Predator PHN16-71
ALSA: hda/realtek: Use inverted mute LED quirk for HP ZBook 8 G2a
ALSA: hda: cs35l41: Add support for HP OmniBook 7 Laptop 16-ay0xxx
ALSA: usx2y: Guard the playback copy
ALSA: usx2y: Require a buffer of two URBs
ALSA: hda: cs35l56: Stop cs_dsp before calling cs_dsp_power_down()
ALSA: doc: cs35l56: Update calibration write failure message info
ALSA: hda: cs35l56: Fix mixed cleanup and goto in cs35l56_hda_fw_load()
ALSA: hda/tegra: Add Tegra268 HDMI/DP codec ID
ALSA: hda/realtek: Fix pop noise on ASUS PRIME B650M-K
ALSA: hda/realtek: Fix DAC binding for Legion Pro 7 16ARX8H variant
ALSA: hda/realtek: Fix DAC binding for Lenovo Legion Pro 7 16ARX8H
ALSA: caiaq: free the EP4 URB when input setup fails
ALSA: line6: Reject capture buffers smaller than two packets
ALSA: pcm: Allow HW_REFINE queries with mapped buffers
ALSA: hda/ca0132: Restore AE-5 audio registers after LED strip send
ALSA: hda/tas2781: Only accept CRC-less V1 data if all entries are valid
ALSA: hda/realtek: Enable mute and mic-mute LEDs on HP ENVY 17-cr0xxx
ALSA: usb-audio: Add quirk for Yamaha ZG02
ALSA: pcm: Prevent O_APPEND open on OSS streams
...
|
||
|
|
543b7d2ca0 |
Merge tag 'drm-fixes-2026-11-07' of https://gitlab.freedesktop.org/drm/kernel
Pull drm fixes from Dave Airlie: "This is the weekly drm fixes, amdgpu leading the way with some i915, nouveau and other fixes. There should be a bunch of xe fixes, but their tree got screwed up so I guess I'll send those next week once they cleanup whatever happened. atomic: - Fix CRTC dma-fence handling drm: - Add parsing for additional HDMI 2.2 FRL rates bridge: - nwl-dsi: Fix LCDIF handling dma-buf: - Fix IOVA offset - Restore the scatter-list entry count before freeing dp: - Keep MOT set between messages when no_zero_sized is set panel: - visionox-r66451: Set brightness MSB first; Increase reset waiting time panic: - Fix display loop - Fix line parsing sched: - Fix out of bounds entity priority check - Adjust run-queue when changing priority at runtime amdgpu: - UALink fixes - RAS fixes - GEM_OP fix - Parse IB fixes - CS user fence fix - GPU reset fixes - Multi-media idle work handler cleanup fixes - UserQ fixes - CRC fix - SR-IOV fixes - IP discovery fix - HDMI 2.2 FRL fixes - DDC pin fix - HUBP fix - SPM fix - DCN 3.2 fixes - VRR/freesync fix - Seamless boot fix - SMU 13.0.7 fix - Backlight fix - dma-buf fixes - GPUVM fixes - Move DMCUB back to VRAM - Non-DC audio fix - BACO fix amdkfd: - Fix WPTR BO eviction fence handling - GPUVM locking fix i915: - Fix GitLab #8991 where tiled displays (LG UltraFine 5K) broken on PTL - Limit NVL TRANS_VTOTAL.Vtotal skip display workaround to A-step - Single scaler per pipe number to 1 and disable pipe joiner on WCL - Add quirk to force backlight type on some TUXEDO devices - Fix "CMTG: A disable timeout" splat - Fix intel_vrr_dcb_vmin_vblank_start - Bunch of PSR fixes - Static checker fixes etnaviv: - Fix NULL dereference in etnaviv_unbind() - Flush the tile status cache through both the PE and BLT imagination: - Align rogue_fwif_hwrtdata to 64 bytes loongson: - Fix BO handling in several places nouveau: - Map Kepler video engine contexts non-privileged - Clear use.enabled when subdev init fails - Avoid running VBIOS twice - Fix CE channel creation on pre-Kepler GPUs v3d: - Initialize job timedout_batches - Fix cache_clean_lock vc4: - Move output fence and BO unreserve out of job_lock - Power down PYH when output is disabled - hdmi: Fix scrambling" * tag 'drm-fixes-2026-11-07' of https://gitlab.freedesktop.org/drm/kernel: (91 commits) drm/sched: Adjust run-queue when changing priority at runtime drm/sched: Fix out of bounds entity priority check drm/etnaviv: Flush the tile status cache through both the PE and BLT drm/etnaviv: Fix NULL dereference on unbind without PPU flop reset drm/nouveau: Fix CE channel creation on pre-Kepler GPUs drm/nouveau/devinit/gf100-: try to avoid double-running vbios scripts drm/dp: keep MOT set between messages when no_zero_sized is set drm/nouveau/nvkm: clear use.enabled when subdev init fails drm/nouveau/fifo: map Kepler video engine contexts non-privileged drm/amdgpu: don't drop the gang dependency fence twice drm/amdgpu: stop GPU recovery wait for the JPEG/VCN idle work drm/amd/pm: track BACO state in the SMU v11 ArmD3 sequence drm/amdgpu: Only enable HDMI audio if display supports it Revert "drm/amd/display: Allocate DCN32/1 dmub memory to GTT" drm/amdgpu: don't walk the CS chunks when allocating them failed drm/amdgpu/vce: don't allocate a scheduler fence in the direct IB test drm/amdgpu: rewrite all PTEs of the BOs after a VM reset drm/amdgpu: unlock the VM and BO when attaching a KFD BO fails drm/amdgpu: drop the dma-buf reference when a KFD import fails drm/amdgpu: Clamp the ATIF backlight curve to its 99 points ... |
||
|
|
d48723711b |
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Catalin Marinas:
"Fix SDEI (software delegated exception interface) handlers taking
nested exceptions (looping on the KPTI trampoline vectors and
clobbering the interrupted context's exception registers), TPIDR2_EL0
preservation across CPU suspend, a kexec_file_load() memory leak and
an overflow in the /dev/mem valid_mmap_phys_addr_range() check:
- Fix nested exceptions taken by SDEI event handlers.
With KPTI, an event interrupting user space left the trampoline
vectors installed and any exception in the handler looped forever.
Also save and restore ELR/SPSR/ESR/FAR around the handler since an
event can interrupt exception entry or return where these registers
are live
- Save and restore TPIDR2_EL0 across CPU suspend.
Its value is UNKNOWN after a warm reset and the task initiating
suspend could return to user space with a corrupted value
- Fix an overflow in valid_mmap_phys_addr_range() allowing /dev/mem
to map out-of-range PFNs
- Fix an elf_headers memory leak in the kexec_file segment placement
retry loop"
* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
arm64: sdei: Preserve the interrupted context's exception registers
arm64: sdei: Run the event handler on the kernel vectors
arm64: kexec_file: Fix elf_headers memory leak in retry loop
arm64: mm: validate /dev/mem mmap ranges without overflow
arm64: suspend: Save and restore TPIDR2_EL0 across CPU suspend
|
||
|
|
bdeb84ed24 |
Merge tag 'printk-for-7.4-fixups' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux
Pull printk fixes from Petr Mladek: - Prevent possible use-after-free when printk kthreads could not be created - Fix computation of the free space when allocating a bigger ring buffer - Add info about the new printk mailing list for printk-related subsystems * tag 'printk-for-7.4-fixups' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux: printk: Avoid multiple unregistration in unregister_console_locked() MAINTAINERS: Add new "printk" mailing list for PRINTK, PRINTK INDEXING, and VSPRINTF printk_ringbuffer: Fix space_used() when blk_lpos->next overflows |
||
|
|
a7963b12ca |
Merge tag 'iommu-fixes-v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux
Pull iommu fixes from Joerg Roedel:
"AMD IOMMU:
- Move PerfOpt management into the IOMMU domain attachment paths,
enabling it automatically for supported integrated GPUs in identity
mode and clearing it before switching to translated or blocked
domains
- Fix a boot panic in the GPU identity-mapping quirk when a GPU has
no upstream PCI bridge
- Clear the IOMMU SNP enable flag when RMP table initialization
fails, preventing subsequent initialization from assuming SNP setup
succeeded
- Check IVRS subtable types before parsing memory definitions,
avoiding bogus PCI segments caused by misinterpreting IVHD entries
under QEMU
- Remove an obsolete warning on device release that incorrectly fires
for devices required to remain attached to an identity domain"
* tag 'iommu-fixes-v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux:
iommu/amd: Fix NULL pointer dereference for GPUs without upstream bridge
iommu/amd: remove obsolete domain pointer warning on release
iommu/amd: Skip non-IVMD entries when parsing IVRS memory definitions
iommu/amd: Clear amd_iommu_snp_en if snp_rmptable_init() fails
iommu/amd: Enable PerfOpt automatically for integrated GPUs
|
||
|
|
c53d8fc9a7 |
Merge tag 'block-7.4-20261106' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux
Pull block fixes from Jens Axboe:
- NVMe fixes via Keith:
- nvme-tcp use-after-free in nvme_tcp_free_ctrl() on a failed
connect, and the nvme-rdma counterpart of the NULL queue->ctrl on
reconnect
- nvmet-rdma iWARP disconnect and device removal fixes
- nvmet-tcp: ask for the TLS record type on every receive, and bound
the connections accepted per work run so a connect flood can't
hold up port removal; nvmet-auth keep the old keys if the new ones
fail to decode; nvme-loop delete the controller if a reset fails
- nvmet-auth reject incomplete DHCHAP messages, and a keep-alive
timeout overflow
- nvmet locking and bounds fixes for tbkas reconnects and the
traddr/trsvcid configfs writes, don't leak stale memory in the ANA
log page, and cache the passthru reference across queue_response
- Wait for SRCU readers before splicing the namespace list, with a
new list_splice_init_srcu() helper, and drop an extra grace period
in nvmet_ns_disable()
- Unregister when pr_register() is given a zero new key, and don't
drop the cdev reference twice on cdev_device_add() failure
- Quirks for the ADATA XPG GAMMIX S70 BLADE and KIOXIA XG10d
- Various smaller fixes and cleanups
- blk-mq: end the request if getting a keyslot fails, which left the
in-flight count and zone write plug stuck, reset the queue state on
scheduler teardown so requests don't stall in software queues, and
fix an out-of-bounds read in blk_mq_free_rqs() after a failed
nr_hw_queues update
- Only serialize elevator switches of the same queue
- dma-buf bio fixes: don't use the bvec fast path for them, and only
fail the ones that need block layer PI
- Reject GPT entries with starting_lba > ending_lba
- Return the soft block size for compat BLKBSZGET, report the correct
discard alignment in sysfs, and account the flush sequence latency
only once in iocost
- virtio_blk fixes: synchronous quiesce in freeze, freeze the virtqueue
layout at probe time, clamp max_segments to the ring size, and fix
zone append sector reporting in batched completion
- null_blk zone fixes and a cache state reset
- zloop fixes
- ublk DEL_DEV_ASYNC permission check, and 32-bit selftest build
* tag 'block-7.4-20261106' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux: (52 commits)
nvmet: cache passthru reference in __nvmet_req_complete()
nvmet: drop the redundant auth check in nvmet_parse_io_cmd()
nvmet: bound the traddr and trsvcid configfs writes
nvmet: take subsys->lock when forcing reconnects for tbkas
nvme: wait for SRCU readers before splicing the namespace list
srcu: Add list_splice_init_srcu()
nvme-pci: add NVME_QUIRK_DMAPOOL_ALIGN_512 for KIOXIA XG10d
nvmet: don't return memory contents beyond valid data when reading ANA log page
nvme-pci: add NO_FUA quirk for ADATA XPG GAMMIX S70 BLADE
nvmet: drop the extra RCU grace period in nvmet_ns_disable()
nvme-keyring: Add a missing key_put() call to nvme_tls_key_lookup()
ublk: add missing DEL_DEV_ASYNC to unprivileged permission check
selftests: ublk: fix the build and file offsets on 32-bit
nvmet-rdma: disconnect a queue on device removal
nvmet-rdma: queue the release work under the mutex
nvmet-rdma: take a device off the list last
nvmet-tcp: limit the connections accepted per work run
nvmet-rdma: disconnect only established queues
nvmet-auth: keep the old keys if the new ones fail
nvmet-tcp: ask for the TLS record type on every receive
...
|
||
|
|
90d9e367d4 |
Merge tag 'io_uring-7.4-20261106' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux
Pull io_uring fixes from Jens Axboe: - Only wait for in-flight requests on ring release if the closing task actually uses the ring. - SQPOLL fixes: do the return-to-userspace work in the SQPOLL thread, as memory.high reclaim and blkcg throttling otherwise only ran at thread exit, and don't set the stop bit on thread exit, which tripped a WARN_ON_ONCE() in the ring teardown. - Don't poll a writer for a read side hangup or for urgent data, as a half-closed peer or unread OOB data kept the async poll of a send ready on every re-arm. - Cancel all matching poll requests in one pass for CANCEL_ALL rather than restarting the hash walk per request. - Hold uring_lock across the put_user() for the index-alloc file install. - Don't arm an hrtimer and schedule for a wait whose timeout has already expired. - Add a feature flag for the dma-buf registered buffer support. - selftests 32-bit cast fix * tag 'io_uring-7.4-20261106' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux: io_uring: only wait for in-flight requests if the closing task uses the ring io_uring: add feature flag for dma-buf support io_uring/wait: don't sleep on an already expired timeout io_uring/rsrc: hold uring_lock across index-alloc put_user selftests/io_uring: cast optval through uintptr_t in mini_liburing.h io_uring/poll: don't poll a writer for urgent data io_uring/poll: don't poll a writer for a read side hangup io_uring/poll: cancel all matching requests in one pass io_uring/cancel: count all requests that a CANCEL_ALL cancels io_uring/sqpoll: do the return-to-userspace work in the SQPOLL thread io_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exit |
||
|
|
a91337fb5e |
Merge tag 'configfs-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/leitao/linux
Pull configfs fix from Breno Leitao: - Fix the build of the configfs selftest on 32-bit architectures, broken since the test was added in the v7.4 merge window. The harness casts the ASSERT_NE() operands to intmax_t, so handing it the pointer returned by mkdtemp() triggers gcc's pointer-to-int-cast warning on 32-bit, and the test builds with -Werror. KernelCI's 32-bit arm kselftest builds hit this. * tag 'configfs-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/leitao/linux: selftests/configfs: fix the build on 32-bit architectures |
||
|
|
b556f1c4dc |
Merge tag 'fs_for_v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull udf, ext2, isofs and quota fixes from Jan Kara: - Some disk format validation improvements for udf - Fix isofs handling of dates before 1900 - Fix ext2 inadvertedly syncing buffer on every directory modification - Fix ext2 O_DSYNC handling for direct IO - A couple of smaller ext2 fixes - Fix tmpfs quotas for root filesystem - Unify my email addresses in MAINTAINERS file * tag 'fs_for_v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: udf: Fix incorrect error code in udf_current_aext() udf: Simplify udf_table_prealloc_blocks() udf: don't use eloc after the end of the unallocated space table udf: fix preallocation discarding before an empty allocation extent udf: check the unallocated space table when it is loaded udf: don't let the extent type hide an exhausted free-space table extent ext2: preserve IOMAP_F_DIRTY for extending direct writes udf, ext2, quota, jbd2: Unify email addresses in MAINTAINERS isofs: handle Rock Ridge long-form dates before 1900 ext2: only flush DIRSYNC directories on every change ext2: preserve completed DIO bytes when buffered fallback fails ext2: take invalidate_lock in ext2_write_failed() ext2: Make sbi an proper alias for EXT2_SB(sb) in ext2_fill_super() udf: Validate extended attribute space is large enough quota: initialize dquot cache before mounting rootfs udf: validate vat20->lengthHeader and VAT inode size in udf_load_vat() |
||
|
|
fb382e8efd |
Merge tag 'fsnotify_for_v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull fsnotify fixes from Jan Kara: "Two small fixes for fsnotify" * tag 'fsnotify_for_v7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: inotify: do not coalesce rename events fsnotify: preserve 64-bit pre-content ranges |
||
|
|
0ccc72d4b3 |
Merge tag 'xfs-fixes-7.4-rc2' of git://git.kernel.org:/pub/scm/fs/xfs/xfs-linux
Pull xfs fixes from Carlos Maiolino: "The most notable fix here IMO is for xfs's pNFS support (mostly related to LAYOUTCOMMIT) and for that it contains several patches. Besides that, this contains bug fixes for different subsystems in xfs. The last patch is mostly a refactor than a bug fix, but the refactor is done to prevent a nasty journal transaction state corruption to happen" * tag 'xfs-fixes-7.4-rc2' of git://git.kernel.org:/pub/scm/fs/xfs/xfs-linux: xfs: kill xfs_trans_set/clear_context() helpers xfs: fix recovery of partial attr removals xfs: make pNFS LAYOUTCOMMIT stable the way fdatasync does xfs: add datasync and log_flushed arguments to xfs_log_force_inode() xfs: take the invalidate lock while mapping a pNFS layout xfs: clamp the pNFS layout range to the maximum file size xfs: cap the block count of xfs_iomap_write_direct() at one extent xfs: clamp a pNFS LAYOUTCOMMIT extent before computing its end xfs: refuse a pNFS LAYOUTCOMMIT of a range without blocks xfs: add a flag to convert unwritten extents without allocating blocks xfs: mark the inode preallocated for pNFS write layouts past EOF xfs: fix wrong compat fields in xfs_ioctl32_bstat_copyin() xfs: fix temporary cursor leak in btree shift corruption paths xfs: skip iunlock with empty iolock flags in xfs_file_dio_write_aligned xfs: don't skip free extents of the longest length in a whole-AG FITRIM xfs: don't skip free extents in later batches of a whole-AG FITRIM xfs: fix unwind handling during xfs_mount_sysfs_init() xfs: mark i_mode=0 and shut down on attr fork inactivation failure xfs: set healthmon mount cookie before publishing it |