Linux/linux 1a2ab0ffs/smb/server smbacl.c oplock.c

Merge tag 'v7.1-rc4-ksmbd-server-fixes' of git://git.samba.org/ksmbd

Pull smb server fixes from Steve French:

 - Fix two null pointer dereferences and a memory leak

* tag 'v7.1-rc4-ksmbd-server-fixes' of git://git.samba.org/ksmbd:
  ksmbd: fix null pointer dereference in compare_guid_key()
  ksmbd: fix null pointer dereference in proc_show_files()
  ksmbd: fix SID memory leak in set_posix_acl_entries_dacl() on overflow
DeltaFile
+9-3fs/smb/server/smbacl.c
+5-1fs/smb/server/oplock.c
+1-1fs/smb/server/vfs_cache.c
+15-53 files

Linux/linux 0c0b282fs/ntfs mft.c attrib.c

Merge tag 'ntfs-for-7.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs

Pull ntfs fixes from Namjae Jeon:

 - Check the index depth limit via ntfs_icx_parent_inc(), avoiding
   context corruption from excessively deep child chains

 - Switch security descriptor allocation to kzalloc() to avoid leaking
   uninitialized memory

 - Prevent an inconsistent state where vol->volume_label becomes NULL on
   allocation failure

 - Validate MFT records by verifying that attrs_offset sits within
   bytes_in_use

 - Fix an off-by-one boundary comparison, correctly catching the
   out-of-range MFT record number


    [48 lines not shown]
DeltaFile
+65-28fs/ntfs/mft.c
+22-24fs/ntfs/attrib.c
+28-7fs/ntfs/super.c
+12-5fs/ntfs/index.c
+5-4fs/ntfs/runlist.c
+5-2fs/ntfs/bdev-io.c
+137-704 files not shown
+149-8010 files

Linux/linux 650d213scripts/mod file2alias.c, scripts/package PKGBUILD

Merge tag 'kbuild-fixes-7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux

Pull Kbuild fixes from Nicolas Schier:

 - modpost: prevent stack buffer overflow in do_input_entry() and
   do_dmi_entry()

   Defensively replace unbound sprintf() calls in file2alias to prevent
   silent stack overflows and detect alias name overflows with proper
   error message.

 - kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning
   scheme

   Enable smooth upgrades from "rc" releases w/ pacman packages.

* tag 'kbuild-fixes-7.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux:
  kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning scheme
  modpost: prevent stack buffer overflow in do_input_entry() and do_dmi_entry()
DeltaFile
+53-26scripts/mod/file2alias.c
+1-1scripts/package/PKGBUILD
+54-272 files

Linux/linux c6e99c1arch/arm64/mm fault.c, include/linux gfp_types.h

Merge tag 'mm-hotfixes-stable-2026-05-18-21-07' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull misc fixes from Andrew Morton:
 "14 hotfixes. 9 are for MM. 10 are cc:stable and the remainder are for
  post-7.1 issues or aren't deemed suitable for backporting.

  There's a two-patch MAINTAINERS series from Mike Rapoport which
  updates us for the new KEXEC/KDUMP/crash/LUO/etc arrangements. And
  another two-patch series from Muchun Song to fix a couple of
  memory-hotplug issues. Otherwise singletons, please see the changelogs
  for details"

* tag 'mm-hotfixes-stable-2026-05-18-21-07' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
  mm/memory: fix spurious warning when unmapping device-private/exclusive pages
  mm: fix __vm_normal_page() to handle missing support for pmd_special()/pud_special()
  drivers/base/memory: fix memory block reference leak in poison accounting
  mm/memory_hotplug: fix memory block reference leak on remove
  lib: kunit_iov_iter: fix test fail on powerpc
  mm/page_alloc: fix initialization of tags of the huge zero folio with init_on_free

    [8 lines not shown]
DeltaFile
+50-0tools/testing/selftests/mm/hmm-tests.c
+20-4mm/memory.c
+7-4arch/arm64/mm/fault.c
+5-5include/linux/gfp_types.h
+5-5lib/tests/kunit_iov_iter.c
+4-4mm/page_alloc.c
+91-2211 files not shown
+116-3617 files

