Linux/linux 28a2330 — fs/btrfs zoned.h defrag.c

Merge tag 'for-7.4-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux

Pull btrfs fixes from David Sterba:

 - zoned mode fixes:
    - properly finish the relocated block group's zone
    - distinguish overreserved metadata space and free zones
    - don't release active zone reservations for conventional zones
    - handle transient delayed reserve refill errors during forced commit
    - skip missing devices when releasing active zone reservations

 - validate properties after reading them from device

 - fix defrag extent lookup on inode item boundary

 - fix returned value for partial direct IO writes

 - fix tracepoint print of extent type map field


    [19 lines not shown]
DeltaFile
+63-7fs/btrfs/zoned.c
+30-7fs/btrfs/direct-io.c
+15-0fs/btrfs/props.c
+13-0fs/btrfs/disk-io.c
+8-2fs/btrfs/defrag.c
+8-1fs/btrfs/zoned.h
+137-176 files not shown
+148-2712 files

Linux/linux 2076c05 — drivers/gpu/drm/amd/amdgpu amdgpu_vm.c, drivers/gpu/drm/i915/display intel_plane.c intel_pps.c

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

Pull drm fixes from Dave Ailie:
 "Usual weekly fixes, the usual suspects in xe/i915/amdgpu, but mediatek
  seems to have ran into the AI hammer for this week, but they are all
  small trivial fixes, otherwise just a few scattered fix across other
  drivers and core.

  core:
   - edid: Don't mark DisplayID Type VII YCbCr 4:2:0 timings preferred
   - sched: Fix timestamp handling
   - ttm: Destroy the ttm_tt in ttm_bo_move_null() when it's no longer
     needed

  bridge:
   - lt9611uxc: Fix firmware update verification
   - nwl-dsi: Fix DSI disable logic
   - tc358762: Fix reset gpio handling


    [93 lines not shown]
DeltaFile
+77-35drivers/gpu/drm/panthor/panthor_mmu.c
+60-43drivers/gpu/drm/i915/gem/i915_gem_shmem.c
+45-14drivers/gpu/drm/i915/display/intel_pps.c
+49-1drivers/gpu/drm/xe/xe_oa.c
+38-8drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+27-15drivers/gpu/drm/i915/display/intel_plane.c
+296-11657 files not shown
+688-29063 files

Linux/linux 3bd415a — drivers/pinctrl pinctrl-ingenic.c pinctrl-scmi.c, drivers/pinctrl/qcom pinctrl-spmi-gpio.c pinctrl-msm.c

Merge tag 'pinctrl-v7.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl

Pull pin control fixes from Linus Walleij:

 - A big set of fixes for Qualcomm SoCs: the majority involves properly
   marking "EGPIO" (external GPIOs) as being, well GPIOs. Then bugs in
   pull direction reporting, config cache, dual edge IRQs, off-by-one
   bugs, pin patterns and pin definition discrepancies. Remove some
   nonexisting pins added by misunderstandings or erroneous
   documentation

 - SCMI pincontrol with GPIO add-in has some additional fixes relating
   to milliampere conversions, reporting of off state

 - Wrong component ID and dual-edged IRQ fix for the Ingenic SoC pin
   controller

 - Bias fix for the Airoha pin controller


    [30 lines not shown]
DeltaFile
+51-51drivers/pinctrl/tegra/pinctrl-tegra186.c
+24-34drivers/pinctrl/pinctrl-rockchip.c
+44-9drivers/pinctrl/pinctrl-scmi.c
+21-16drivers/pinctrl/pinctrl-ingenic.c
+15-2drivers/pinctrl/qcom/pinctrl-msm.c
+8-3drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
+163-11520 files not shown
+186-13926 files

Linux/linux 4c15ca1 — drivers/mtd/chips cfi_cmdset_0002.c, drivers/mtd/nand/raw nand_samsung.c

Merge tag 'mtd/fixes-for-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux

Pull mtd fixes from Miquel Raynal:
 "A few important patches. Among them, two spinand core fixes, one
  around the use of the is/mark bad functions, and the other on
  continuous reads.

  On CFI, a recent change lead to a regression which is also now fixed.
  Same for SPI-NOR, a rework broke octal chips by not taking them into
  account.

  Finally, a page calculation is fixed on samsung chips and their
  correct geometry is now reported"

