Linux/linux 8b69c04drivers/input/rmi4 rmi_driver.c rmi_f3a.c, drivers/input/serio gscps2.c

Merge tag 'input-for-v7.2-rc0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input

Pull more input updates from Dmitry Torokhov:

 - Updates to Synaptics RMI4 driver to fix potential OOB accesses in F30
   and F3A keymap handling

 - A workaround in Synaptics RMI4 to tolerate buggy firmware on some
   touchpads (e.g. ThinkPad T14 Gen 1) that report incomplete register
   descriptor structures, preventing probe failures

 - A revert of an incorrect register descriptor address calculation in
   Synaptics RMI4 driver

 - A fix for a regression in HP GSC PS/2 (gscps2) driver where the
   receive buffer write index was not advanced, leaving keyboard and
   mouse unusable.

* tag 'input-for-v7.2-rc0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:

    [5 lines not shown]
DeltaFile
+26-13drivers/input/rmi4/rmi_driver.c
+1-1drivers/input/rmi4/rmi_f3a.c
+1-1drivers/input/rmi4/rmi_f30.c
+1-0drivers/input/serio/gscps2.c
+29-154 files

Linux/linux 780d569drivers/pwm pwm-rzg2l-gpt.c

Merge tag 'pwm/for-7.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux

Pull pwm fixes from Uwe Kleine-König:
 "Two more fixes that I managed to put into the public branch merged
  into next before my first pull request but missed to include them in
  it.

  The first change is a relevant change that fixes misconfigurations due
  to a variable overflow. The second is only cosmetic but very obviously
  an improvement"

* tag 'pwm/for-7.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux:
  pwm: rzg2l-gpt: Add missing newlines to dev_err_probe() messages
  pwm: rzg2l-gpt: Fix period_ticks type from u32 to u64
DeltaFile
+4-4drivers/pwm/pwm-rzg2l-gpt.c
+4-41 files

Linux/linux f21df87drivers/video/fbdev goldfishfb.c vga16fb.c, drivers/video/fbdev/core fbcon.c fbmem.c

Merge tag 'fbdev-for-7.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev

Pull more fbdev updates from Helge Deller:
 "Fixes for generic fbdev & fbcon code for the handling of modelists
  and preventing a potential NULL ptr dereference in the console code.

  Fix missed cleanups in the error path of various fbdev drivers.

  And Uwe Kleine-König contributed a cleanup patch to use named
  initializers in the vga16fb driver"

* tag 'fbdev-for-7.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:
  fbdev: Fix fb_new_modelist to prevent null-ptr-deref in fb_videomode_to_var
  fbcon: fix NULL pointer dereference for a console without vc_data
  fbdev: fix use-after-free in store_modes()
  fbdev: viafb: return an error when DMA copy times out
  fbdev: goldfishfb: fail pan display on base-update timeout
  fbdev: fbcon: fix out-of-bounds read in err_out of fbcon_do_set_font()
  fbdev: pm2fb: unwind WC setup on probe failure
  fbdev: vga16fb: Drop unused assignment of platform_device_id driver data
DeltaFile
+11-3drivers/video/fbdev/core/fbcon.c
+9-4drivers/video/fbdev/goldfishfb.c
+12-0drivers/video/fbdev/core/fbmem.c
+9-1drivers/video/fbdev/core/fbsysfs.c
+5-2drivers/video/fbdev/via/via-core.c
+2-2drivers/video/fbdev/vga16fb.c
+48-121 files not shown
+49-127 files

Linux/linux 1492357include/linux/soundwire sdw.h, sound/soc soc-core.c

Merge tag 'sound-fix-7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound

Pull sound fixes from Takashi Iwai:
 "A collection of small bug fixes accumulated over the last week.
  Most are device-specific fixes while there are a few core fixes as
  well.

  Here are the highlights:

  ALSA Core:
   - A fix for an uninitialised heap leak in ALSA sequencer core
   - A fix for error handling/resource leak in compress-offload API

  USB-audio:
   - A teardown-ordering fix in USB MIDI 2.0 to prevent use-after-free
   - Bounds and length checks for packet data in Native Instruments
     caiaq / Traktor Kontrol input parsers
   - Avoidance of expensive kobject path lookups in DualSense controller
     matches

    [46 lines not shown]
