Linux/linux ff68e5ffs buffer.c, fs/ext2 inode.c

Merge tag 'vfs-7.3-rc1.sync' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull vfs writeback updates from Christian Brauner:
 "This makes sync_inode_metadata() and writeback_single_inode() persist
  not only the inode but all metadata associated with it.

  A new .sync_inode_metadata superblock operation is called from
  __writeback_single_inode(). Alongside it a new I_METADATA_WRITEBACK
  state flag is added.

  Filesystems no longer need their own mmb_fsync() implementations and
  can just use simple_fsync(). All metadata is now written for IS_SYNC
  and IS_DIRSYNC inodes. Races where several fsyncs raced and mmb_sync()
  could return before all buffers were really persisted are fixed since
  I_SYNC now serializes properly.

  The I_METADATA_WRITEBACK scheme also fixes the case where a
  WB_SYNC_NONE writeback landing between write(2) and fsync(2) left
  fsync(2) failing to persist the inode. That problem is not specific to

    [42 lines not shown]
DeltaFile
+72-38fs/ext4/inode.c
+8-75fs/buffer.c
+46-17fs/fat/inode.c
+26-28fs/udf/inode.c
+35-17fs/minix/inode.c
+30-19fs/ext2/inode.c
+217-19435 files not shown
+413-36641 files

Linux/linux 1781f0bblock bdev.c, fs super.c

Merge tag 'vfs-7.3-rc1.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull vfs superblock updates from Christian Brauner:

 - Make it possible to share a block device between multiple
   filesystems.

   erofs can mount read-only blob devices shared between many
   superblocks, but because we only tracked a single superblock a
   freeze, thaw, removal or sync on such a device was never propagated
   to all the superblocks using it, and there was no way to find them.

   Add an efficient table to lookup all superblocks using a given block
   device.

 - A bunch of pre-existing fixes fell out of this work:

   A block-device freeze racing a btrfs device change could leave the
   whole filesystem stuck frozen. A bdev_freeze() issued by "dmsetup

    [31 lines not shown]
DeltaFile
+428-196fs/super.c
+135-0tools/testing/selftests/filesystems/ustat_test.c
+99-26block/bdev.c
+89-16fs/btrfs/volumes.c
+58-7fs/btrfs/dev-replace.c
+23-12fs/erofs/super.c
+832-25721 files not shown
+882-30627 files

Linux/linux aaed66fDocumentation/filesystems overlayfs.rst, fs/overlayfs super.c dir.c

Merge tag 'vfs-7.3-rc1.ovl' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull overlayfs updates from Christian Brauner:
 "This lets the merged overlayfs mount itself be idmapped through
  mount_setattr(MOUNT_ATTR_IDMAP), in addition to the already supported
  idmapped lower and upper layers. The same overlay tree can then be
  exposed under a different ownership view.

  Overlayfs already normalizes every underlying id through the relevant
  layer idmap when ovl_copyattr() copies attributes into the overlay
  inode. So the overlay inode's i_uid and i_gid are overlay-final ids.

  The overlay mount idmap composes on top of that and is applied at the
  overlay-inode boundary only while the underlying layers keep being
  accessed with the mounter's credentials through their own (possibly
  idmapped) mounts.

  So this only changes how the caller sees the overlay inode and never
  widens the mounter's access to the layers. The second,

    [23 lines not shown]
DeltaFile
+501-0tools/testing/selftests/filesystems/overlayfs/idmapped_mounts.c
+21-5fs/overlayfs/inode.c
+8-9fs/overlayfs/dir.c
+8-8tools/testing/selftests/filesystems/overlayfs/set_layers_via_fds.c
+16-0Documentation/filesystems/overlayfs.rst
+1-1fs/overlayfs/super.c
+555-234 files not shown
+560-2310 files

Linux/linux 55668d0Documentation/filesystems/caching cachefiles.rst, fs/cachefiles daemon.c internal.h