* tag 'mtd/fixes-for-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
  mtd: spinand: set request type explicitly in spinand_{is,mark}bad() functions
  mtd: spi-nor: clear the default read_sr2 opcode for Octal DTR flashes
  mtd: cfi_cmdset_0002: also clamp the write buffer of an x16 part strapped to x8
  mtd: rawnand: samsung: fix pages_per_eraseblock calculation
  mtd: spinand: Do not re-enable continuous reads vetoed during variant selection
DeltaFile
+15-10drivers/mtd/nand/spi/core.c
+7-6drivers/mtd/chips/cfi_cmdset_0002.c
+11-0drivers/mtd/spi-nor/sfdp.c
+10-0drivers/mtd/spi-nor/micron-st.c
+3-3drivers/mtd/nand/raw/nand_samsung.c
+6-0drivers/mtd/spi-nor/core.c
+52-191 files not shown
+56-197 files

Linux/linux a11b385 — drivers/gpu/drm/mediatek mtk_drm_drv.c mtk_hdmi_common.c

Merge tag 'mediatek-drm-fixes-20261203' of https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux into drm-fixes

Mediatek DRM Fixes - 20261203

1. mtk_hdmi: Set tz_disabled for mt8167
2. mtk_hdmi: Improve the secure output bit toggle
3. mtk_crtc: Look up connector routes in the CRTC's own mmsys
4. mtk_crtc: Skip the empty connector route slot in destroy
5. mtk_crtc: Pick the connector route on every CRTC enable
6. dsi: Fix handling of long packet reads
7. Keep the mutex node reference across deferred binds
8. Validate gamma_lut size
9. mtk_dsi: do not enable HS clock in pre-enable for LPM panels
10. dsi: Don't let a signal cut the IRQ wait short
11. dp: Unregister child devices on probe failure
12. mtk_hdmi_common: Fix clock reference leaks
13. Initialize ret in mtk_drm_of_ddp_path_build()
14. dsi: return tx_len for write transfers in mtk_dsi_host_transfer()
15. ovl: Report coverage blending on older SoCs

    [5 lines not shown]
DeltaFile
+19-7drivers/gpu/drm/mediatek/mtk_crtc.c
+11-9drivers/gpu/drm/mediatek/mtk_disp_ovl.c
+13-7drivers/gpu/drm/mediatek/mtk_dsi.c
+15-5drivers/gpu/drm/mediatek/mtk_dp.c
+3-3drivers/gpu/drm/mediatek/mtk_hdmi_common.c
+1-2drivers/gpu/drm/mediatek/mtk_drm_drv.c
+62-332 files not shown
+65-348 files

Linux/linux c3500c5 — . MAINTAINERS, drivers/platform/wmi core.c

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

Pull x86 platform driver fixes from Ilpo Järvinen:

 - Allow wmi module to load on arm64 DT system that have ACPI disabled

 - Two MAINTAINERS updates

* tag 'platform-drivers-x86-v7.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86:
  MAINTAINERS: Add Ahmed Yaseen as co-maintainer for ASUS notebooks
  MAINTAINERS: Update Intel SCU driver maintainer
  platform/wmi: Allow wmi module to load when acpi_disabled is set
DeltaFile
+5-4drivers/platform/wmi/core.c
+2-1MAINTAINERS
+7-52 files

Linux/linux f4d779d — drivers/dma-buf dma-fence.c, drivers/gpu/drm/nouveau/nvkm/core intr.c

Merge tag 'drm-misc-fixes-2026-12-04' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes

Short summary of fixes pull:

amdgpu:
- Fix timestamp misordering

bridge:
- lt9611uxc: Fix firmware update verification
- nwl-dsi: Fix DSI disable logic
- tc358762: Fix reset gpio handling

core:
- edid: Don't mark DisplayID Type VII YCbCr 4:2:0 timings preferred
- sched: Fix timestamp handling
- ttm: Destroy the ttm_tt in ttm_bo_move_null() when it's no longer needed