Linux/linux 2025507scripts/package PKGBUILD

kbuild: pacman-pkg: make "rc" releases adhere to pacman versioning scheme

The package versioning scheme does not enable smooth upgrades from "rc"
releases to the corresponding stable releases (e.g. 7.0.0-rc7 -> 7.0.0)
because pacman considers that a downgrade due to the underscore in
pkgver (e.g. 7.0.0_rc7), see e.g. vercmp(8) for an explanation of the
package version comparison used by pacman. Package versions which are
derived from said releases (e.g. built from git revisions) are
similarly affected. Fix this by modifying pkgver in order to remove the
hyphen from kernel versions containing "-rcN", where N is a
non-negative integer.

Acked-by: Thomas Weißschuh <linux at weissschuh.net>
Signed-off-by: Viktor Jägersküpper <viktor_jaegerskuepper at freenet.de>
Reviewed-by: Nathan Chancellor <nathan at kernel.org>
Tested-by: Nathan Chancellor <nathan at kernel.org>
Link: https://patch.msgid.link/20260515215913.92481-1-viktor_jaegerskuepper@freenet.de
Fixes: c8578539deba ("kbuild: add script and target to generate pacman package")
Signed-off-by: Nicolas Schier <nsc at kernel.org>
DeltaFile
+1-1scripts/package/PKGBUILD
+1-11 files

Linux/linux 49f8fcdscripts/mod file2alias.c

modpost: prevent stack buffer overflow in do_input_entry() and do_dmi_entry()

Several functions in scripts/mod/file2alias.c build the module alias
string by repeatedly appending into a fixed-size on-stack buffer:

        char alias[256] = {};
        ...
        sprintf(alias + strlen(alias), "%X,*", i);

This pattern is unbounded and silently corrupts the stack when the
formatted output exceeds the destination size. Two functions in this
file are realistically reachable with input that overflows their
buffer:

1. do_input_entry() appends across nine bitmap classes
   (evbit/keybit/relbit/absbit/mscbit/ledbit/sndbit/ffbit/swbit). The
   keybit case alone scans bits from INPUT_DEVICE_ID_KEY_MIN_INTERESTING
   (0x71) to INPUT_DEVICE_ID_KEY_MAX (0x2ff), 655 iterations; if a
   MODULE_DEVICE_TABLE(input, ...) populates keybit[] densely, the

    [50 lines not shown]
DeltaFile
+53-26scripts/mod/file2alias.c
+53-261 files

Linux/linux ab5fce8tools/perf builtin-trace.c, tools/perf/trace/beauty fsmount_attr.sh fsmount.c

Merge tag 'perf-tools-fixes-for-v7.1-2026-05-18' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools

Pull perf-tools fixes
 "An usual sync-up for the header files and related code:

   - copy headers that are used for perf trace syscall beautifier

   - update the beautifier scripts according to the changes

   - don't show differences in the headers by default"

* tag 'perf-tools-fixes-for-v7.1-2026-05-18' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools:
  perf trace: Update beautifier script for clone flags
  perf trace: Add beautifier script for fsmount flags
  perf build: Add make check-headers target
  perf trace: Sync uapi/linux/sched.h with the kernel source
  perf trace: Sync uapi/linux/mount.h with the kernel source
  perf trace: Sync uapi/linux/fs.h with the kernel source
  perf trace: Sync linux/socket.h with the kernel source
DeltaFile
+22-0tools/perf/trace/beauty/fsmount_attr.sh
+17-1tools/perf/trace/beauty/fsmount.c
+15-2tools/perf/trace/beauty/include/uapi/linux/sched.h
+12-0tools/perf/trace/beauty/include/uapi/linux/fs.h
+3-8tools/perf/trace/beauty/fsmount.sh
+3-6tools/perf/builtin-trace.c
+72-176 files not shown
+93-2012 files