Merge tag 'vfs-7.3-rc1.netfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull cachefiles ondemand removal from Christian Brauner:
 "This sunsets cachefiles ondemand mode.

  It was an effort to make fscache usable as a kernel cache for lazy
  pulling. EROFS over fscache was its only in-tree user. fscache has
  since become netfslib-oriented while EROFS never acts as a network
  filesystem and EROFS over fscache has been removed.

  So this cleans up the netfs, fscache and cachefiles side as well"

* tag 'vfs-7.3-rc1.netfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  cachefiles,netfs: sunset ondemand mode
DeltaFile
+0-761fs/cachefiles/ondemand.c
+1-183include/trace/events/cachefiles.h
+0-179Documentation/filesystems/caching/cachefiles.rst
+0-134fs/cachefiles/internal.h
+7-89fs/cachefiles/daemon.c
+0-68include/uapi/linux/cachefiles.h
+8-1,4147 files not shown
+9-1,48413 files

Linux/linux c3d6d6dfs namespace.c

Merge tag 'vfs-7.3-rc1.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull mount updates from Christian Brauner:

 - Make the legacy mount API notify pollers of propagation changes.

   Changing propagation via change_mnt_propagation() or with
   MOVE_MOUNT_SET_GROUP update the propagation relationship of the
   target mount. But unlike mount_setattr() neither path touched the
   affected mount namespace. So pollers of /proc/<pid>/mountinfo were
   never woken.

 - Also remove a redundant panic() in mnt_init()

* tag 'vfs-7.3-rc1.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  mount: remove redundant panic() in mnt_init()
  fs/namespace: notify pollers of legacy propagation changes
DeltaFile
+7-3fs/namespace.c
+7-31 files

Linux/linux 1c3e8cefs dcache.c inode.c, include/linux pipe_fs_i.h

Merge tag 'vfs-7.3-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull misc vfs updates from Christian Brauner:
 "Bigger cleanups:

   - The lockref dead-count handling is tidied up.

     The open-coded check for a count below zero as the dead marker
     relies on information the caller should not have.

   - make put_mnt_ns() leave mounts connected. Destroying a mount
     namespace disconnected its mounts from their mount points. So a
     file descriptor still open on the parent of a mount point could be
     used to peek under it.

     Locked mounts were already kept connected to prevent exactly that.
     But a mount is only locked when its tree is copied across a user
     namespace boundary. So a mount namespace set up by a privileged
     component had no locked mounts and its mounts were disconnected.

    [72 lines not shown]
DeltaFile
+96-113fs/pipe.c
+58-0tools/testing/selftests/filesystems/mntns_cleanup/mntns_cleanup_test.c
+31-12fs/pidfs.c
+19-23fs/inode.c
+22-4include/linux/pipe_fs_i.h
+14-9fs/dcache.c
+240-16173 files not shown
+428-27579 files

Linux/linux ab5ed08Documentation/filesystems porting.rst, fs namei.c

Merge tag 'vfs-7.3-rc1.lookup' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull vfs lookup updates from Christian Brauner:
 "This refactors lookup_open() and adds vfs_lookup_open() for nfsd.

  mnt_want_write() and parent locking are moved into lookup_open()
  itself.

  audit_inode_child() is also now called in lookup_open() on failure.
  That is the calling convention in vfs_create() and vfs_mkdir(), but
  lookup_open() made no such call when atomic_open() should have created
  a file and did not. And neither did the regular ->create() path fwiw.

  This also contains work to remove the unneeded excl argument from the
  ->create() inode op"

* tag 'vfs-7.3-rc1.lookup' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  fs/namei.c: fix coding style in atomic_open() and lookup_open()
  fs/namei.c: fix kerneldoc of atomic_open() and vfs_lookup_open()

    [8 lines not shown]
