Linux/linux a41e364 — drivers/scsi BusLogic.c, drivers/scsi/aic7xxx aic7xxx_pci.c aic79xx_osm.h

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

    [12 lines not shown]
DeltaFile
+59-40drivers/scsi/BusLogic.c
+21-5drivers/scsi/aic7xxx/aic79xx_osm.h
+19-1drivers/scsi/aic7xxx/aic7xxx_pci.c
+13-5drivers/ufs/core/ufshcd.c
+15-3drivers/target/target_core_device.c
+9-1drivers/target/target_core_tpg.c
+136-5512 files not shown
+180-7318 files

Linux/linux c1c70a8 — drivers/spi spi-pic32-sqi.c spi-cadence-quadspi.c

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

    [2 lines not shown]
DeltaFile
+46-10drivers/spi/spi.c
+10-14drivers/spi/spi-amd.c
+13-0drivers/spi/spi-rtk-nor.c
+3-2drivers/spi/spi-ljca.c
+2-2drivers/spi/spi-cadence-quadspi.c
+2-1drivers/spi/spi-pic32-sqi.c
+76-296 files

Linux/linux 91fd3a1 — drivers/regulator Kconfig qcom_spmi-regulator.c, include/linux/regulator mt6363-regulator.h

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
DeltaFile
+52-104drivers/regulator/mt6363-regulator.c
+27-8drivers/regulator/qcom_spmi-regulator.c
+1-0include/linux/regulator/mt6363-regulator.h
+1-0drivers/regulator/Kconfig
+81-1124 files

Linux/linux d164c7d — Documentation/devicetree/bindings/pwm raspberrypi,rp1-pwm.yaml, Documentation/devicetree/bindings/usb cypress,hx3.yaml altr,agilex5-dwc3.yaml

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
DeltaFile
+112-0Documentation/devicetree/bindings/usb/altr,agilex5-dwc3.yaml
+66-0Documentation/devicetree/bindings/pwm/raspberrypi,rp1-pwm.yaml
+0-1Documentation/devicetree/bindings/usb/cypress,hx3.yaml
+178-13 files

Linux/linux fd7e9dc — sound/hda/codecs ca0132.c, sound/hda/codecs/hdmi nvhdmi.c

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

    [52 lines not shown]
DeltaFile
+97-0sound/hda/codecs/hdmi/nvhdmi.c
+67-0sound/soc/codecs/cs35l41-lib.c
+41-2sound/hda/codecs/ca0132.c
+42-1sound/usb/usx2y/usbusx2yaudio.c
+31-10sound/hda/codecs/realtek/alc269.c
+35-0sound/soc/amd/acp-config.c
+313-1354 files not shown
+701-19260 files

Linux/linux 543b7d2 — drivers/gpu/drm/amd/amdgpu amdgpu_vcn.c amdgpu_device.c, drivers/gpu/drm/etnaviv etnaviv_buffer.c

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:

    [105 lines not shown]
DeltaFile
+43-53drivers/gpu/drm/i915/display/intel_psr.c
+40-4drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+22-19drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+40-1drivers/gpu/drm/amd/amdgpu/navi10_ih.c
+18-22drivers/gpu/drm/etnaviv/etnaviv_buffer.c
+35-1drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
+198-100116 files not shown
+1,123-470122 files

Linux/linux d487237 — arch/arm64/include/asm suspend.h sdei.h, arch/arm64/kernel entry-common.c sdei.c

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.


    [15 lines not shown]
DeltaFile
+48-11arch/arm64/kernel/sdei.c
+39-1arch/arm64/kernel/entry-common.c
+8-0arch/arm64/mm/proc.S
+3-1arch/arm64/mm/mmap.c
+2-1arch/arm64/include/asm/sdei.h
+1-1arch/arm64/include/asm/suspend.h
+101-151 files not shown
+103-157 files

Linux/linux bdeb84e — . MAINTAINERS, kernel/printk printk_ringbuffer.c printk.c

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
DeltaFile
+30-4kernel/printk/printk.c
+3-5kernel/printk/printk_ringbuffer.c
+3-0MAINTAINERS
+36-93 files

Linux/linux a7963b1 — drivers/gpu/drm/amd/amdgpu amdgpu_drv.c amdgpu_device.c, drivers/iommu/amd amd_iommu_types.h init.c

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

    [11 lines not shown]
DeltaFile
+48-225drivers/iommu/amd/iommu.c
+63-43drivers/iommu/amd/init.c
+0-50drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+0-12drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+0-11include/linux/amd-iommu.h
+3-3drivers/iommu/amd/amd_iommu_types.h
+114-3442 files not shown
+115-3478 files