Linux/linux 8cf8b5afs/smb/client cifsfs.c

cifs: Fix undefined variables

Fix a couple of undefined variables introduced by the patch to fix tearing
on ->remote_i_size and ->zero_point.  For some reason, make W=1 with gcc
doesn't give undefined variable warnings (but clang does).

Fixes: 2c8f4742bb76 ("netfs: Fix potential for tearing in ->remote_i_size and ->zero_point")
Reported-by: kernel test robot <lkp at intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605031459.eX5UbO3K-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202605021450.ca5QGqLH-lkp@intel.com/
cc: Steve French <sfrench at samba.org>
cc: Paulo Alcantara <pc at manguebit.org>
cc: Matthew Wilcox <willy at infradead.org>
cc: Christian Brauner <brauner at kernel.org>
cc: linux-cifs at vger.kernel.org
cc: netfs at lists.linux.dev
cc: linux-fsdevel at vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
DeltaFile
+3-3fs/smb/client/cifsfs.c
+3-31 files

Linux/linux 4d3a2a4drivers/hid hid-core.c

HID: core: Fix size_t specifier in hid_report_raw_event()

When building for 32-bit platforms, for which 'size_t' is
'unsigned int', there are warnings around using the incorrect format
specifier to print bsize in hid_report_raw_event():

  drivers/hid/hid-core.c:2054:29: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
   2053 |                 hid_warn_ratelimited(hid, "Event data for report %d is incorrect (%d vs %ld)\n",
        |                                                                                         ~~~
        |                                                                                         %zu
   2054 |                                      report->id, csize, bsize);
        |                                                         ^~~~~
  drivers/hid/hid-core.c:2076:29: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
   2075 |                 hid_warn_ratelimited(hid, "Event data for report %d was too short (%d vs %ld)\n",
        |                                                                                          ~~~
        |                                                                                          %zu
   2076 |                                      report->id, rsize, bsize);
        |                                                         ^~~~~


    [9 lines not shown]
DeltaFile
+2-2drivers/hid/hid-core.c
+2-21 files

Linux/linux 9a424b6tools/perf Makefile.perf, tools/perf/trace/beauty fsmount_attr.sh fsmount.c

Merge branch 'perf-upstream'
DeltaFile
+22-0tools/perf/trace/beauty/fsmount_attr.sh
+17-1tools/perf/trace/beauty/fsmount.c
+15-2tools/perf/trace/beauty/include/uapi/linux/sched.h
+12-0tools/perf/trace/beauty/include/uapi/linux/fs.h
+3-8tools/perf/trace/beauty/fsmount.sh
+8-1tools/perf/Makefile.perf
+77-126 files not shown
+93-2012 files

Linux/linux 4bf5d3ddrivers/media/rc ttusbir.c

Merge tag 'media/v7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media

Pull media fix from Mauro Carvalho Chehab:
 "Fix inverted error logic in ttusbir driver"

* tag 'media/v7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
  media: rc: ttusbir: fix inverted error logic
DeltaFile
+1-1drivers/media/rc/ttusbir.c
+1-11 files

Linux/linux 5dfa01efs/afs symlink.c inode.c, fs/netfs buffered_write.c buffered_read.c

Merge tag 'vfs-7.1-rc5.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull vfs fixes from Christian Brauner:
 "This contains a fixes for the current development cycle. Note that AI
  related review sometimes delays fixes a bit because we find more fixes
  for the fixes. I might try and send smaller but more fixes PRs if this
  trend keeps up.

   - Fix various netfslib bugs

   - Fix an out-of-bounds write when listing idmappings

   - Fix the return values in jfs_mkdir() and orangefs_mkdir()

   - Fix a writeback writeback array overflow in fuse

   - Fix a forced iversion increment on lazytime timestamp updates

   - Reject a negative timeval component in kern_select()

    [27 lines not shown]
DeltaFile
+285-10include/linux/netfs.h
+278-0fs/afs/symlink.c
+111-63fs/netfs/buffered_write.c
+26-101fs/afs/inode.c
+44-35fs/afs/dir.c
+39-34fs/netfs/buffered_read.c
+783-24338 files not shown
+1,172-43844 files