DeltaFile
+247-108fs/namei.c
+8-0Documentation/filesystems/porting.rst
+2-3fs/xfs/xfs_iops.c
+2-3fs/gfs2/inode.c
+2-2fs/jffs2/dir.c
+2-2fs/afs/dir.c
+263-11848 files not shown
+315-17354 files

Linux/linux fff0150drivers/char misc_minor_kunit.c, fs fs_struct.c

Merge tag 'vfs-7.3-rc1.kthread' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull kthread vfs updates from Christian Brauner:
 "This stops kernel threads from sharing filesystem state with
  userspace. This work is about 3 cycles old and has been in -next
  for about that time.

  When the kernel boots init_task creates PID 1 and then kthreadd. From
  that point every kthread and PID 1 share the same fs_struct. That is
  why pivot_root() has to rewrite the fs_struct of all kthreads. The
  rewriting exists so that kthreads can use init's filesystem state when
  they want to. It also means userspace can move the ground out from
  under the kernel.

  PID 1 now gets a completely separate fs_struct. All kthreads are
  anchored in a private SB_KERNMOUNT instance of nullfs that cannot be
  mounted on and cannot be used to follow other mounts. Userspace init
  can no longer affect kthread filesystem state and kthreads can no
  longer affect userspace fs state without explicit opting in to that.

    [36 lines not shown]
DeltaFile
+100-3fs/fs_struct.c
+33-20kernel/fork.c
+34-0include/linux/fs_struct.h
+15-10drivers/char/misc_minor_kunit.c
+17-2init/initramfs_test.c
+6-11net/unix/af_unix.c
+205-4625 files not shown
+311-11631 files

Linux/linux de03b17fs bpf_fs_kfuncs.c, include/linux net.h

Merge tag 'vfs-7.3-rc1.kfunc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull vfs bpf access updates from Christian Brauner:
 "This adds a bpf_sock_read_xattr() kfunc so a BPF LSM program can read
  a user.* extended attribute from a socket's sockfs inode locklessly.

  userspace already uses user.* xattrs on sockets to implement socket
  rate limiting and to tag sockets for other purposes such as a varlink
  registry. There has been no efficient way for a BPF program to read
  those labels back. With this a listening socket marked from userspace
  with fsetxattr() can be read back during bind or connect and acted
  upon on the connecting socket. That lets userspace mark sockets and
  later rediscover them or implement policy on them"

* tag 'vfs-7.3-rc1.kfunc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  selftests/bpf: Add test for bpf_sock_read_xattr() kfunc
  fs: Add bpf_sock_read_xattr() kfunc to read socket xattrs
DeltaFile
+67-0tools/testing/selftests/bpf/prog_tests/sock_xattr.c
+54-0tools/testing/selftests/bpf/progs/sock_read_xattr.c
+37-0fs/bpf_fs_kfuncs.c
+25-0net/socket.c
+3-0tools/testing/selftests/bpf/bpf_experimental.h
+1-0include/linux/net.h
+187-06 files

Linux/linux 9ea8d61fs/fuse file.c, fs/iomap iter.c direct-io.c

Merge tag 'vfs-7.3-rc1.iomap' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull iomap updates from Christian Brauner:
 "The bulk of this is the conversion of iomap to a single ->iomap_next()
  callback and thus finishing the move to an iterator model.

  Every iomap operation drove its iteration through a struct iomap_ops
  holding ->iomap_begin() and ->iomap_end(). iomap_iter() only ever sees
  those as pointers. That means every step of every iteration is an
  indirect call.

  This collapses both into one ->iomap_next() callback that finishes the
  previous mapping and produces the next one. This lets callers inline
  the iteration loop and pass its ->iomap_next() as a compile time
  constant. That means the compiler can turn it into a direct and hence
  inlineable call.

  This also allows future callers to express custom logic to drive the
  iteration forward better. xfs, btrfs, ext4, ext2, erofs, f2fs, gfs2,

    [60 lines not shown]