DeltaFile
+140-135sound/soc/rockchip/rockchip_sai.c
+53-24sound/soc/codecs/tas2783-sdw.c
+13-28sound/usb/mixer_quirks.c
+30-8include/linux/soundwire/sdw.h
+15-20sound/soc/soc-core.c
+24-5sound/soc/codecs/cs530x.c
+275-22043 files not shown
+481-31649 files

Linux/linux 4bf54e4drivers/i2c/busses i2c-i801.c i2c-mpc.c

Merge tag 'i2c-fixes-7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux

Pull i2c fixes from Andi Shyti:

 - i801: fix error path in smbus transfer

 - mpc: fix timeout calculation

* tag 'i2c-fixes-7.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux:
  i2c: i801: fix hardware state machine corruption in error path
  i2c: mpc: Fix timeout calculations
DeltaFile
+1-1drivers/i2c/busses/i2c-i801.c
+1-1drivers/i2c/busses/i2c-mpc.c
+2-22 files

Linux/linux da7ca04Documentation/devicetree/bindings/rtc epson,rx6110.yaml st,m41t93.yaml, drivers/rtc rtc-m41t93.c rtc-ds1307.c

Merge tag 'rtc-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux

Pull RTC updates from Alexandre Belloni:
 "Most of the work and improvements are for features of the m41t93.

  The ds1307 also gets support for OSF (Oscillator Stop Flag) for
  new variants.

  The pcap driver is being removed as the Motorola EZX support was
  removed a while ago.

  Subsystem:
   - add rtc_read_next_alarm() to read next expiring timer

  Drivers:
   - ds1307: handle OSF for ds1337/ds1339/ds3231, add clock provider for
     ds1307, fix wday for rx8130
   - m41t93: DT support, alarm, clock provider, watchdog support
   - mv: add suspend/resume support for wakeup

    [25 lines not shown]
DeltaFile
+436-52drivers/rtc/rtc-m41t93.c
+175-34drivers/rtc/rtc-ds1307.c
+0-179drivers/rtc/rtc-pcap.c
+68-0Documentation/devicetree/bindings/rtc/epson,rx6110.yaml
+50-0Documentation/devicetree/bindings/rtc/st,m41t93.yaml
+42-2drivers/rtc/interface.c
+771-26755 files not shown
+962-44261 files

Linux/linux 6ca693efs/crypto keyring.c keysetup.c

Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux

Pull fscrypt fixes from Eric Biggers:

 - Fix a bug where in a specific edge case, file contents en/decryption
   could be done with the wrong data unit size

 - Fix the data structure used for keeping track of users that have
   added an fscrypt key to be a simple list instead of a 'struct key'
   keyring

   This fixes issues such as a lockdep report found by syzbot and
   possible unintended interactions with the keyctl() system calls

* tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux:
  fscrypt: Replace mk_users keyring with simple list
  fscrypt: Fix key setup in edge case with multiple data unit sizes
DeltaFile
+105-134fs/crypto/keyring.c
+74-44fs/crypto/keysetup.c
+53-31fs/crypto/fscrypt_private.h
+1-7fs/crypto/inline_crypt.c
+233-2164 files

Linux/linux d86d4f8drivers/input/serio gscps2.c

Input: gscps2 - advance receive buffer write index