dma-buf:
- dma-fence: Fix timestamp misordering

    [21 lines not shown]
DeltaFile
+77-35drivers/gpu/drm/panthor/panthor_mmu.c
+20-0drivers/gpu/drm/ttm/ttm_bo_util.c
+2-13include/drm/ttm/ttm_bo.h
+13-2drivers/gpu/drm/scheduler/sched_main.c
+6-3drivers/gpu/drm/nouveau/nvkm/core/intr.c
+9-0drivers/dma-buf/dma-fence.c
+127-5313 files not shown
+167-7119 files

Linux/linux 4df3737 — arch/arm64/include/asm kernel-pgtable.h, arch/arm64/kernel image-vars.h

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

Pull arm64 fix from Catalin Marinas:

 - Fix an LLD "does not converge" link error by avoiding a wrap-around
   in SPAN_NR_ENTRIES()

* tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
  arm64: Fix transient negative image size observed by the linker
DeltaFile
+11-2arch/arm64/include/asm/kernel-pgtable.h
+0-11arch/arm64/kernel/image-vars.h
+11-132 files

Linux/linux 5dff0c8 — arch/arm64/kvm/vgic vgic.c, arch/s390/kvm/s390 vsie.c

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull kvm fixes from Paolo Bonzini:
 "arm64:

   - Bound PINTID during ITE table restore, avoiding the possibility
     that the guest plants an out-of-range LPI INTID in its own
     in-memory ITS tables prior to restore.

   - Do not blindly trust the vINTID field coming from KVM, and reject
     anything that is out of the boundaries that the hardware ITS is
     configured to support.

   - Add signal_pending checks to the scan_its_table() loop; device
     table entries with num_eventid_bits = 16 (or 65536 EventIDs per
     device) are valid but takes a long time to restore.

   - Remove quadratic complexity from the algorithm used to prune IRQs
     sitting in the AP list has a quadratic complexity, and simplify the

    [68 lines not shown]
DeltaFile
+87-88arch/arm64/kvm/vgic/vgic.c
+46-21arch/x86/kvm/lapic.c
+39-22virt/kvm/kvm_main.c
+39-10arch/x86/kvm/mmu/mmu.c
+33-9arch/s390/kvm/s390/vsie.c
+26-11arch/x86/kernel/fpu/core.c
+270-16113 files not shown
+340-18419 files

Linux/linux 294b459 — fs read_write.c, fs/ext4 file.c

Merge tag 'xfs-fixes-7.4-rc6' of git://git.kernel.org:/pub/scm/fs/xfs/xfs-linux

Pull xfs fixes from Carlos Maiolino:
 "This includes fixes for xfs's reflink feature, RWF_ATOMIC support, an
  uninitialized variable and another wrong function argument"

* tag 'xfs-fixes-7.4-rc6' of git://git.kernel.org:/pub/scm/fs/xfs/xfs-linux:
  xfs: force all shared extent swap to use rmap shared path
  xfs: move _right_neighbor_result trace before erroring out
  xfs: recheck direct write alignment after write checks
  fs: validate atomic writes after O_APPEND and limits
  xfs: pass proper leaf argument from xfs_rtrefcountbt_broot_realloc()
  xfs: initialize error in xfs_getfsmap_rtdev_rtbitmap()
DeltaFile
+39-21fs/xfs/xfs_bmap_util.c
+48-11fs/xfs/xfs_file.c
+8-6fs/xfs/libxfs/xfs_rmap.c
+13-0fs/read_write.c
+0-4fs/ext4/file.c
+2-1fs/xfs/libxfs/xfs_rtrefcount_btree.c
+110-431 files not shown
+111-447 files

Linux/linux 1f9c740 — kernel/sched/ext ext.c, tools/testing/selftests/sched_ext sub_core_caps_root.bpf.c sub_core_caps_sub.bpf.c

Merge tag 'sched_ext-for-7.4-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext

Pull sched_ext fixes from Tejun Heo:

 - The kfuncs that print messages for BPF schedulers read the format
   string with no length limit and could see it change between
   validation and use

 - An exiting task could keep pointing at a scheduler that was later
   freed

 - A task dispatched to a shared queue could be taken off it by another
   CPU before the dispatch finished and then never run again

 - With core scheduling, a sub-scheduler's task could run on a CPU that
   the sub-scheduler isn't allowed to use

 - Smaller fixes: kfuncs that depend on the caller's locking context are
   now rejected from the sub-scheduler capability callback, and a task's

    [15 lines not shown]
DeltaFile
+616-0tools/testing/selftests/sched_ext/sub_core_caps.c
+279-148kernel/sched/ext/ext.c
+109-0tools/testing/selftests/sched_ext/sub_caps_kfunc_fail.bpf.c
+107-0tools/testing/selftests/sched_ext/sub_caps_kfunc.c
+84-0tools/testing/selftests/sched_ext/sub_core_caps_sub.bpf.c
+78-0tools/testing/selftests/sched_ext/sub_core_caps_root.bpf.c
+1,273-1486 files not shown
+1,407-15912 files

Linux/linux 0d1a59c — include/linux/sched isolation.h, kernel/cgroup cpuset.c cgroup.c

Merge tag 'cgroup-for-7.4-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup

Pull cgroup fixes from Tejun Heo:

 - Writing a long fractional value to cpu.uclamp.min or cpu.uclamp.max
   could divide by zero, and negative fractional values lost their sign
   and were accepted

 - A cpuset partition update could free the scheduler domain
   housekeeping cpumask while a reader was still using it. The fix is in
   the CPU isolation code and comes through cgroup with Frederic's
   review

* tag 'cgroup-for-7.4-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
  cgroup: Preserve sign for fractional input
  sched/isolation: Publish new HK_TYPE_DOMAIN cpumask under cpuset_mutex
  selftests/cgroup: Test parsing of long fractions in cpu.uclamp.min
  cgroup: Fix divide error on long fractions in cgroup_parse_float()
DeltaFile
+80-0tools/testing/selftests/cgroup/test_cpu.c
+41-11kernel/cgroup/cgroup.c
+16-7kernel/sched/isolation.c
+8-4kernel/cgroup/cpuset.c
+4-2include/linux/sched/isolation.h
+4-0tools/testing/selftests/cgroup/config
+153-246 files

Linux/linux 7a06220 — kernel workqueue.c

Merge tag 'wq-for-7.4-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq

Pull workqueue fix from Tejun Heo:

 - cancel_work_sync() and disable_work_sync() could return while the
   work item was still running on an ordered workqueue

* tag 'wq-for-7.4-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
  workqueue: fix cancel_work_sync() on ordered workqueues
DeltaFile
+12-2kernel/workqueue.c
+12-21 files

Linux/linux 91fed31 — fs/nfsd nfs4xdr.c vfs.c

Merge tag 'nfsd-7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux

Pull nfsd fix from Chuck Lever:

 - Close a mount-point crossing gap introduced in v7.4-rc

* tag 'nfsd-7.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux:
  NFSD: Check the entered export on a mount crossing
DeltaFile
+21-11fs/nfsd/vfs.c
+5-1fs/nfsd/nfs4xdr.c
+26-122 files

Linux/linux 47cee94 — sound/core pcm_native.c, sound/hda/codecs/realtek alc269.c

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

Pull sound fixes from Takashi Iwai:
 "A batch of small fixes across the sound subsystem. There are a few
  ALSA core fixes wrt OSS emulation, which have been added quickly as
  PoC was presented. Other than that, mostly device-specific small fixes
  and quirks as usual.

  ALSA core:
   - Various fixes for PCM buffer management and mmap via OSS API
   - Prohibit PCM stream linking with OSS substreams
   - Fix audio timestamp calculation for the DEFAULT timestamp type

  HD-audio:
   - Various quirks for Lenovo, MacBook, HP, Acer, and Pavilion devices

  USB-audio:
   - Fix missing 64-bit conversions for 64-channel mixer controls
   - Fix probe regression on UA-1000

    [35 lines not shown]