Linux/linux 5200f5f. Makefile

Linux 7.1-rc4
DeltaFile
+1-1Makefile
+1-11 files

Linux/linux e5d505ekernel/trace Makefile remote_test.c

Merge tag 'trace-v7.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing fixes from Steven Rostedt:

 - Add more functions to the remote allowed list

   randconfig found more functions that are allowed for the remote code
   for s390 and arm. Add them to the allowed list.

 - Fix remote_test error path

   If one of the simple ring buffers fails to load, the code is supposed
   to rollback its initialized buffers. Instead of rolling back the
   buffers for the failed load, it uses the global variable and rolls
   back all the successfully loaded buffers.

* tag 'trace-v7.1-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing: Fix desc in error path for the trace remote test module
  ring-buffer remote: Avoid unexpected symbol warnings (arm, s390)
DeltaFile
+2-2kernel/trace/Makefile
+2-2kernel/trace/remote_test.c
+4-42 files

Linux/linux 23e6a1cdrivers/virt/coco/sev-guest sev-guest.c

virt: sev-guest: Do not use host-controlled page order in cleanup path

When issuing an extended guest request (SVM_VMGEXIT_EXT_GUEST_REQUEST),
get_ext_report() allocates a buffer to retrieve a certificate blob from the
host, keeping track of its size in report_req->certs_len.

However, the host may return SNP_GUEST_VMM_ERR_INVALID_LEN, indicating
an invalid buffer size, as well as the expected length of such buffer.
get_ext_report() subsequently updates report_req->certs_len with the
host-controlled value, and cleans up the buffer by computing a page order
from such value. This is incorrect, as the host-provided length may not
match the page order of the original allocation, potentially resulting
in corruption in the page allocator.

Fix this by using alloc_pages_exact() instead, and reusing @npages to
compute the size passed to free_pages_exact(). For consistency, also
use @npages to compute the size when allocating the pages, even though
this last change has no functional effect.


    [6 lines not shown]
DeltaFile
+5-7drivers/virt/coco/sev-guest/sev-guest.c
+5-71 files

Linux/linux e7f24a3arch/x86/kernel relocate_kernel_64.S

Merge tag 'x86-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Ingo Molnar:

 - Fix x86 boot crash for non-kjump kexecs (David Woodhouse)

* tag 'x86-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/kexec: Push kjump return address even for non-kjump kexec
DeltaFile
+8-0arch/x86/kernel/relocate_kernel_64.S
+8-01 files

Linux/linux 46cd5b2lib/vdso gettimeofday.c

Merge tag 'timers-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer fix from Ingo Molnar:

 - Fix potential garbage reads in the vDSO gettimeofday code
   (Thomas Weißschuh)

* tag 'timers-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  vdso/gettimeofday: Reload sequence counter after switch to time page in do_aux()
DeltaFile
+2-3lib/vdso/gettimeofday.c
+2-31 files

Linux/linux c97481aarch/arm64/kernel entry-common.c, include/linux rseq_entry.h irq-entry-common.h

Merge tag 'sched-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fix from Ingo Molnar:

 - Fix ARM64-specific rseq regressions (Mark Rutland)

* tag 'sched-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  arm64/entry: Fix arm64-specific rseq brokenness
DeltaFile
+24-7arch/arm64/kernel/entry-common.c
+0-19include/linux/rseq_entry.h
+0-8include/linux/irq-entry-common.h
+24-343 files

Linux/linux daa3de2arch/x86/kernel/cpu/mce core.c

Merge tag 'ras-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull MCE fix from Ingo Molnar:

 - Fix an MCE polling interval adjustment regression (Borislav Petkov)

* tag 'ras-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/mce: Restore MCA polling interval halving
DeltaFile
+5-28arch/x86/kernel/cpu/mce/core.c
+5-281 files