Linux/linux c53d8fc — block elevator.c, drivers/block virtio_blk.c

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

    [56 lines not shown]
DeltaFile
+28-41drivers/nvme/target/auth.c
+46-17drivers/block/null_blk/zoned.c
+41-16drivers/block/virtio_blk.c
+35-21drivers/nvme/target/rdma.c
+36-0include/linux/srcu.h
+18-14block/elevator.c
+204-10932 files not shown
+377-18438 files

Linux/linux 90d9e36 — io_uring cancel.c io_uring.c

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.


    [22 lines not shown]
DeltaFile
+55-7io_uring/poll.c
+16-5io_uring/rsrc.c
+18-3io_uring/sqpoll.c
+8-0io_uring/wait.c
+4-1io_uring/io_uring.c
+2-1io_uring/cancel.c
+103-173 files not shown
+108-199 files

Linux/linux 58c1eb8 — arch/arm64/kernel entry-common.c sdei.c

arm64: sdei: Preserve the interrupted context's exception registers

An SDEI event is dispatched by firmware regardless of PSTATE.DAIF, so it
can interrupt the kernel where the exception registers are live:

 - exception entry, before kernel_entry has saved ELR_EL1/SPSR_EL1 and
   before the C handler has read ESR_EL1/FAR_EL1;
 - exception return, after kernel_exit has loaded ELR_EL1/SPSR_EL1 and
   before the ERET.

An IRQ or pseudo-NMI cannot arrive there with PSTATE.I set. Firmware
saves only x0-x17, PC and PSTATE around an SDEI event, so a synchronous
exception taken by the handler overwrites the interrupted context's
ELR, SPSR, ESR and FAR. do_sdei_event() only notices that ELR changed,
and warns.

The interrupted context then carries on with the handler's state. A
task interrupted on its way into the kernel can be sent SIGILL for the
handler's kernel data abort. A task interrupted on its way back to user

    [24 lines not shown]
DeltaFile
+44-9arch/arm64/kernel/sdei.c
+20-1arch/arm64/kernel/entry-common.c
+64-102 files

Linux/linux 9bf6ee7 — arch/arm64/include/asm sdei.h, arch/arm64/kernel sdei.c entry-common.c

arm64: sdei: Run the event handler on the kernel vectors

With KPTI, VBAR_EL1 holds the trampoline vectors from the return to EL0
until the next exception from EL0 maps the kernel and installs the
kernel vectors. The trampoline vectors only handle exceptions from EL0;
their current-EL half is zero-filled.

An SDEI event is dispatched regardless of PSTATE.DAIF, so it lands there
whenever the CPU is in user space. The SDEI entry trampoline maps the
kernel but leaves VBAR_EL1 alone. An exception taken by the handler then
executes the zeros, takes an undefined instruction exception to the same
vector, and loops there forever. The event never completes and the CPU
is lost; RCU stall reports are the first sign of it.

RAS notifications land in user space whenever a task consumes the
error, and NMI backtraces land wherever the CPU happens to be. The GHES
handler takes no exception on its own, but any exception in the handler
path does it: a WARN, a kprobe hit, or a fault fixed up by a _nofault()
accessor.

    [18 lines not shown]
DeltaFile
+20-1arch/arm64/kernel/entry-common.c
+4-2arch/arm64/kernel/sdei.c
+2-1arch/arm64/include/asm/sdei.h
+26-43 files

Linux/linux a91337f — tools/testing/selftests/filesystems/configfs configfs_test.c

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
DeltaFile
+1-1tools/testing/selftests/filesystems/configfs/configfs_test.c
+1-11 files

Linux/linux b556f1c — fs/ext2 super.c inode.c, fs/quota dquot.c

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

    [9 lines not shown]
DeltaFile
+91-3fs/udf/super.c
+16-21fs/udf/balloc.c
+8-9fs/ext2/inode.c
+6-4fs/quota/dquot.c
+5-4fs/ext2/super.c
+7-2fs/udf/inode.c
+133-437 files not shown
+157-5513 files

Linux/linux fb382e8 — fs/notify fsnotify.c, fs/notify/fanotify fanotify.h

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
DeltaFile
+3-3include/linux/fsnotify_backend.h
+2-2include/linux/fsnotify.h
+1-1fs/notify/inotify/inotify_fsnotify.c
+1-1fs/notify/fsnotify.c
+1-1fs/notify/fanotify/fanotify.h
+8-85 files

Linux/linux 0ccc72d — fs/xfs xfs_discard.c xfs_iomap.c, fs/xfs/libxfs xfs_bmap.c

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

    [12 lines not shown]