DeltaFile
+28-6sound/soc/qcom/sc8280xp.c
+12-21sound/hda/codecs/realtek/alc269.c
+16-16sound/usb/mixer.c
+25-5sound/usb/misc/ua101.c
+16-2sound/core/pcm_native.c
+10-6sound/usb/mixer_scarlett.c
+107-5612 files not shown
+157-6218 files

Linux/linux 0d72e70 — . .mailmap, fs/jbd2 journal.c

Merge tag 'mm-nonmm-hotfixes-stable-2026-12-03-14-02' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull non-MM fixes from Andrew Morton:

 - "ipc/msg: prevent reads after queue permission revocation" (Hyunho
   Song):

   Prevent a blocked receiver from taking a message sent after IPC_SET
   revoked its read access. Make it recheck permissions before
   receiving, including when IPC_SET races with its insertion on the
   wait list

 - An OCFS2 quota-file extension failure no longer tries to free a NULL
   chunk, which could oops instead of returning the error. Allocate the
   chunk before extending the file, so allocation failure also leaves
   the file alone

 - Unregister the JBD2 shrinker before OCFS2 journal shutdown takes its
   semaphore. This removes a lockdep warning during unmount; the

    [14 lines not shown]
DeltaFile
+16-2.mailmap
+13-4fs/jbd2/journal.c
+9-5ipc/msg.c
+7-6fs/ocfs2/quota_local.c
+1-0include/linux/jbd2.h
+1-0fs/ocfs2/journal.c
+47-176 files

Linux/linux 82cd523 — kernel/sched/ext ext.c

sched_ext: Reset task fields after ops.exit_task()

__scx_disable_and_exit_task() resets the task fields before
ops.exit_task(). ops.exit_task() runs while @p is still on the scheduler,
so scx_bpf_task_set_dsq_vtime() accepts its writes, and they outlive the
reset. When @p moves between a parent scheduler and a sub-scheduler, the
next scheduler's ops.enable() then finds the vtime the previous one left.

Reset after ops.exit_task() instead. ops.disable() and ops.exit_task()
still see the final values, and a cancelled init now gets the reset too.

Fixes: 5771e79e461e ("sched_ext: Reset dsq_vtime and slice when a task leaves SCX")
Reported-by: Andrea Righi <arighi at nvidia.com>
Link: https://lore.kernel.org/r/aw57uMvkiKrLBBBI@gpd4
Signed-off-by: Changwoo Min <changwoo at igalia.com>
Reviewed-by: Andrea Righi <arighi at nvidia.com>
Signed-off-by: Tejun Heo <tj at kernel.org>
DeltaFile
+6-3kernel/sched/ext/ext.c
+6-31 files

Linux/linux 92d2746 — kernel fork.c, mm memory.c mmap_lock.c

Merge tag 'mm-hotfixes-stable-2026-12-03-13-49' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Pull MM fixes from Andrew Morton:

 - "mm/damon: three fixes for idle_time overflow and damos_walk() hang"
   (SJ Park):

   Fix a DAMOS walk which can wait forever when watermarks disable all
   schemes. Preserve watermark activation state across scheme commits
   and fix 32-bit idle-time statistics after about 36 minutes

 - Swapoff now drops a large swap-in folio which was never mapped,
   instead of leaving it for a later fault to trip a kernel BUG

 - cachestat() returns zeros for DAX files rather than mistaking DAX
   entries for workingset shadows and crashing

 - HMM returns the right subpage of a device-private PMD; the old offset
   could give a GPU the wrong application data, and Nouveau could select

    [41 lines not shown]
DeltaFile
+52-27mm/vmalloc.c
+22-4mm/hugetlb.c
+22-4mm/damon/core.c
+20-5mm/mmap_lock.c
+0-16kernel/fork.c
+4-9mm/memory.c
+120-6510 files not shown
+169-7716 files

Linux/linux e43576b — kernel/sched/ext ext.c

sched_ext: Don't skip NONE tasks in sched_ext_dead()

sched_ext_dead() leaves p->scx.sched set if the task was punted by
scx_fail_parent(), which leads to a use-after-free of the parent sched.