Commit 44f920069911 ("Input: gscps2 - use guard notation when
acquiring spinlock") moved the receive loop into gscps2_read_data()
and gscps2_report_data().

While moving the code, it preserved the writes to
buffer[ps2port->append], but omitted the following producer index
update from the original loop:

        ps2port->append = (ps2port->append + 1) & BUFFER_SIZE;

As a result, append never advances. Since gscps2_report_data() only
reports bytes while act != append, the receive buffer always appears
empty and no keyboard or mouse data reaches the serio core.

Restore the omitted index update.

Fixes: 44f920069911 ("Input: gscps2 - use guard notation when acquiring spinlock")

    [4 lines not shown]
DeltaFile
+1-0drivers/input/serio/gscps2.c
+1-01 files

Linux/linux 2d6d33edrivers/input/rmi4 rmi_driver.c

Input: rmi4 - tolerate short register descriptor structure

Some touchpads (e.g. ThinkPad T14 Gen 1) have buggy firmware that reports
a register descriptor structure size that is too small for the number of
registers it claims to have in the presence map. The remaining bytes in
the structure are 0, which with the new strict bounds checking causes the
parser to fail with -EIO, aborting the device probe.

Tolerate such short reads by dropping the remaining (unparseable or
0-size) registers from the list instead of failing the probe,
preventing the driver from trying to use them.

Fixes: 0adb483fbf2d ("Input: rmi4 - refactor register descriptor parsing")
Reported-by: Barry K. Nathan <barryn at pobox.com>
Tested-by: Barry K. Nathan <barryn at pobox.com>
Cc: stable at vger.kernel.org
Assisted-by: Antigravity:gemini-3.5-flash
Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
DeltaFile
+25-12drivers/input/rmi4/rmi_driver.c
+25-121 files

Linux/linux d855898drivers/input/rmi4 rmi_driver.c

Revert "Input: rmi4 - fix register descriptor address calculation"

The register descriptor presence register is a packet register, which
means its bytes share a single RMI address. It does not occupy
consecutive addresses, and the register structure that follows it
is located at the next RMI address (presence_address + 1), not
(presence_address + presence_size).

Revert the incorrect address calculation introduced in commit
a98518e72439.

Reported-by: "Barry K. Nathan" <barryn at pobox.com>
Tested-by: "Barry K. Nathan" <barryn at pobox.com>
Cc: stable at vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
DeltaFile
+1-1drivers/input/rmi4/rmi_driver.c
+1-11 files

Linux/linux 5a66900drivers/accel/ivpu ivpu_job.c, drivers/gpu/drm drm_connector.c drm_edid.c

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

Pull drm fixes from Dave Airlie:
 "These are just the fixes from our fixes branch, all pretty small and
  scattered.

  sysfb:
   - drm/sysfb truncation and alignment fixes

  edid:
   - fix edid OOB read in tile parsing
   - increase displayid topology id to correct size

  nouveau:
   - fix error handling paths in nouveau

  amdxdna:
   - get_bo_info fix


    [14 lines not shown]
DeltaFile
+10-3drivers/gpu/drm/sysfb/drm_sysfb_screen_info.c
+6-6drivers/gpu/drm/drm_connector.c
+5-5drivers/accel/ivpu/ivpu_job.c
+8-0drivers/gpu/drm/drm_edid.c
+4-3drivers/gpu/drm/sysfb/efidrm.c
+3-3drivers/gpu/drm/sysfb/vesadrm.c
+36-207 files not shown
+47-3013 files

Linux/linux fa6fe44drivers/gpu/drm/amd/amdgpu amdgpu_dev_coredump.c amdgpu_lockdep.c, drivers/gpu/drm/amd/amdkfd kfd_smi_events.c

Merge tag 'drm-next-2026-06-27' of https://gitlab.freedesktop.org/drm/kernel

Pull drm merge window fixes from Dave Airlie:
 "This is the merge window fixes from our next tree, i915/xe and amdgpu
  make up all of it.

  I've got a separate fixes pull from our fixes branch arriving after
  this.

  i915:
   - Fix corrupted display output on GLK, #16209
   - Add missing Spectre mitigation for parallel submit IOCTL
   - MTL+ fix for DP resume
   - clear CRTC blobs after dropping refs
   - fix sharpness filter on DP MST

  xe:
   - Set TTM beneficial order to 9 in Xe
   - Several error path cleanups

    [55 lines not shown]
DeltaFile
+129-91drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
+77-54drivers/gpu/drm/xe/xe_pt.c
+53-50drivers/gpu/drm/amd/amdgpu/amdgpu_lockdep.c
+60-39drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c
+57-34drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+43-30drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
+419-29838 files not shown
+766-45744 files

Linux/linux 5422e49fs/ceph mds_client.c debugfs.c, include/trace/events ceph.h

Merge tag 'ceph-for-7.2-rc1' of https://github.com/ceph/ceph-client

Pull ceph updates from Ilya Dryomov:
 "This adds support for manual client session reset in CephFS, allowing
  operators to get out of tricky livelock situations involving caps and
  file locks without evicting the problematic client instance on the MDS
  side or rebooting the client node both of which can be disruptive"

* tag 'ceph-for-7.2-rc1' of https://github.com/ceph/ceph-client:
  ceph: add manual reset debugfs control and tracepoints
  ceph: add client reset state machine and session teardown
  ceph: add diagnostic timeout loop to wait_caps_flush()
  ceph: harden send_mds_reconnect and handle active-MDS peer reset
  ceph: use proper endian conversion for flock_len in reconnect
  ceph: convert inode flags to named bit positions and atomic bitops
  rbd: switch to dynamic root device
DeltaFile
+780-22fs/ceph/mds_client.c
+103-0fs/ceph/debugfs.c
+39-31fs/ceph/super.h
+67-0include/trace/events/ceph.h
+51-1fs/ceph/mds_client.h
+21-17fs/ceph/locks.c
+1,061-717 files not shown
+1,112-11913 files

Linux/linux 5f80d91fs/gfs2 quota.c bmap.c

Merge tag 'gfs2-for-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2

Pull gfs2 updates from Andreas Gruenbacher:

 - fix page poisoning not handled correctly when growing files

 - quota initialization / destruction fixes: sleeping under a bitlock in
   PREEMPT_RT, broken quota_init error recovery, missing RCU
   synchronization

* tag 'gfs2-for-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
  gfs2: page poisoning fix
  gfs2: Remove unused fallocate_chunk argument
  gfs2: fix use-after-free in gfs2_qd_dealloc
  gfs2: move quota_init qc iterator increment
  gfs2: fix quota init duplicate scan
DeltaFile
+24-12fs/gfs2/quota.c
+19-0fs/gfs2/bmap.c
+12-3fs/gfs2/file.c
+1-0fs/gfs2/super.c
+1-0fs/gfs2/bmap.h
+57-155 files

Linux/linux 2dec87ddrivers/thermal/intel therm_throt.c, drivers/thermal/testing command.c thermal_testing.h

Merge tag 'thermal-7.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull thermal control fixes from Rafael Wysocki:
 "These fix a failure path in an Intel thermal driver and prevent
  thermal testing module code from being executed after it has been
  freed:

   - Fix dangling resources on thermal_throttle_online() failure in the
     Intel thermal_throttle driver (Ricardo Neri)

   - Eliminate a possibility of running thermal testing module code
     after that module has been removed (Rafael Wysocki)"

* tag 'thermal-7.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  thermal: testing: zone: Flush work items during cleanup
  thermal: intel: Fix dangling resources on thermal_throttle_online() failure
DeltaFile
+32-4drivers/thermal/testing/command.c
+8-0drivers/thermal/testing/thermal_testing.h
+3-4drivers/thermal/testing/zone.c
+6-1drivers/thermal/intel/therm_throt.c
+49-94 files

Linux/linux e27d4bbdrivers/cpuidle driver.c, kernel/sched cpufreq_schedutil.c

Merge tag 'pm-7.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fixes from Rafael Wysocki:
 "These fix the schedutil cpufreq governor and drop a bogus warning
  from the cpuidle core:

   - Remove a misguided warning along with an inaccurate comment
     next to it from the cpuidle core (Rafael Wysocki)

   - Clear need_freq_update as appropriate in the .adjust_perf()
     path of the schedutil cpufreq governor to avoid calling
     cpufreq_driver_adjust_perf() unnecessarily on every scheduler
     utilization update (Zhongqiu Han)"

* tag 'pm-7.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  cpuidle: Allow exit latency to exceed target residency
  cpufreq: schedutil: Fix uncleared need_freq_update on the .adjust_perf() path
DeltaFile
+0-8drivers/cpuidle/driver.c
+1-0kernel/sched/cpufreq_schedutil.c
+1-82 files

Linux/linux 737b9ffdrivers/acpi sysfs.c resource.c, drivers/acpi/acpica utnonansi.c

Merge tag 'acpi-7.2-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull ACPI support fixes and cleanups from Rafael Wysocki:
 "These fix assorted issues and do cleanups in the ACPI support code,
  which includes a fix for tools build breakage related to strncpy()
  removal:

   - Unbreak ACPICA tools builds after switching over to using
     strscpy_pad() that is kernel-specific (Rafael Wysocki)

   - Fix module parameter file paths in comments in the ACPI code
     managing the general sysfs attributes (Zenghui Yu)

   - Update kerneldoc comments in the ACPI resource management code to
     follow the common style (Andy Shevchenko)

   - Fix inverted interface check in ipmi_bmc_gone() that may cause ACPI
     IPMI interfaces to be mishandled (Xu Rao)


    [9 lines not shown]
DeltaFile
+7-7drivers/acpi/sysfs.c
+9-0drivers/acpi/acpica/utnonansi.c
+3-3drivers/acpi/resource.c
+2-2drivers/acpi/processor_idle.c
+1-1drivers/acpi/riscv/cpuidle.c
+1-1drivers/acpi/acpi_ipmi.c
+23-146 files

Linux/linux f0789fdDocumentation/devicetree/bindings/spi snps,dw-apb-ssi.yaml, drivers/spi spi.c spi-rpc-if.c

Merge tag 'spi-fix-v7.2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi

Pull spi fixes from Mark Brown:
 "A fairly unremarkable collection of fixes that came in over the
  merge window, plus a new device ID for the DesignWare controller
  in the StarFive JHB100 SoC.

  There's a couple of core fixes included, one avoiding freeing an
  empty resource in error handling cases and another which fixes a
  NULL dereference which could be triggered by using an abnormal
  device registration flow like driver_override"

* tag 'spi-fix-v7.2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
  spi: imx: reconfigure for PIO when DMA cannot be started
  spi: dw: Add support for snps,dwc-ssi-2.00a
  spi: dt-bindings: snps,dw-apb-ssi: Add starfive,jhb100-spi
  spi: rpc-if: Use correct device for hardware reinitialization on resume
  spi: acpi: Free resource list at appropriate time
  spi: dw: fix wrong BAUDR setting after resume

    [2 lines not shown]
DeltaFile
+7-3drivers/spi/spi.c
+5-1drivers/spi/spi-rpc-if.c
+6-0Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
+2-2drivers/spi/spi-uniphier.c
+2-1drivers/spi/spi-imx.c
+1-0drivers/spi/spi-dw.h
+23-71 files not shown
+24-77 files

Linux/linux 76bf065drivers/regulator da9121-regulator.c pca9450-regulator.c

Merge tag 'regulator-fix-v7.2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator

Pull regulator fixes from Mark Brown:
 "A couple of unremarkable driver specific fixes that came in during the
  merge window"

* tag 'regulator-fix-v7.2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
  regulator: da9121: Use subvariant ids in the I2C table
  regulator: pca9450: Correct default t_off_deb for PCA9451A/PCA9452
DeltaFile
+9-9drivers/regulator/da9121-regulator.c
+6-1drivers/regulator/pca9450-regulator.c
+15-102 files

Linux/linux fa95661drivers/base/regmap regcache.c

Merge tag 'regmap-fix-v7.2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap

Pull regmap fix from Mark Brown:
 "Ensure that we don't overwrite the error code when cleaning up a
  failed cache initialisation, helping people debug issues if they
  do arise"

* tag 'regmap-fix-v7.2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap:
  regcache: Do not overwrite error code when finalizing cache after error
DeltaFile
+1-1drivers/base/regmap/regcache.c
+1-11 files

Linux/linux 795f1b1drivers/thermal/testing command.c thermal_testing.h

Merge branch 'thermal-testing'

Merge a fix eliminating a possibility of running the thermal testing
module code after that module has been removed.

* thermal-testing:
  thermal: testing: zone: Flush work items during cleanup
DeltaFile
+32-4drivers/thermal/testing/command.c
+8-0drivers/thermal/testing/thermal_testing.h
+3-4drivers/thermal/testing/zone.c
+43-83 files

Linux/linux 3a2976ddrivers/cpuidle driver.c

Merge branch 'pm-cpuidle'

Merge a cpuidle core fix that removes a misguided warning along with an
inaccurate comment next to it.

* pm-cpuidle:
  cpuidle: Allow exit latency to exceed target residency
DeltaFile
+0-8drivers/cpuidle/driver.c
+0-81 files

Linux/linux cf1e70ddrivers/acpi sysfs.c resource.c, drivers/acpi/riscv cpuidle.c

Merge branches 'acpi-sysfs', 'acpi-resource', 'acpi-driver' and 'acpi-processor'

Merge an update of comments regarding the ACPI sysfs code, a kernel-doc
style fixup update of ACPI resource management, and ACPI IPMI driver
fix, and an ACPI processor driver fix for 7.2-rc1:

 - Fix module parameter file paths in comments in the ACPI code managing
   the general sysfs attributes (Zenghui Yu)

 - Update kerneldoc comments in the ACPI resource management code to
   follow the common style (Andy Shevchenko)

 - Fix inverted interface check in ipmi_bmc_gone() which may cause ACPI
   IPMI interfaces to be mishandled (Xu Rao)

 - Add __cpuidle to idle state management functions related to ACPI _LPI
   to avoid trace-induced RCU warnings (Li RongQing)

* acpi-sysfs:

    [10 lines not shown]
DeltaFile
+7-7drivers/acpi/sysfs.c
+3-3drivers/acpi/resource.c
+2-2drivers/acpi/processor_idle.c
+1-1drivers/acpi/riscv/cpuidle.c
+1-1drivers/acpi/acpi_ipmi.c
+14-145 files

Linux/linux fc91b7dDocumentation/devicetree/bindings/clock renesas,cpg-div6-clock.yaml, Documentation/devicetree/bindings/mfd khadas,mcu.yaml

Merge tag 'devicetree-fixes-for-7.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

Pull devicetree fixes from Rob Herring:

 - Drop unnecessary type reference from khadas,mcu "fan-supply"

 - Fix clocks in Renesas R-Mobile APE6 example

 - Add missing Unisoc SC2730 PMIC regulators schema

 - Fix Amlogic thermal example

 - kernel-doc fix for of_map_id()

 - Handle negative index in of_fwnode_get_reference_args()

* tag 'devicetree-fixes-for-7.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
  dt-bindings: mfd: khadas,mcu: Drop type reference from "fan-supply"
  dt-bindings: clock: renesas: div6: Use ZT/ZTR trace clock in R-Mobile APE6 example

    [5 lines not shown]
DeltaFile
+44-0Documentation/devicetree/bindings/regulator/sprd,sc2730-regulator.yaml
+8-0drivers/of/property.c
+4-1Documentation/devicetree/bindings/thermal/amlogic,thermal.yaml
+2-2drivers/of/base.c
+1-1Documentation/devicetree/bindings/clock/renesas,cpg-div6-clock.yaml
+0-1Documentation/devicetree/bindings/mfd/khadas,mcu.yaml
+59-56 files

Linux/linux 51cb1aaarch/loongarch/include/asm current.h, arch/loongarch/kernel acpi.c head.S

Merge tag 'loongarch-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson

Pull LoongArch updates from Huacai Chen:

 - Add THREAD_INFO_IN_TASK implementation

 - Add build salt to the vDSO

 - Add some BPF JIT inline helpers

 - Update DTS for I2C clocks and clock-frequency

 - Some bug fixes and other small changes

* tag 'loongarch-7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson:
  selftests/bpf: Test jited inline of bpf_get_smp_processor_id() for LoongArch
  selftests/bpf: Test jited inline of bpf_get_current_task() for LoongArch
  selftests/bpf: Add __arch_loongarch to limit test cases for LoongArch
  selftests/bpf: Add get_preempt_count() support for LoongArch

    [14 lines not shown]
DeltaFile
+47-7arch/loongarch/net/bpf_jit.c
+31-0arch/loongarch/include/asm/current.h
+28-0arch/loongarch/kernel/acpi.c
+11-7arch/loongarch/kernel/head.S
+8-6arch/loongarch/kernel/switch.S
+13-0tools/testing/selftests/bpf/progs/verifier_jit_inline.c
+138-2026 files not shown
+226-5032 files

Linux/linux e7c9345arch/arm64/kernel hw_breakpoint.c static_call.c, arch/arm64/mm mmu.c

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

Pull arm64 fixes from Will Deacon:
 "Small crop of arm64 fixes for -rc1. We've got a build fix for a new
  randconfig permutation, a fix for a long-standing truncation issue
  with hardware watchpoints and a KVM initialisation fix for the newly
  merged remapping of the kernel data and bss sections:

   - Fix randconfig build failure due to missing include of asm/insn.h

   - Reject unaligned hardware watchpoints which were silently being
     truncated

   - Fix crash in KVM initialisation by deferring the read-only
     remapping of the kernel data and bss sections"

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: mm: Defer read-only remap of data/bss linear alias
  arm64/hw_breakpoint: reject unaligned watchpoints that would truncate BAS
  arm64: static_call: include asm/insns.h
DeltaFile
+6-5arch/arm64/mm/mmu.c
+9-0arch/arm64/kernel/hw_breakpoint.c
+1-0arch/arm64/kernel/static_call.c
+16-53 files

Linux/linux c292ea2fs/ecryptfs crypto.c keystore.c

Merge tag 'ecryptfs-7.2-rc1-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs

Pull ecryptfs updates from Tyler Hicks:
 "No functional changes, just code cleanups:

   - replace kmalloc()/snprintf() with kasprintf()

   - simplify code flow by removing an unnecessary variable"

* tag 'ecryptfs-7.2-rc1-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs:
  ecryptfs: use kasprintf in ecryptfs_crypto_api_algify_cipher_name
  ecryptfs: remove redundant variable found_auth_tok
DeltaFile
+7-17fs/ecryptfs/crypto.c
+5-11fs/ecryptfs/keystore.c
+12-282 files

Linux/linux 71fab6ffs/smb/server smb2pdu.c oplock.c

Merge tag 'v7.2-rc-part2-smb3-server-fixes' of git://git.samba.org/ksmbd

Pull smb server updates from Steve French:
 "This is mostly a correctness and compatibility update for ksmbd's
  SMB2/3 lease, oplock, durable handle, compound request, CREATE,
  rename, stream and share-mode handling.

  A large part of the series fixes cases found by smbtorture where ksmbd
  diverged from the SMB2/3 protocol requirements.

  The main changes are:

   - Rework SMB2 lease state handling so lease state is shared per
     ClientGuid/LeaseKey across opens, with better validation of lease
     create contexts, ACK handling, epochs, break-in-progress reporting,
     v2 lease notification routing, and chained lease breaks

   - Fix several oplock break corner cases, including ACK validation,
     timeout downgrade behavior, level-II break handling on unlink,

    [56 lines not shown]
DeltaFile
+480-200fs/smb/server/smb2pdu.c
+476-203fs/smb/server/oplock.c
+254-11fs/smb/server/vfs_cache.c
+37-21fs/smb/server/ksmbd_work.c
+16-4fs/smb/server/auth.c
+17-1fs/smb/server/vfs_cache.h
+1,280-4405 files not shown
+1,319-44711 files

Linux/linux 7f08fc1drivers/video/fbdev/core fbmem.c

fbdev: Fix fb_new_modelist to prevent null-ptr-deref in fb_videomode_to_var

info->var, a framebuffer's current mode, is expected to have a matching
entry in info->modelist. var_to_display() relies on this and treats a
failed fb_match_mode() as "This should not happen". fb_set_var() keeps it
true by adding the mode to the list on every change, and
do_register_framebuffer() does the same at registration.

store_modes() replaces the modelist from userspace. fb_new_modelist()
validates the new modes but does not check that info->var still has a
match. It relies on fbcon_new_modelist() to re-point consoles, but that
only handles consoles mapped to the framebuffer. With fbcon unbound there
are none, so info->var is left describing a mode that is no longer in the
list.

A later console takeover runs var_to_display(), where fb_match_mode()
returns NULL and leaves fb_display[i].mode NULL. fbcon_switch() passes it
to display_to_var(), and fb_videomode_to_var() dereferences the NULL mode.


    [7 lines not shown]
DeltaFile
+12-0drivers/video/fbdev/core/fbmem.c
+12-01 files

Linux/linux 5fae9a9drivers/video/fbdev/core fbcon.c

fbcon: fix NULL pointer dereference for a console without vc_data

fbcon_new_modelist() runs when a framebuffer's modelist changes. For each
console mapped to it with fb_display[i].mode set, it reads vc_cons[i].d and
passes the vc_num to fbcon_set_disp(). This assumes a console with a mode
set has a vc_data, but it can be NULL. fbcon_set_disp() sets
fb_display[i].mode before it checks vc_data, and fbcon_deinit() leaves the
mode set after the vc_data is freed. fbcon_new_modelist() then dereferences
the NULL vc_data.

Keep fb_display[i].mode set only while the console has a vc_data. Check
vc_data before setting the mode in fbcon_set_disp(), and clear the mode in
fbcon_deinit(). The existing mode check in fbcon_new_modelist() then skips
such consoles.

Reported-by: syzbot+42525d636f430fd5d983 at syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=42525d636f430fd5d983
Cc: stable at vger.kernel.org
Assisted-by: Claude:claude-opus-4-8

    [2 lines not shown]
DeltaFile
+4-3drivers/video/fbdev/core/fbcon.c
+4-31 files