DeltaFile
+61-29fs/xfs/xfs_pnfs.c
+7-48fs/xfs/xfs_file.c
+42-5fs/xfs/xfs_inode.c
+25-3fs/xfs/xfs_iomap.c
+18-8fs/xfs/xfs_discard.c
+12-2fs/xfs/libxfs/xfs_bmap.c
+165-9513 files not shown
+202-12919 files

Linux/linux ce8f728 — fs/overlayfs super.c namei.c

Merge tag 'ovl-fixes-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs

Pull overlayfs fixes from Amir Goldstein:

 - Fix a self deadlock of a fanotify permission event listener that also
   watches the layers, when it reads an overlay directory

 - Three casefold fixes, found by Chris Mason's AI review

 - Fix a decode of a modified file handle with nfs_export=on, which
   could read the stale lower data of a copied up file, also found by
   Chris Mason's AI review

 - Fix an overlay selftest after an errno change

* tag 'ovl-fixes-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
  selftests/fscontext_ns: expect EINVAL for overlay descendant userns create
  ovl: look up the index by the decoded origin
  ovl: inherit FMODE_NONOTIFY when reading directory layers

    [4 lines not shown]
DeltaFile
+25-21fs/overlayfs/dir.c
+21-14fs/overlayfs/readdir.c
+10-11fs/overlayfs/overlayfs.h
+10-3fs/overlayfs/namei.c
+11-2fs/overlayfs/util.c
+11-1fs/overlayfs/super.c
+88-525 files not shown
+102-5611 files

Linux/linux ac302ae — arch/arm64/kernel machine_kexec_file.c

arm64: kexec_file: Fix elf_headers memory leak in retry loop

A retry allocates new elf headers and overwrites image->elf_headers,
leaking the previous buffer.

Free it before assigning.

Cc: Will Deacon <will at kernel.org>
Cc: Thomas Huth <thuth at redhat.com>
Cc: Breno Leitao <leitao at debian.org>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Yeoreum Yun <yeoreum.yun at arm.com>
Cc: Baoquan He <bhe at redhat.com>
Cc: stable at vger.kernel.org
Fixes: 108aa503657e ("arm64: kexec_file: try more regions if loading segments fails")
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
[catalin.marinas at arm.com: drop the redundant NULL check before vfree()]
Signed-off-by: Catalin Marinas <catalin.marinas at arm.com>
DeltaFile
+2-0arch/arm64/kernel/machine_kexec_file.c
+2-01 files

Linux/linux 41b77d5 — drivers/block/xen-blkback common.h xenbus.c, drivers/net/xen-netback interface.c xenbus.c

Merge tag 'xsa526-xsa528-7.4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip

Pull xen fixes from Juergen Gross:
 "Fix three UAF issues that can be hit in the Xen netback and blkback
  drivers when a guest is forcing a teardown of a PV device"

* tag 'xsa526-xsa528-7.4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
  xen-blkback: Avoid UAF when reading I/O statistics
  xen-netback: defer xenvif_mcast_addr_list_free()
  xen-netback: Fix UAF when reading statistics data
DeltaFile
+24-6drivers/block/xen-blkback/xenbus.c
+3-0drivers/net/xen-netback/xenbus.c
+0-2drivers/net/xen-netback/interface.c
+2-0drivers/block/xen-blkback/common.h
+29-84 files

Linux/linux a02926f — drivers/block/xen-blkback common.h xenbus.c

xen-blkback: Avoid UAF when reading I/O statistics

Reading I/O statistics via sysfs concurrently with tearing down a
frontend device might result in UAF or a NULL dereference, as the
reading of the statistics data is not synchronized with freeing the
data.

Use a rwlock for synchronizing.

This is XSA-528 / CVE-2026-100082

Fixes: db6fbc106786 ("xen/blkback: make st_ statistics per ring")
Reported-by: Yehyeong Lee <yhlee at isslab.korea.ac.kr>
Signed-off-by: Juergen Gross <jgross at suse.com>
Acked-by: Roger Pau Monné <roger at xenproject.org>
DeltaFile
+24-6drivers/block/xen-blkback/xenbus.c
+2-0drivers/block/xen-blkback/common.h
+26-62 files

Linux/linux bfddc42 — drivers/net/xen-netback interface.c xenbus.c

xen-netback: defer xenvif_mcast_addr_list_free()

In order for the function to legitimately avoid locking/RCU, it needs to
run after all TX/RX processing has finished/stopped: Lookups happen from
xenvif_start_xmit(), while adds/removes happen from xenvif_tx_action()
(called out of xenvif_poll()).