Tasks hold no reference on their sched, so p->scx.sched has to be
cleared before the sched is freed. sched_ext_dead() doesn't do that
for a task at SCX_TASK_NONE, and scx_punt_task() leaves a live task at
NONE with p->scx.sched set:

    scx_sub_disable(sub)
      __scx_init_task(parent) fails
      scx_fail_parent()
        scx_punt_task(parent, p)      NONE, p->scx.sched = parent
    sched_ext_dead(p)
      list_del_init()                 p is off scx_tasks
      state is NONE                   p->scx.sched stays
    scx_root_disable(parent)
      scx_task_iter_next_locked()     doesn't visit p

    [26 lines not shown]
DeltaFile
+15-11kernel/sched/ext/ext.c
+15-111 files

Linux/linux 561661e — . MAINTAINERS

MAINTAINERS: Add Ahmed Yaseen as co-maintainer for ASUS notebooks

Add myself as maintainer for "ASUS NOTEBOOKS AND EEEPC ACPI/WMI EXTRAS
DRIVERS" as privately discussed with Denis Benato.

Signed-off-by: Ahmed Yaseen <yaseen at ghoul.dev>
Acked-by: Denis Benato <denis.benato at linux.dev>
Link: https://patch.msgid.link/20261126-asus-armoury-maintainer-v2-1-2091821519e7@ghoul.dev
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>
DeltaFile
+1-0MAINTAINERS
+1-01 files

Linux/linux 4ce2a02 — drivers/staging/vme_user vme_tsi148.c, fs/ext4 balloc-test.c extents-test.c

Merge tag 'asoc-fix-v7.4-rc5' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Fixes for v7.4

A few quirks here, including one that fixes regressions on the Arduino
Monza which finds it needs special casing with some recent changes in
the generic card, plus a fix for an issue with PLL reprogramming being
skipped on nau8822 which broke audio when streams were started and
stopped quickly.
DeltaFile
+3,506-4fs/ext4/inode-test.c
+2,731-0fs/ext4/ialloc-test.c
+2,714-0fs/ext4/fast_commit-test.c
+0-2,643drivers/staging/vme_user/vme_tsi148.c
+2,563-72fs/ext4/extents-test.c
+2,403-0fs/ext4/balloc-test.c
+13,917-2,7191,542 files not shown
+65,529-18,2041,548 files

Linux/linux 38d4c91 — sound/core pcm_native.c

ALSA: pcm: Prohibit linking from/to OSS substream

The linked PCM is provided only for ALSA-native substreams.  Since OSS
emulation layer has exceptions and complications, we should avoid
mixing with OSS substream.  For more safety, add a sanity check to
snd_pcm_link() and prune the OSS substreams.

Cc: <stable at vger.kernel.org>
Link: https://patch.msgid.link/20261203113501.1222374-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai at suse.de>
DeltaFile
+2-0sound/core/pcm_native.c
+2-01 files

Linux/linux d568a12 — sound/core pcm_memory.c

ALSA: pcm: Prohibit buffer (re-)allocation/free during mmap

It's not right to (re-)allocate or free the PCM buffer while it's
still being mapped.  Add sanity checks in snd_pcm_lib_malloc_pages()
and *_free_pages() helpers for more safety.

Link: https://lore.kernel.org/20261202140117.1164633-1-ahmedabdelmoumen05@gmail.com
Reported-by: Ahmed Abdelmoemen <ahmedabdelmoumen05 at gmail.com>
Cc: stable at vger.kernel.org
Reviewed-by: Ahmed Abdelmoemen <ahmedabdelmoumen05 at gmail.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
Link: https://patch.msgid.link/20261203113424.1222171-4-tiwai@suse.de
DeltaFile
+5-0sound/core/pcm_memory.c
+5-01 files

Linux/linux 3fc55e9 — sound/core pcm_native.c

ALSA: pcm: Reject hw_params with buffer size changes while mmapped

Due to its design, OSS emulation allow switching the access type, etc,
during the buffer is mmapped, but the actual buffer shouldn't change;
when its is changed and the buffer is re-allocated, the mapped memory
may point to a bogus page.  Even a period size or number of periods
shouldn't be changed, either, as this can influence on the buffer
allocation in the driver side, too (e.g. cs46xx driver).