DeltaFile
+183-7fs/iomap/direct-io.c
+161-17include/linux/iomap.h
+74-56fs/iomap/iter.c
+30-11fs/xfs/xfs_iomap.c
+22-10fs/ntfs/iomap.c
+5-19fs/fuse/file.c
+475-12023 files not shown
+570-16029 files

Linux/linux 3d1f952fs/fat namei_msdos.c

Merge tag 'vfs-7.3-rc1.fat' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull FAT update from Christian Brauner:
 "This rejects names longer than NAME_MAX in msdos_format_name().

  The VFS only enforces PATH_MAX rather than the length of an individual
  component. open() on such a path component reported success for a name
  far longer than NAME_MAX"

* tag 'vfs-7.3-rc1.fat' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  fat: reject name longer than NAME_MAX in msdos_format_name()
DeltaFile
+3-0fs/fat/namei_msdos.c
+3-01 files

Linux/linux cd051cfDocumentation/filesystems failfs.rst, fs open.c failfs.c

Merge tag 'vfs-7.3-rc1.failfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull failfs filesystem from Christian Brauner:
 "Add failfs and expose a FD_FAILFS_ROOT sentinel.

  This allows userspace to shed their filesystem state completely. A
  process with its root or working directory in failfs must anchor every
  path lookup at an explicit file descriptor. Absolute paths, absolute
  symlinks and AT_FDCWD-relative lookups simply fail.

  Failfs is the counterpart to nullfs. nullfs says adds a permanently
  empty, immutable directory whose lookups fail with ENOENT but which
  can be opened, read, stat'd and mounted upon. Failfs on the other hand
  fails every operation. The root cannot be opened at all. A single
  instance is mounted during early boot via kern_mount(), which makes it
  logically distinct from every mount namespace.

  This is accompanied by a new fchroot() system call which makes
  chrooting via a file descriptor a first class concept. It's possible

    [11 lines not shown]
DeltaFile
+585-0tools/testing/selftests/filesystems/failfs/failfs_test.c
+166-0fs/failfs.c
+73-0Documentation/filesystems/failfs.rst
+50-1fs/open.c
+5-1tools/include/uapi/asm-generic/unistd.h
+5-1include/uapi/asm-generic/unistd.h
+884-338 files not shown
+931-544 files

Linux/linux d31a688fs/efs inode.c super.c, fs/freevxfs vxfs_bmap.c vxfs_lookup.c

Merge tags 'vfs-7.3-rc1.efs' and 'vfs-7.3-rc1.freevxfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull efs and freevxfs removal from Christian Brauner:
 "This removes the EFS and freevxfs filesystems:

   - EFS was the read-only on-disk format SGI used on IRIX before XFS

   - freevxfs provided compatibility with various old-school Unix
     systems from the 1990s and was fun 25 years ago. Today it mostly
     serves as fodder for automated bug checkers. There has been only
     one known user and contributor in the last 15 years"

* tag 'vfs-7.3-rc1.efs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  efs: Remove EFS

* tag 'vfs-7.3-rc1.freevxfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  freevxfs: remove the driver
DeltaFile
+0-368fs/efs/super.c
+0-347fs/freevxfs/vxfs_super.c
+0-315fs/efs/inode.c
+0-314fs/freevxfs/vxfs_inode.c
+0-273fs/freevxfs/vxfs_lookup.c
+0-272fs/freevxfs/vxfs_bmap.c
+0-1,88924 files not shown
+0-3,72430 files

Linux/linux b9cba7eDocumentation/admin-guide binfmt-misc.rst, fs binfmt_misc_bpf.c binfmt_misc.c

Merge tag 'vfs-7.3-rc1.binfmt' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull binfmt updates from Christian Brauner:
 "This contains a bunch of work for binfmt_misc. It fixes a bunch of
  old bugs, reworks the locking, and then extends the format registry
  so a binary type can be matched programmatically and its interpreter
  computed per exec instead of being a fixed string recorded at
  registration time.

  This allows nixos and other to e.g., implement relocatable binaries
  meaning the interpreter/dynamic loader can be determined
  programatically, say found relative to the binary. The mechanism is
  flexible and can support other policies:

   - Handler lookup is now an rcu walk. An exec that matches no
     binfmt_misc entry should now never write to a shared cacheline

   - remove the VERBOSE_STATUS and USE_DEBUG compile time toggles


    [85 lines not shown]