Linux/linux ec296ebdrivers/irqchip irq-gic-v5.c irq-gic-v5-its.c, kernel irq_work.c

Merge tag 'irq-urgent-2026-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull IRQ fixes from Ingo Molnar:

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

 - Don't call add_interrupt_randomness() for NMIs in
   handle_percpu_devid_irq() (Mark Rutland)

 - Remove unused function in the ath79-cpu irqchip driver causing LKP
   CI build warnings (Rosen Penev)

 - Fix IRQ allocation/teardown leakage regressions in the GICv5 irqchip
   driver (Sascha Bischoff)

 - Fix an IRQ trigger type regression in the Meson S4 SoC irqchip driver
   (Xianwei Zhao)

 - Fix CPU offlining regression in the RiscV IMSIC irqchip driver

    [11 lines not shown]
DeltaFile
+52-46drivers/irqchip/irq-gic-v5.c
+8-26drivers/irqchip/irq-gic-v5-its.c
+7-2kernel/irq/chip.c
+0-7drivers/irqchip/irq-ath79-cpu.c
+7-0kernel/irq_work.c
+1-2drivers/irqchip/irq-meson-gpio.c
+75-832 files not shown
+77-868 files

Linux/linux f7c7994Documentation/arch/riscv cmodx.rst, arch/riscv Kconfig

Merge tag 'riscv-for-linus-7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V fixes from Paul Walmsley:
 "Relatively low-impact fixes. Probably the most notable one is that we
  no longer ask the monitor-mode firmware to delegate misaligned access
  handling to the kernel by default, since the kernel code needs
  significant improvement to match the functionality of the firmware.
  This change avoids functional problems at some cost in performance,
  but shouldn't affect any system with misaligned access handling in
  hardware.

   - Disable satp register probing when no5lvl is specified on the
     kernel command line

   - Fix a CFI-related issue with the misaligned access speed
     measurement code

   - Reduce the CFI shadow stack size limit from 4GB to 2GB (following
     ARM64 GCS)

    [30 lines not shown]
DeltaFile
+25-0arch/riscv/mm/init.c
+22-0arch/riscv/Kconfig
+9-11arch/riscv/kernel/cpufeature.c
+4-4Documentation/arch/riscv/cmodx.rst
+4-3arch/riscv/kernel/usercfi.c
+3-2arch/riscv/kernel/copy-unaligned.S
+67-206 files not shown
+77-2712 files

Linux/linux 1405a07Documentation/hwmon sy7636a-hwmon.rst, drivers/hwmon lm90.c asus_atk0110.c

Merge tag 'hwmon-for-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull hwmon fixes from Guenter Roeck:

 - asus_atk0110, acpi_power_meter: Add missing NULL pointer checks

 - lm90: Fix locking and UAF issues

 - sy7636a: Fix sysfs attribute name in documentation

* tag 'hwmon-for-v7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  hwmon: (lm90) Add lock protection to lm90_alert
  hwmon: (lm90) Stop work before releasing hwmon device
  docs: hwmon: sy7636a: fix temperature sysfs attribute name
  hwmon: (asus_atk0110) Check ACPI_COMPANION() against NULL
  hwmon: (acpi_power_meter) Check ACPI_COMPANION() against NULL
DeltaFile
+22-4drivers/hwmon/lm90.c
+6-1drivers/hwmon/asus_atk0110.c
+5-1drivers/hwmon/acpi_power_meter.c
+1-1Documentation/hwmon/sy7636a-hwmon.rst
+34-74 files

Linux/linux 55a0005kernel/trace remote_test.c

tracing: Fix desc in error path for the trace remote test module

During initialisation in remote_test_load(), if one of the
simple_ring_buffer fails to initialise, the error path attempts to
rollback initialised buffers. However, the rollback incorrectly uses the
global pointer to the trace descriptor, which is only set upon
successful load completion. Fix the error path by using the local
pointer to the descriptor.