Add a sanity check to restrict the buffer changes with the mmap, and
avoid the buffer reallocation when mmapped.

Link: https://lore.kernel.org/20261202140117.1164633-1-ahmedabdelmoumen05@gmail.com
Reported-by: Ahmed Abdelmoemen <ahmedabdelmoumen05 at gmail.com>
Cc: stable at vger.kernel.org
Reviewed-by: Ahmed Abdelmoemen <ahmedabdelmoumen05 at gmail.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
Link: https://patch.msgid.link/20261203113424.1222171-3-tiwai@suse.de
DeltaFile
+13-1sound/core/pcm_native.c
+13-11 files

Linux/linux 66adf34 — sound/core pcm_native.c, sound/core/oss pcm_oss.c

ALSA: pcm: Avoid forcibly changing to OPEN state at hw_params errors

When an error happens at snd_pcm_hw_params() call, it tried to degrade
to SNDRV_PCM_STATE_OPEN, forcibly call hw_free and release memories.
This, however, shouldn't be done when the buffer is mmapped (happening
only in OSS); otherwise it may point to stray pages.

Add a check of the mmap at the error path and skips the state change
and the buffer release when mmap is used.  It'll be released at a
later point (at latest at releasing the file) in anyway.

Since there is a small window in snd_pcm_make_ready() between
snd_pcm_oss_change_param() and snd_pcm_oss_prepare(), an additional
check is put in snd_pcm_oss_prepare() to catch the failing hw_params
in the case above, too.

Link: https://lore.kernel.org/20261202140117.1164633-1-ahmedabdelmoumen05@gmail.com
Reported-by: Ahmed Abdelmoemen <ahmedabdelmoumen05 at gmail.com>
Cc: stable at vger.kernel.org

    [3 lines not shown]
DeltaFile
+4-0sound/core/oss/pcm_oss.c
+1-1sound/core/pcm_native.c
+5-12 files

Linux/linux be70623 — drivers/gpu/drm/xe xe_hwmon.c xe_guc_hwconfig.c

Merge tag 'drm-xe-fixes-2026-12-03' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes

Driver Changes:
- Hold a fence reference while waiting for migration (Bommu)
- VSEC requires soc-remapper (Michael)
- Restore default PF scheduling on failed VF enable (Marcin)
- restore userptr invalidations on VMA op unwind (Auld)
- vf: Free preempt fences on rebind worker retry (Thomas)
- survivability: Fix infinite loop in aux info traversal (Sk Anirban)
- hwmon: Improve mailbox power limit init and visibility (Karthik)
- guc: Scale suspend wait timeout with preempt timeout (Himal)
- Unplug the drm device on probe failure (Raag)
- Bump the LRU on a successful page fault (Brost)
- OA fixes related to cleanup stream on PCI unbind/remove (Umesh)
- migrate: fix pte_update_cmd_size() for non-4K PAGE_SIZE (Auld)
- allow callers to specify interruptible suballocator waits (Auld)
- configfs: Fix out-of-bounds read in parse_wa_bb_lines (Stuart)
- GuC state machine harding checks (Umesh)


    [3 lines not shown]
DeltaFile
+49-1drivers/gpu/drm/xe/xe_oa.c
+26-11drivers/gpu/drm/xe/xe_vm.c
+27-7drivers/gpu/drm/xe/xe_guc_submit.c
+16-6drivers/gpu/drm/xe/xe_migrate.c
+19-0drivers/gpu/drm/xe/xe_guc_hwconfig.c
+10-6drivers/gpu/drm/xe/xe_hwmon.c
+147-3112 files not shown
+200-5018 files

Linux/linux d992b56 — drivers/gpu/drm/amd/amdgpu amdgpu_gmc.c gfx_v9_0.c, drivers/gpu/drm/amd/amdkfd kfd_device_queue_manager.c

Merge tag 'amd-drm-fixes-7.4-2026-12-03' of https://gitlab.freedesktop.org/drm/amdgpu/kernel into drm-fixes

amd-drm-fixes-7.4-2026-12-03:

amdgpu:
- TMZ fixes
- GPUVM fixes
- GC 12.x fixes
- GC 9 fix
- UALink fix