DeltaFile
+1,157-523fs/binfmt_misc.c
+638-0tools/testing/selftests/exec/binfmt_misc_bpf.c
+434-0fs/binfmt_misc_bpf.c
+372-0tools/testing/selftests/exec/binfmt_misc_loader.c
+315-0tools/testing/selftests/exec/binfmt_misc_common.h
+243-3Documentation/admin-guide/binfmt-misc.rst
+3,159-52629 files not shown
+5,000-55435 files

Linux/linux 043d7a2ipc mqueue.c, kernel exit.c

Merge tags 'ipc-7.3-rc1.misc' and 'kernel-7.3-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs

Pull misc ipc and core updates from Christian Brauner:

 - reject mq_notify() with a zero signal number

 - fix coding style in the exit path

* tag 'ipc-7.3-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  mqueue: reject mq_notify with signo 0

* tag 'kernel-7.3-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
  kernel: exit: fix coding style missing spaces
DeltaFile
+2-3ipc/mqueue.c
+1-1kernel/exit.c
+3-42 files

Linux/linux 8d3ae59. Makefile

Linux 7.2
DeltaFile
+1-1Makefile
+1-11 files

Linux/linux fd923b3kernel/sched fair.c

Merge tag 'sched_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull scheduler fix from Borislav Petkov:

 - Make sure a delayed sched entity's runtime stats are updated at the
   right time so that it receives the proper lag compensation

* tag 'sched_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  sched: Update time before requeueing delayed entities
DeltaFile
+2-0kernel/sched/fair.c
+2-01 files

Linux/linux 240de1adrivers/clocksource arm_arch_timer.c, include/linux tick.h

Merge tag 'timers_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer fixes from Borislav Petkov:

 - Detect a broken EL2 virtual timer in the bcm2712 SoC boards (RPi5)
   and fallback to the physical one instead

 - Fix a build error with ARM rpc_defconfig and function tracer enabled

* tag 'timers_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  clocksource/drivers/arm_arch_timer: Workaround bcm2712 broken EL2 virtual timer
  tick: Include ktime.h and jiffies.h in linux/tick.h
DeltaFile
+23-1drivers/clocksource/arm_arch_timer.c
+2-0include/linux/tick.h
+25-12 files

Linux/linux 7820dd4include/linux rseq_entry.h

Merge tag 'core_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull rseq fix from Borislav Petkov:

 - Prevent a lockup when rseq grants a timeslice extension

* tag 'core_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  rseq: Prevent hard lockup on granted time slice extension
DeltaFile
+1-0include/linux/rseq_entry.h
+1-01 files

Linux/linux d6e7d57drivers/net/wireless/mediatek/mt76/mt7921 main.c regd.h

wifi: mt76: mt7921: refactor regd update to fix recursive mutex deadlock

Split mt7921_mcu_regd_update() into two functions to prevent recursive
mutex acquisition. Introduce __mt7921_mcu_regd_update() as the internal
implementation that assumes the mutex is already held by the caller,
while mt7921_mcu_regd_update() remains as the external interface that
handles mutex acquisition and release.

This fixes a deadlock issue when mt7921_regd_set_6ghz_power_type() is
called with the device mutex already held. Without this change, calling
mt7921_mcu_regd_update() would attempt to acquire the same mutex again,
causing a recursive lock deadlock.

The __mt7921_mcu_regd_update() function can be safely called when the
caller has already acquired the device mutex, avoiding the deadlock
while maintaining proper synchronization for regulatory domain updates.