Link: https://patch.msgid.link/20260515201616.337469-1-vdonnefort@google.com
Fixes: ea908a2b79c8 ("tracing: Add a trace remote module for testing")
Reported-by: Sashiko <sashiko-bot at kernel.org>
Signed-off-by: Vincent Donnefort <vdonnefort at google.com>

base-commit: 5d6919055dec134de3c40167a490f33c74c12581
Signed-off-by: Steven Rostedt <rostedt at goodmis.org>
DeltaFile
+2-2kernel/trace/remote_test.c
+2-21 files

Linux/linux fe6f8e9arch/powerpc Kconfig.debug, arch/powerpc/include/asm pmac_low_i2c.h

Merge tag 'powerpc-7.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fixes from Madhavan Srinivasan:

 - Fix preempt count leak in sysfs show paths

 - Fix error handling in pika_dtm_thread

 - Remove pmac_low_i2c_{lock,unlock}()

 - Enable all windfarms by default

 - Fix dead default for GUEST_STATE_BUFFER_TEST

 - Remove redundant preempt_disable|enable() calls from
   arch_irq_work_raise()

Thanks to Aboorva Devarajan, Ally Heev, Amit Machhiwal, Bart Van Assche,
Christophe Leroy, Christophe Leroy (CS GROUP), Dan Carpenter, Gautam

    [11 lines not shown]
DeltaFile
+0-34arch/powerpc/platforms/powermac/low_i2c.c
+16-8arch/powerpc/perf/hv-gpci.c
+4-2arch/powerpc/kernel/time.c
+0-4arch/powerpc/include/asm/pmac_low_i2c.h
+2-2arch/powerpc/platforms/82xx/km82xx.c
+1-2arch/powerpc/Kconfig.debug
+23-522 files not shown
+27-528 files

Linux/linux b6a08b0sound/hda/codecs ca0132.c, sound/hda/codecs/realtek alc269.c

Merge tag 'sound-7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai:
 "A collection of small fixes.  All device-specific small changes:

  HD-audio:
   - Fix NULL pointer dereference in snd_hda_ctl_add()
   - ACPI and Kconfig fixes for Cirrus drivers
   - A regression fix CA0132 codec
   - Various device-specific quirks for HP, Lenovo, Samsung, Framework etc
   - Documentation path fix

  USB-audio:
   - Boundary checks for MIDI endpoint descriptors
   - Offload mapping error handling for Qualcomm
   - A new device quirk for TTGK Technology USB-C Audio
   - A fix for Focusrite Scarlett2 mixer"

* tag 'sound-7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:

    [18 lines not shown]
DeltaFile
+31-13sound/hda/codecs/ca0132.c
+25-6sound/usb/qcom/qc_audio_offload.c
+17-3sound/hda/codecs/realtek/alc269.c
+7-5sound/usb/midi.c
+7-5sound/usb/midi2.c
+3-1sound/hda/codecs/side-codecs/cs35l41_hda.c
+90-336 files not shown
+99-3512 files

Linux/linux 873e919drivers/hwmon lm90.c

hwmon: (lm90) Add lock protection to lm90_alert

Sashiko reports:

lm90_alert() executes in the smbus alert context and calls
lm90_update_confreg() to disable the hardware alert line, without
acquiring hwmon_lock.

Concurrently, sysfs write operations (such as lm90_write_convrate) hold
the hwmon_lock, temporarily modify data->config, and then restore it.

If an alert interrupt occurs concurrently with a sysfs write, the sysfs
path will overwrite the alert handler's modifications to data->config
and the hardware register.

This unintentionally re-enables the hardware alert line while the alarm is
still active, causing an interrupt storm.

Add the missing lock to lm90_alert() to solve the problem.

    [4 lines not shown]
DeltaFile
+2-0drivers/hwmon/lm90.c
+2-01 files

Linux/linux b09a456drivers/hwmon lm90.c

hwmon: (lm90) Stop work before releasing hwmon device

Sashiko reports:

In lm90_probe(), the devm action to cancel the alert_work and report_work
(lm90_restore_conf) is registered in lm90_init_client() before
devm_hwmon_device_register_with_info() is called.