amdkfd:
- MES fix

Signed-off-by: Dave Airlie <airlied at redhat.com>

From: Alex Deucher <alexander.deucher at amd.com>
Link: https://patch.msgid.link/20261203185817.1823904-1-alexander.deucher@amd.com
DeltaFile
+38-8drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+16-20drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
+10-4drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+6-7drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
+10-3drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+5-7drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
+85-495 files not shown
+96-5711 files

Linux/linux ae720e1 — drivers/gpu/drm/nouveau/nvkm/core intr.c

drm/nouveau/intr: do not unmask hardware interrupts while unarmed

During device initialization in nvkm_device_init(), nvkm_intr_rearm()
iterates through all legacy subdevices and calls nvkm_intr_subdev_add(),
which in turn calls nvkm_inth_allow() -> nvkm_intr_allow_locked().

nvkm_intr_allow_locked() directly writes to the hardware interrupt
enable registers (e.g. PMC register 0x160 on GP100/GP10B) to unmask the
subdevice's interrupt, and nvkm_inth_allow() then restores local CPU
interrupts via spin_unlock_irqrestore().

However, at this point, device->intr.armed is still false because arming
is performed only at the end of nvkm_intr_rearm(). On platforms where
the GPU interrupt is level-triggered and directly wired to an interrupt
controller (such as Tegra GP10B using GIC SPI 70), any pending interrupt
assertion immediately triggers the top-level interrupt handler
nvkm_intr().

In nvkm_intr(), because device->intr.armed is false, the handler bails

    [43 lines not shown]
DeltaFile
+6-3drivers/gpu/drm/nouveau/nvkm/core/intr.c
+6-31 files

Linux/linux c414eff — drivers/gpu/drm/i915/display intel_dp.c intel_dp_link_training.c, drivers/gpu/drm/i915/gem i915_gem_execbuffer.c i915_gem_shmem.c

Merge tag 'drm-intel-fixes-2026-12-03' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes

- Reject relocation writes to RO userptr
- Fix GitLab #17232: eDP panel stays black after s2idle
- Fix GitLab #17848: No signal on DP on ThinkPad TB5 dock
- Fix 2 PPC hscale adjustment for min CDCLK
- Refcount fixes to folio handling

Signed-off-by: Dave Airlie <airlied at redhat.com>
From: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Link: https://patch.msgid.link/axFCflK68DchxFAL@jlahtine-mobl
DeltaFile
+60-43drivers/gpu/drm/i915/gem/i915_gem_shmem.c
+45-14drivers/gpu/drm/i915/display/intel_pps.c
+27-15drivers/gpu/drm/i915/display/intel_plane.c
+12-4drivers/gpu/drm/i915/display/intel_dp_link_training.c
+11-1drivers/gpu/drm/i915/display/intel_dp.c
+4-0drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+159-771 files not shown
+160-787 files

Linux/linux f7d2a42 — kernel/cgroup cgroup.c, tools/testing/selftests/cgroup test_cpu.c

cgroup: Preserve sign for fractional input

cgroup_parse_float() parses the whole part with sscanf() and accumulates
and rounds the fractional digits separately. The sign is only carried by
the whole part, so "-0.5" is composed as 0.5 and "-1.5" as -0.5. If the
fraction rounds up to a whole unit, "-1.999" at two decimal places is
composed as zero.

Callers such as cpu.uclamp.* and io.cost.qos reject negative parsed
values. Losing the sign lets negative fractional input bypass those
checks and be accepted as a nonnegative value.

Read the leading sign once, after skipping whitespace, and parse the
whole part with unsigned sscanf(). Compose the scaled unsigned magnitude
with overflow checks, reject results above S64_MAX, and then apply the
sign once at the end. This also rejects a large whole part that used to
wrap during composition and be accepted as a small positive value.

Extend the cpu.uclamp.min parsing selftest to cover negative fractions,

    [7 lines not shown]
DeltaFile
+22-3kernel/cgroup/cgroup.c
+9-0tools/testing/selftests/cgroup/test_cpu.c
+31-32 files