Fixes: dc2608cf5224 ("wifi: mt76: mt7921: refactor regulatory notifier flow")
Signed-off-by: Charlie-cy Wu <Charlie-cy.Wu at mediatek.com>

    [3 lines not shown]
DeltaFile
+19-11drivers/net/wireless/mediatek/mt76/mt7921/regd.c
+1-1drivers/net/wireless/mediatek/mt76/mt7921/main.c
+2-0drivers/net/wireless/mediatek/mt76/mt7921/regd.h
+22-123 files

Linux/linux d5b95e6drivers/i2c/busses i2c-designware-platdrv.c

Revert "i2c: designware: defer probe if child GpioInt controllers are not bound"

This reverts commit 0a4bb2abc3e56d7be6e69b050c88ba52c87e22bf.

This was reported to break the touchpad on at least some Thinkpads, and
while the revert has hit the i2c tree, it hasn't hit mine.  So I'm
reverting it directly just to have this resolved for the imminent 7.2
release.

Reported-by: Thorsten Leemhuis <linux at leemhuis.info>
Link: https://lore.kernel.org/all/b4a4eadb-282f-464c-843a-19d415a34d0c@leemhuis.info/
Cc: Mario Limonciello <mario.limonciello at amd.com>
CC: Hardik Prakash <hardikprakash.official at gmail.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
DeltaFile
+0-80drivers/i2c/busses/i2c-designware-platdrv.c
+0-801 files

Linux/linux 9da3fc3kernel/events core.c

Merge tag 'perf_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull perf fixes from Borislav Petkov:

 - Prevent the use of exited events as group leaders

 - Avoid use-after-free of an event's group leader by promoting detached
   sibling events to standalone entities and correct related accounting
   and state transitions

* tag 'perf_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/core: Fix group leader use-after-free after sibling detach
  perf: Reject exited events as group leaders
DeltaFile
+44-31kernel/events/core.c
+44-311 files

Linux/linux 16429bbDocumentation/admin-guide kernel-parameters.txt, arch/x86/kernel/cpu common.c

Merge tag 'x86_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Borislav Petkov:

 - Add a proper kernel cmdline option to control the TLB invalidation
   method on x86 prompted mainly by a recent finding on AMD related to
   INVLPGB/TYLBSYNC invalidations.

   Having the command line option is simply another way to alleviate
   the situation short-term

* tag 'x86_urgent_for_v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/CPU: Add a tlbi= cmdline switch
DeltaFile
+10-0arch/x86/kernel/cpu/common.c
+4-0Documentation/admin-guide/kernel-parameters.txt
+14-02 files

Linux/linux dcb6883drivers/block/drbd drbd_nl.c

Merge tag 'block-7.2-20260815' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull block fix from Jens Axboe:
 "A single fix for a regression in this cycle, where drbd would leak
  shared secrets over netlink. This restores the behavior to match
  what we had before"

* tag 'block-7.2-20260815' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  drbd: don't leak the shared secret to unprivileged netlink dumps
DeltaFile
+25-14drivers/block/drbd/drbd_nl.c
+25-141 files

Linux/linux 0bae94aio_uring rsrc.c

Merge tag 'io_uring-7.2-20260815' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fix from Jens Axboe:
 "Just a single fix for a potential issue on 32-bit x86 with PAE"

* tag 'io_uring-7.2-20260815' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
  io_uring/rsrc: reject overflowing regvec bvec byte counts
DeltaFile
+6-2io_uring/rsrc.c
+6-21 files

Linux/linux c71bf11drivers/block/drbd drbd_nl.c

drbd: don't leak the shared secret to unprivileged netlink dumps

The conversion to explicit netlink serialization dropped the
exclude_sensitive parameter from net_conf_to_skb(), so each caller has
to sanitize by hand. Two dump paths were missed:
drbd_nl_get_connections_dumpit() and the volume-less connection branch
of get_one_status(). Neither op carries GENL_ADMIN_PERM, so any
unprivileged local user could read the CRAM-HMAC secret.