Move the call out of xenvif_disconnect_data() (the call to the function
from connect()'s error path doesn't require any cleaning up there), and
put it past the synchronization point in backend_disconnect().

This is XSA-527 / CVE-2026-100081.

Fixes: b17075d5c198 ("xen-netback: fix race condition on XenBus disconnect")
Reported-by: kerhunt <kerhunt at proton.me>
Signed-off-by: Jan Beulich <jbeulich at suse.com>
Reviewed-by: Juergen Gross <jgross at suse.com>
DeltaFile
+0-2drivers/net/xen-netback/interface.c
+2-0drivers/net/xen-netback/xenbus.c
+2-22 files

Linux/linux 5fb756f — drivers/net/xen-netback xenbus.c

xen-netback: Fix UAF when reading statistics data

The network statistic data in the driver is protected by RCU.
Unfortunately when tearing down the queues after an error during
connecting to the frontend (e.g. due to illegal Xenstore data filled
in by the guest), the statistic data is being freed without
synchronizing the RCU state.  In case the data is being read via sysfs
in this phase, access to already freed memory or memory being in new
use is possible.

Fix that by calling synchronize_net() before freeing the queue data.

This is XSA-526 / CVE-2026-100080

Reported-by: Yehyeong Lee <yhlee at isslab.korea.ac.kr>
Signed-off-by: Juergen Gross <jgross at suse.com>
DeltaFile
+1-0drivers/net/xen-netback/xenbus.c
+1-01 files

Linux/linux fa77b02 — drivers/iommu/amd iommu.c

iommu/amd: remove obsolete domain pointer warning on release

A warning is triggered in amd_iommu_release_device() on removal of a
device with an IOMMU_RESV_DIRECT region. The warning is based on the
false assumption that correct attachment to the release_domain will
always result in a NULL dev_data->domain pointer. For devices with
IOMMU_RESV_DIRECT (and consequently dev->iommu->require_direct), the
release domain is the permanent identity_domain which sets
itself to dev_data->domain on attach.