Because devm executes cleanup actions in reverse order during module
unbind or probe failure, the hwmon device is unregistered and freed first.

If lm90_alert_work() or lm90_report_alarms() runs in the window between
the hwmon device being freed and the delayed works being cancelled,
lm90_update_alarms() will dereference the freed data->hwmon_dev here.

Fix the problem by canceling the workers separately after registering
the hwmon device and before registering the interrupt handler. This ensures
that the workers are canceled after interrupts are disabled and before
the hwmon device is released. Add "shutdown" flag to indicate that device

    [5 lines not shown]
DeltaFile
+20-4drivers/hwmon/lm90.c
+20-41 files

Linux/linux 6916d57drivers/gpu/drm/amd/amdgpu amdgpu_userq_fence.c amdgpu_userq.c, drivers/gpu/drm/xe xe_vm_madvise.c xe_bo.h

Merge tag 'drm-fixes-2026-05-16' of https://gitlab.freedesktop.org/drm/kernel

Pull drm fixes from Dave Airlie:
 "Weekly fixes pull, small and all over fixes, mostly xe and amdgpu,
  with some ttm and a core fix for the handle change pain.

  core:
   - fix for the fix for the handle change race

  ttm:
   - avoid infinite loop in swap out
   - avoid infinite loop in BO shrinking
   - convert -EAGAIN from dmem_cgroup_try_charge to -ENOSPC

  bridge:
   - imx8qxp-pxl2dpi: avoid ERR_PTR with device_node cleanup

  i915:
   - Skip __i915_request_skip() for already signaled requests

    [51 lines not shown]
DeltaFile
+119-126drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c
+10-152drivers/gpu/drm/xe/xe_vm_madvise.c
+54-77drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
+86-2drivers/gpu/drm/xe/xe_bo.h
+38-42drivers/gpu/drm/xe/xe_dma_buf.c
+42-9drivers/gpu/drm/xe/xe_vm.c
+349-40826 files not shown
+540-49532 files

Linux/linux dc36660drivers/gpu/drm drm_gem.c

drm: Replace old pointer to new idr

Commit 5e28b7b94408 introduced a logical error by failing to replace the
newly generated IDR pointer to old id's pointer at the correct location
within the "change handle" logic; this resulted in the issue reported by
syzbot [1].

Specifically, the new IDR object pointer is intended to replace the original
id's pointer during the normal execution flow.

Additionally, an unnecessary conditional check for the ret exit path has
been removed.

[1]
!RB_EMPTY_ROOT(&prime_fpriv->dmabufs)
WARNING: drivers/gpu/drm/drm_prime.c:224 at drm_prime_destroy_file_private+0x48/0x60 drivers/gpu/drm/drm_prime.c:224, CPU#0: syz.0.17/5833
Call Trace:
 drm_file_free.part.0+0x7e6/0xcc0 drivers/gpu/drm/drm_file.c:269
 drm_file_free drivers/gpu/drm/drm_file.c:237 [inline]

    [11 lines not shown]
DeltaFile
+2-5drivers/gpu/drm/drm_gem.c
+2-51 files

Linux/linux 36343a8drivers/resctrl mpam_devices.c mpam_internal.h

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 MPAM fixes from Catalin Marinas:

 - Fix NULL dereference and a false-positive warning when the driver
   probes hardware with surprising version numbers

 - Fix writing values to the wrong registers when probing
   cache-utilisation counters. Replace 'NRDY' probing with a version
   that is robust for platforms where the bit is writeable by both
   hardware and software

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm_mpam: Check whether the config array is allocated before destroying it
  arm_mpam: Fix false positive assert failure during mpam_disable()
  arm_mpam: Improve check for whether or not NRDY is hardware managed
  arm_mpam: Pretend that NRDY is always hardware managed
  arm_mpam: Fix monitor instance selection when checking for hardware NRDY
DeltaFile
+40-41drivers/resctrl/mpam_devices.c
+0-2drivers/resctrl/mpam_internal.h
+40-432 files