Add a net_conf_to_skb_sanitized() wrapper and route all three callers
through it.

Fixes: 8098eeb693c4 ("drbd: replace genl_magic with explicit netlink serialization")
Reported-by: Vivek Parikh <vivek.parikh at breachx.ai>
Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder at linbit.com>
Link: https://patch.msgid.link/20260814151617.73752-1-christoph.boehmwalder@linbit.com
Signed-off-by: Jens Axboe <axboe at kernel.dk>
DeltaFile
+25-14drivers/block/drbd/drbd_nl.c
+25-141 files

Linux/linux 3eb4077arch/arm64/boot/dts/apple t8122.dtsi, arch/arm64/boot/dts/nvidia tegra194.dtsi

Merge tag 'soc-fixes-7.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull SoC fixes from Arnd Bergmann:
 "These are three last-minute fixes for the 7.2 release, though nothing
  alarming:

   - one error handling fix for optee firmware

   - incorrect i2c data for the apple M3 that was added in 7.2

   - a boot time warning fix for nvidia tegra"

* tag 'soc-fixes-7.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
  arm64: tegra: Add EL2 virtual timer interrupt for Tegra194
  arm64: dts: apple: t8122: Fix I2C resources
  optee: ffa: Add NULL check in optee_ffa_lend_protmem
DeltaFile
+15-15arch/arm64/boot/dts/apple/t8122.dtsi
+3-0drivers/tee/optee/ffa_abi.c
+2-0arch/arm64/boot/dts/nvidia/tegra194.dtsi
+20-153 files

Linux/linux 5e060ffarch/openrisc/include/asm processor.h, arch/openrisc/kernel signal.c

Merge tag 'for-linus' of https://github.com/openrisc/linux

Pull OpenRISC fix from Stafford Horne:
 "A bug fix found by researchers:

   - mask all privileged bits when restoring the supervisor register
     from sigreturn"

* tag 'for-linus' of https://github.com/openrisc/linux:
  openrisc: signal: do not restore privileged SR bits on sigreturn
DeltaFile
+3-2arch/openrisc/kernel/signal.c
+2-0arch/openrisc/include/asm/processor.h
+5-22 files

Linux/linux 32ef1b3arch/openrisc/include/asm processor.h, arch/openrisc/kernel signal.c

openrisc: signal: do not restore privileged SR bits on sigreturn

restore_sigcontext() copies the whole supervision register (SR) from the
signal frame and only clears SPR_SR_SM before the value is reloaded into
the hardware SR (through ESR and l.rfe) on the return to user space.  All
other SR bits are left under user control.

An unprivileged task can thus return from a signal handler through a
crafted sigframe that clears SPR_SR_DME.  With the data MMU disabled the
CPU performs no translation or protection on data accesses, so the task
gains read and write access to arbitrary physical memory, a local
privilege escalation.  SPR_SR_IME, SPR_SR_SUMRA, SPR_SR_LEE, SPR_SR_EPH
and the cache-enable bits are exposed the same way.  The ptrace GPR regset
already refuses any change to SR for exactly this reason.

Restore only the arithmetic flag bits (F, CY, OV) from the signal frame
and take every privileged control bit from the SR the kernel saved on
signal entry.


    [9 lines not shown]
DeltaFile
+3-2arch/openrisc/kernel/signal.c
+2-0arch/openrisc/include/asm/processor.h
+5-22 files

Linux/linux 15ef2f7drivers/input/touchscreen sur40.c

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

Pull input fixes from Dmitry Torokhov:

 - A couple of fixes to the sur40 touchscreen driver to correct
   registration and teardown ordering, and to fix error path
   unwinding when video device registration fails.

* tag 'input-for-v7.2-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
  Input: sur40 - fix V4L error path cleanup
  Input: sur40 - fix input device registration ordering
DeltaFile
+13-10drivers/input/touchscreen/sur40.c
+13-101 files