This behaviour was added in commit e94160488e65 ("iommu: Generic support
for RMRs during device release"). Commit c21b34762e2f ("iommu/amd: Set
release_domain to blocked_domain") caused it to take effect for AMD
IOMMU.

Remove the warning as it is no longer strictly an error to have a non-NULL
domain pointer. As this leaves amd_iommu_release_device() empty, remove it.

The warning was observed for a device with direct mapped region:

    [35 lines not shown]
DeltaFile
+4-13drivers/iommu/amd/iommu.c
+4-131 files

Linux/linux 2cf4be5 — drivers/iommu/amd iommu.c

iommu/amd: Fix NULL pointer dereference for GPUs without upstream bridge

pci_upstream_bridge() can return NULL for devices without an upstream
bridge. The AMD GPU identity mapping quirk dereferences the returned
pointer unconditionally, causing a kernel panic during boot.

Check the pointer before accessing the bridge vendor ID.

This fixes a boot regression on a Lenovo system with an AMD PRO
A10-9700E APU. The system now boots with AMD IOMMU enabled.

Fixes: bf5bdfd1f8d4 ("iommu/amd: Force identity mode for selected GPUs only")

Signed-off-by: Jean-Christophe Guillain <jean-christophe at guillain.net>
Signed-off-by: Vasant Hegde <vasant.hegde at amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
DeltaFile
+3-1drivers/iommu/amd/iommu.c
+3-11 files

Linux/linux ec91bb1 — drivers/iommu/amd init.c

iommu/amd: Clear amd_iommu_snp_en if snp_rmptable_init() fails

iommu_snp_enable() checks that the IOMMU can support SNP and sets
amd_iommu_snp_en, then calls snp_rmptable_init() to map the RMP table.
If that call fails, CC_ATTR_HOST_SEV_SNP is cleared but amd_iommu_snp_en
is left set. Later IOMMU initialization uses amd_iommu_snp_en to
configure the IOMMU for SNP, on the assumption that RMP setup succeeded.

Clear amd_iommu_snp_en along with CC_ATTR_HOST_SEV_SNP.

Fixes: 409f45387c93 ("x86/sev: Fix broken SNP support with KVM module built-in")
Signed-off-by: Dheeraj Kumar Srivastava <dheerajkumar.srivastava at amd.com>
Reviewed-by: Ankit Soni <Ankit.Soni at amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde at amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel at amd.com>
DeltaFile
+1-0drivers/iommu/amd/init.c
+1-01 files

Linux/linux e62df37 — drivers/iommu/amd init.c

iommu/amd: Skip non-IVMD entries when parsing IVRS memory definitions

init_memory_definitions() walks every top-level subtable including the
IVHD blocks (type 0x10/0x11/0x40) in the IVRS ACPI table. It interprets
each one as a 'struct ivmd_header', solely on m->flags, without first
checking that the subtable's type actually is one of the IVMD types
(ACPI_IVMD_TYPE, ACPI_IVMD_TYPE_ALL, ACPI_IVMD_TYPE_RANGE).

    if (m->flags & (IVMD_FLAG_UNITY_MAP | IVMD_FLAG_EXCL_RANGE))
            init_unity_map_range(m, table);

IVMD_FLAG_UNITY_MAP (0x01) occupies the same bit position as the IVHD
flags field's HtTunEn bit. Unlike real hardware, QEMU's AMD IOMMU
emulation sets HtTunEn unconditionally (flags=0xD1 for type 0x10,
0x11 for type 0x11), so every QEMU-emitted IVHD block is misidentified
as a unity-map/exclusion-range IVMD entry, which subsequently results
in the creation of a bogus pci segment. Eg:

    AMD-Vi: PCI segment : 0x4000, last bdf : 0x0000

    [8 lines not shown]
DeltaFile
+12-2drivers/iommu/amd/init.c
+12-21 files

Linux/linux b32ecac — drivers/gpu/drm/amd/amdgpu amdgpu_drv.c amdgpu_device.c, drivers/iommu/amd amd_iommu_types.h init.c

iommu/amd: Enable PerfOpt automatically for integrated GPUs

PerfOpt is usable by integrated GPUs in identity mode. Enable it from
the IOMMU driver's domain attachment paths instead of requiring an
amdgpu policy knob and exported enable/disable interfaces.

Mark supported integrated GPUs as PerfOpt-eligible when selecting their
default identity domain. Skip GCR3 setup and ATS/PRI/PASID enablement for
these identity attachments, then enable PerfOpt after installing the DTE.
Clear PerfOpt before attaching an eligible GPU to a translated or blocked
domain, including unmanaged domains used by VFIO. Propagate failures to
clear bypass, but keep a completed identity attachment successful if the
optional PerfOpt enable fails.

Clear inherited PerfOpt state during initialization, including when a crash
kernel reuses device tables. Read feature support directly from hardware
because cached features may not be available yet, and stop initialization
if the initial clear fails.


    [14 lines not shown]
DeltaFile
+41-211drivers/iommu/amd/iommu.c
+50-41drivers/iommu/amd/init.c
+0-50drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+0-12drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+0-11include/linux/amd-iommu.h
+3-3drivers/iommu/amd/amd_iommu_types.h
+94-3282 files not shown
+95-3318 files

Linux/linux f66469d — drivers/net/ethernet/stmicro/stmmac stmmac_main.c, net/batman-adv translation-table.c

Merge tag 'net-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net

Pull networking fixes from Paolo Abeni:
 "Including fixes from Bluetooth, IPsec, WiFi and CAN.

  Current release - regressions:

    - eth: wwan: mhi_wwan_ctrl: send a DTR drop before it can be coalesced

  Previous releases - regressions:

    - core:
       - use a dedicated flag to track disabled napi instances
       - frags: limit the truesize of a reassembly queue
       - reject a negative TCP header offset in qdisc_pkt_len_segs_init()y

    - tcp:
       - reject unhashed sockets during established lookups
       - free ireq->ipv6_opt after an RCU grace period

    [63 lines not shown]
DeltaFile
+165-113net/can/raw.c
+145-91net/can/isotp.c
+171-52net/bluetooth/hci_sync.c
+129-88drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+146-69net/batman-adv/translation-table.c
+131-81net/bluetooth/hci_event.c
+887-494147 files not shown
+3,262-1,444153 files

Linux/linux 2d22005 — drivers/platform/arm64 Kconfig, drivers/platform/x86/uniwill uniwill-acpi.c

Merge tag 'platform-drivers-x86-v7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86

Pull platform driver fixes from Ilpo Järvinen:

 - arm64: asus-glymur-ec: Resolve config loop due to THERMAL symbol

 - uniwill-laptop: Add .hw_offloaded() to avoid leds subsystem warning
   about missing callback

* tag 'platform-drivers-x86-v7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
  platform/x86: uniwill-laptop: Implement .hw_offloaded trigger callback
  platform: arm64: drop the vacuous THERMAL dependency from EC_ASUS_GLYMUR
DeltaFile
+6-0drivers/platform/x86/uniwill/uniwill-acpi.c
+0-1drivers/platform/arm64/Kconfig
+6-12 files