Linux/linux 9ba46df — include/linux bitfield.h bitfield-fix-width.h, lib bitmap-str.c

Merge tag 'bitmap-for-v7.4-rc1' of https://github.com/norov/linux

Pull bitmap updates from Yury Norov:
 "This includes __MAKE_OP() macro removal from me with the follow-up
  from Mark, cleanups for bitmaps parser from Shashank and a couple Rust
  docs fixes from Georgios"

* tag 'bitmap-for-v7.4-rc1' of https://github.com/norov/linux:
  rust: bitmap: document panics in `next_bit` and `next_zero_bit`
  rust: id_pool: document panics in `find_unused_id` and `release_id`
  bitmap: test bitmap_parselist() with a group size close to UINT_MAX
  bitmap: bitmap_parselist(): don't wrap around on a huge group size
  bitmap: test bitmap_parselist() with text after the group size
  bitmap: bitmap_parselist(): reject trailing characters after group size
  bitmap: test bitmap_parse() with an illegal character before 8 hex digits
  bitmap: bitmap_parse(): reject non-hex character before 8 digits
  bitfield: Restore be16_replace_bits()
  bitfield: get rid of __MAKE_OP machinery
DeltaFile
+241-0include/linux/bitfield-fix-width.h
+236-0tools/include/linux/bitfield-fix-width.h
+1-48tools/include/linux/bitfield.h
+1-48include/linux/bitfield.h
+19-5lib/bitmap-str.c
+15-2rust/kernel/bitmap.rs
+513-1033 files not shown
+538-1049 files

Linux/linux 22a78a2 — arch/alpha/kernel signal.c, arch/hexagon/kernel signal.c

Merge __{get,put}_user() removal branch

This is long over-due: the __get_user() and __put_user() functions are
entirely historical, and are never the rigth thing to use any more.  And
when mis-used (read: every case) they are not only slower than the right
thing, but also insecure because they don't check the user address
range.

Most of the usage sites have been converted long ago, but various
left-overs remained.  So this started out as a single patch that I wrote
as a "show people how to convert __{get,put}_user() to modern code".

In particular, Thomas last year implemented the very nice new scoped
user access region helpers (see commit e497310b4ffb: "uaccess: Provide
scoped user access regions") that makes the modern interfaces
particularly easy to use and really removes any excuse for the old
horrors.

That small example patch then grew to this, partly using Claude as a

    [89 lines not shown]
DeltaFile
+128-117arch/alpha/kernel/signal.c
+100-117arch/x86/coco/sev/vc-handle.c
+85-76arch/nios2/kernel/signal.c
+50-40arch/hexagon/kernel/signal.c
+44-38kernel/signal.c
+39-24drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+446-41244 files not shown
+695-80750 files

Linux/linux 14b482c — drivers/gpu/drm/i915/gem i915_gem_execbuffer.c

drm/i915/gem: ignore errors on presumed_offset write-back

It appears that the crazy "don't check for errors" code in the i915
relocation code was intentional, but not visible in the code as such.
See commit 97a37c919f62 ("drm/i915/gem: Ignore readonly failures when
updating relocs").  Quoting that commit:

    "Be damned if you do, and damned if you don't."

So disable the error check again, but leave it around visibly for
posterity as documentation for why it's not there.

Fixes: 03c19e449ac6 ("drm/i915/gem: Don't fault on presumed_offset write-back")
Reported-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
DeltaFile
+10-1drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
+10-11 files

Linux/linux a804c57 — include/linux lsm_hook_defs.h security.h, security security.c

Merge tag 'lsm-pr-20261016' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm

Pull lsm updates from Paul Moore:

 - Add LSM hooks, object blobs, and audit records for namespaces

   Add the necessary bits to enable LSMs to enforce access controls on
   the management of various kernel namespaces. While this pull request
   does not contain any in-tree users of these hooks, the Landlock pull
   request for Linux v7.4 will include Landlock support and the next
   merge window will likely include SELinux support as well. Considering
   the development behind these hooks, I expect that BPF LSM developers
   will also be making use of the namespace hooks, if they haven't
   already.

 - Update the inode LSM hooks to include mount idmaps

   This allows LSMs to incorporate the mount ID mapping into their
   access control decisions. While there are no current in-tree users of

    [52 lines not shown]
DeltaFile
+231-0tools/testing/selftests/bpf/prog_tests/test_lsm.c
+97-18security/security.c
+79-0tools/testing/selftests/bpf/progs/lsm.c
+54-24include/linux/security.h
+15-11include/linux/lsm_hook_defs.h
+16-9security/selinux/hooks.c
+492-6220 files not shown
+599-11126 files

Linux/linux 331eadd — security/selinux avc.c selinuxfs.c, security/selinux/include avc.h

Merge tag 'selinux-pr-20261015' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux

Pull selinux updates from Paul Moore:

 - Continue to improve the load time validation of SELinux policies

   While SELinux policy loading remains a privileged operation, we
   continue the recent trend of hardening the policy parsing and
   validation code in the kernel to ensure that invalid, or poorly
   formatted policies are rejected at load time.

 - Correctly incorporate "neveraudit" into the xperms code

   This change aligns the xperms neveraudit handling with the
   conventional permission handling code, exiting early from the SELinux
   auditing code when neveraudit is enabled for the domain.

 - Mark the selinuxfs "status" and "policy" files immutable


    [33 lines not shown]
DeltaFile
+124-13security/selinux/ss/policydb.c
+34-25security/selinux/selinuxfs.c
+0-38security/selinux/ss/mls.c
+21-16security/selinux/avc.c
+4-3security/selinux/include/avc.h
+0-3security/selinux/ss/mls.h
+183-981 files not shown
+183-1017 files

Linux/linux 0d508d4 — fs fsopen.c, include/linux audit.h

Merge tag 'audit-pr-20261016' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit

Pull audit updates from Paul Moore:

 - Fix the accounting of audit filter rule additions and removals

   Tracking audit filter rules is important as their presence can
   trigger additional processing. Unfortunately, the existing code did
   not properly track the removal of filter rules, resulting in some
   cases where additional processing was done when none was required.

   This not only corrects the accounting problems, but also provides a
   cleaner API for tracking audit filter rule additions and removals.

 - Add a FSOPEN record to log the filesystem name in the new mount API

   Close a long standing audit blindspot by capturing the filesystem
   name, e.g. "tmpfs", when calling fsopen().


    [28 lines not shown]
DeltaFile
+42-44kernel/auditfilter.c
+14-6kernel/audit.h
+16-1kernel/auditsc.c
+13-3include/linux/audit.h
+3-0fs/fsopen.c
+1-1kernel/audit.c
+89-553 files not shown
+93-559 files

Linux/linux 2c455dd — fs/smb/client ioctl.c cifsfs.h

smb client: fix mis-merge with fileattr_set taking a const idmap

The danger of doing the merge window while on vacation and traveling
with just the laptop: I only do full builds a couple of times a day
because they are so slow on my poor little laptop.

As a result, I missed the conflict between the newly added smb client
fileattr_set function (commit 273913b7c33a: "smb: client: implement
fileattr_set for compression flags") and the vfs layer having in the
meantime made the idmap argument 'const' (commit 025756ee7b47: "fs: port
mnt_idmap() and file_mnt_idmap() to const mnt_idmap")

Mea culpa.

Fixes: 32543b09681a ("Merge tag 'cifs-for-7.4' of https://git.manguebit.org/linux")
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
DeltaFile
+1-1fs/smb/client/ioctl.c
+1-1fs/smb/client/cifsfs.h
+2-22 files

Linux/linux 72a16bc — fs/dlm dlm_internal.h plock.c

Merge tag 'dlm-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm

Pull dlm updates from David Teigland:
 "This contains several fixes for bugs found by static analysis, fuzzing
  and code review. They mostly involve invalid input, e.g. from
  userspace, configfs or remote nodes, and are unlikely to be seen in
  normal usage"

* tag 'dlm-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
  dlm: fix typos in comments
  dlm: clean up a type in waiters_read()
  dlm: validate node weights before building member array
  dlm: wait for outstanding SRCU callbacks to complete in exit paths
  dlm: fix variable key length lookup
  dlm: fix NULL pointer dereference in dlm_dump_rsb_name()
  dlm: validate lock modes in recovery messages
  dlm: fix buffer overflow from negative len in dlm_search_rsb_tree
  dlm: validate userspace lock resource name length
  dlm: require CAP_SYS_ADMIN for dlm-monitor device
  dlm: gate dlm_plock device on CAP_SYS_ADMIN
DeltaFile
+36-3fs/dlm/config.c
+23-0fs/dlm/user.c
+14-6fs/dlm/lock.c
+11-6fs/dlm/member.c
+13-1fs/dlm/plock.c
+5-0fs/dlm/dlm_internal.h
+102-165 files not shown
+109-2011 files

Linux/linux 7b9498b — . MAINTAINERS, Documentation/filesystems erofs.rst

Merge tag 'erofs-for-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs

Pull erofs updates from Gao Xiang:
 "The most notable change is to support superblock sharing for
  composefs, thanks to Giuseppe again.

  Another one switches to iomap for file-backed mounts on unencoded
  inodes, which enables efficient sub-folio I/Os. The others are all
  random ones.

  Summary:
   - Support superblock sharing for file-backed mounts
   - Use iomap for file-backed mounts on unencoded inodes
   - Minor fixes and cleanups"

* tag 'erofs-for-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
  erofs: enable iomap for file-backed mounts on unencoded inodes
  erofs: use on-disk blkszbits for lz4 max pcluster bound
  mailmap: update entry for Gao Xiang

    [4 lines not shown]
DeltaFile
+50-109fs/erofs/fileio.c
+53-3fs/erofs/super.c
+18-16fs/erofs/data.c
+8-4fs/erofs/internal.h
+7-0Documentation/filesystems/erofs.rst
+2-2MAINTAINERS
+138-1343 files not shown
+143-1369 files

Linux/linux 75663f5 — fs/xfs xfs_trans.h xfs_ioctl.c, fs/xfs/libxfs xfs_rtrmap_btree.c xfs_trans.h

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

Pull xfs updates from Carlos Maiolino:
 "The bulk of this are bug fixes, cleanups and code refactoring, lots of
  them. Majority of those bug fixes are targeting scrub and online
  repair code. There are no real new features here but lots of prep code
  for future work. There are also some small performance optimizations
  but nothing major"

* tag 'xfs-merge-7.4' of git://git.kernel.org:/pub/scm/fs/xfs/xfs-linux: (168 commits)
  xfs: don't limit software atomic writes by the group alignment
  xfs: add missing cursor stat checks after xfs_btree_delete
  xfs: add missing cursor status check after xfs_inobt_get_rec
  xfs: handle NULL open_zone for merged ioends in xfs_end_ioend_write_zoned
  xfs: refactor inode forkoff to byte conversions
  xfs: drop unnecessary sr parameter from xchk_rtgroup init functions
  xfs: drop unnecessary sa parameter from xchk_ag init functions
  xfs: drop unnecessary sr parameter from xrep_rtgroup init functions
  xfs: drop unnecessary sa parameter from the xrep_ag init functions

    [12 lines not shown]
DeltaFile
+265-156fs/xfs/xfs_ioctl.c
+288-0fs/xfs/libxfs/xfs_trans.h
+0-283fs/xfs/xfs_trans.h
+13-260fs/xfs/scrub/rtrefcount.c
+20-216fs/xfs/libxfs/xfs_rtrmap_btree.c
+85-120fs/xfs/scrub/xfarray.c
+671-1,035161 files not shown
+3,789-3,023167 files

Linux/linux 910a008 — fs/gfs2 xattr.c file.c

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

Pull gfs2 updates from Andreas Gruenbacher:

 - Two journaled data inode fixes (fix journaled truncate range end
   offset, fix the escaped block copy in gfs2_before_commit)

 - When reading a new resource group from disk, validate its boundaries

 - To eliminate lock contention, get rid of the per-filesystem
   sd_async_glock_wait queue and wait for the individual glock locking
   events instead

 - Shut up sparse RCU warnings by marking ip->i_gl as __rcu. Accessing
   it through gfs2_inode_glock() -> rcu_dereference_protected() where we
   know that the pointer cannot change

 - Some more minor fixes and cleanups


    [20 lines not shown]
DeltaFile
+72-60fs/gfs2/inode.c
+68-61fs/gfs2/rgrp.c
+61-37fs/gfs2/super.c
+53-40fs/gfs2/bmap.c
+41-31fs/gfs2/file.c
+41-28fs/gfs2/xattr.c
+336-25717 files not shown
+532-39823 files

Linux/linux 744e540 — fs/ext2 ext2.h super.c, fs/isofs joliet.c inode.c

Merge tag 'fs_for_v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

Pull ext2, isofs, udf and quota updates from Jan Kara:

 - ext2 changes to support clang context tracking

 - multiple isofs hardenings and cleanups

 - several udf hardening fixes

 - block use of fs-specific quota formats with incorrect filesystem

* tag 'fs_for_v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: (26 commits)
  udf: fix return value for non-recorded-allocated extents in udf_map_block()
  isofs: shrink the name conversion buffer
  isofs: pass the name buffer size to get_rock_ridge_filename()
  isofs: report the Joliet name length in statfs
  isofs: return long Joliet names whole
  isofs: Simplify isofs_read_level3_size()

    [15 lines not shown]
DeltaFile
+43-34fs/isofs/compress.c
+28-42fs/isofs/inode.c
+48-6fs/udf/inode.c
+19-14fs/ext2/super.c
+20-7fs/isofs/joliet.c
+11-8fs/ext2/ext2.h
+169-11114 files not shown
+276-13420 files

Linux/linux fefd797 — . MAINTAINERS, fs/notify/fanotify fanotify_user.c fanotify.c

Merge tag 'fsnotify_for_v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

Pull fsnotify updates from Jan Kara:
 "A couple of smaller changes for fsnotify"

* tag 'fsnotify_for_v7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
  fanotify: report names longer than NAME_MAX
  fanotify: Re-add Matt Bobrowski as a reviewer
  fsnotify: fix typo "anonynous" in comment
DeltaFile
+12-9fs/notify/fanotify/fanotify.h
+5-2fs/notify/fanotify/fanotify.c
+1-1fs/notify/fanotify/fanotify_user.c
+1-0MAINTAINERS
+19-124 files

Linux/linux d4d9eb2 — fs/configfs dir.c configfs_internal.h, include/linux configfs.h

Merge tag 'configfs-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/leitao/linux

Pull configfs updates from Breno Leitao:

 - Attribute structures can now be const (Thomas Weißschuh)

 - The first selftests for the configfs userspace interface, plus a
   sample subsystem that accepts symlinks to test against. They include
   a race of symlink(2) against rmdir of the target, which exercises the
   use-after-free fixed in v7.3-rc3.

 - Rust bindings, merged from Andreas Hindborg's signed tag: fix the
   data offset calculation in subsystem callbacks (marked for stable),
   add the missing Send and Sync bounds, and correct a safety comment.

* tag 'configfs-7.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/leitao/linux:
  samples: configfs: constify the configfs_attribute structures
  configfs: Allow the registration of const struct configfs_attribute
  configfs: Constify configfs_bin_attribute

    [10 lines not shown]
DeltaFile
+481-0tools/testing/selftests/filesystems/configfs/configfs_test.c
+129-8samples/configfs/configfs_sample.c
+86-44rust/kernel/configfs.rs
+38-35include/linux/configfs.h
+5-5fs/configfs/dir.c
+5-5fs/configfs/configfs_internal.h
+744-9710 files not shown
+771-10716 files

Linux/linux 32543b0 — fs/smb/client smb2pdu.c readdir.c

Merge tag 'cifs-for-7.4' of https://git.manguebit.org/linux

Pull smb client updates from Paulo Alcantara:

 - Implement ->fileattr_set so chattr(1) compression changes (chattr
   +c/-c) go through the generic VFS fileattr path and its permission
   and serialization checks instead of the raw FS_IOC_SETFLAGS fallback
   and remove the now-unreachable file flags ioctl handlers

 - Require stable pages when the connection is signed or SMB compression
   is enabled, so a buffered write can no longer modify a folio that is
   still in flight and corrupt its signature (surfaced as -EIO) or, with
   compression, silently corrupt the data stored on the server

 - Stop breaking a file's just-granted lease while probing it for a
   Minshall+French symlink, by reusing an already open handle or opening
   with the inode's lease key

 - Fix several out-of-bounds reads and use-after-free bug in SMB1

    [37 lines not shown]
DeltaFile
+200-73fs/smb/client/link.c
+111-72fs/smb/client/cifssmb.c
+73-92fs/smb/client/ioctl.c
+52-68fs/smb/client/smb1session.c
+56-24fs/smb/client/readdir.c
+26-40fs/smb/client/smb2pdu.c
+518-36926 files not shown
+740-54932 files

Linux/linux dd7b15a — fs/hfs extent.c btree.h, fs/hfsplus unicode.h unicode_test.c

Merge tag 'hfs-v7.4-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/vdubeyko/hfs

Pull hfs/hfsplus updates from Viacheslav Dubeyko:
 "Fix {hfs,hfsplus}_btree_close() (Bruno Produit):
   - B-tree nodes with a zero reference count remain in the node hash
     until folio reclaim or tree teardown frees them. The folio release
     callbacks remove nodes while holding hash_lock, but
     hfs_btree_close() walks and frees the same hash without that lock.
     Reclaim can therefore unhash and free a node after close has loaded
     its pointer, causing a use-after-free or double-free. Detach each
     node with hfs_bnode_unhash() while holding hash_lock before
     inspecting and freeing it. Drop the lock before hfs_bnode_free() so
     a large tree is not freed while holding a spinlock.

  Fix hfs_inode_setattr() and hfs_brec_insert() (Davy Felipe):
   - hfs_inode_setattr() rejects unsupported UID, GID and mode changes,
     but returns the value stored in error when the filesystem is not
     mounted with the quiet option. At this point error is zero, as
     execution has already passed a successful setattr_prepare() call.

    [29 lines not shown]
DeltaFile
+496-0fs/hfsplus/tables.c
+264-138fs/hfsplus/unicode.c
+309-0fs/hfsplus/unicode_test.c
+63-0fs/hfsplus/unicode.h
+19-0fs/hfs/btree.h
+8-2fs/hfs/extent.c
+1,159-1404 files not shown
+1,171-15010 files

Linux/linux d28fb91 — fs/nilfs2 the_nilfs.c dir.c

Merge tag 'nilfs2-v7.4-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/vdubeyko/nilfs2

Pull nilfs2 updates from Viacheslav Dubeyko:
 "Fix issues in nilfs_sufile_get_suinfo(), nilfs_scan_dsync_log(), and
  nilfs_find_or_create_root() (Aldo Ariel Panzardo):
   - If the requested segment number is greater than the total number of
     segments, the function may process segment numbers outside the
     filesystem.
   - nilfs_scan_dsync_log() trusts the block counts in each on-disk file
     information entry. If fi_ndatablk is greater than fi_nblocks, the
     data block loop can consume excessive summary entries and the later
     subtraction used to derive the number of node blocks underflows.
   - nilfs_find_or_create_root() links a new checkpoint root into the
     checkpoint tree and drops ns_cptree_lock before creating the root's
     sysfs group. If nilfs_sysfs_create_snapshot_group() then fails, the
     root is freed while it is still reachable from ns_cptree, so a
     concurrent nilfs_lookup_root() can dereference freed memory.

  Fix typos in comments, reported by scripts/checkpatch.pl using the

    [72 lines not shown]
DeltaFile
+72-0fs/nilfs2/iomap.c
+17-35fs/nilfs2/mdt.c
+29-21fs/nilfs2/page.c
+39-3fs/nilfs2/file.c
+21-13fs/nilfs2/the_nilfs.c
+34-0fs/nilfs2/dir.c
+212-7213 files not shown
+289-12319 files

Linux/linux 2f31ddd — fs/affs bitmap.c inode.c

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

Pull affs updates from David Sterba:
 "AFFS has attracted the AI security scanners but there's probably
  little real impact.

  A few fixes, more will come in the future, but it's low priority"

* tag 'affs-for-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
  affs: validate blocks before freeing them
  affs: split hash-lock subclass and reject self-referencing dir entry
  affs: don't instantiate dentry if affs_insert_hash failed
DeltaFile
+5-1fs/affs/amigaffs.c
+5-0fs/affs/affs.h
+2-1fs/affs/inode.c
+1-1fs/affs/bitmap.c
+13-34 files

Linux/linux 1b8fc3d — fs/btrfs sysfs.c bio.c

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

Pull btrfs updates from David Sterba:
 "User visible changes:

   - remove tweakable sysfs way to enable features, used only for
     extent-irefs which has been default since 3.12; the sysfs interface
     makes it complicated due to locking and context, unlike ioctl

   - change which backup superblock does mount option
     'rescue=usebackuproot' choose, skip the last one due to rotation,
     for more fine grained control add options selecting a specific
     backup superblock by index (usebackuproot_N)

  Notable fixes:

   - syslog message fixup of error state description, duplicate 'E'
     renamed to 'H' (emergency shutdown), added 'I 'when delayed iputs
     are blocked

    [66 lines not shown]
DeltaFile
+119-128fs/btrfs/extent_io.c
+124-88fs/btrfs/qgroup.c
+99-91fs/btrfs/inode.c
+86-81fs/btrfs/disk-io.c
+69-94fs/btrfs/bio.c
+7-127fs/btrfs/sysfs.c
+504-60950 files not shown
+1,360-1,10356 files

Linux/linux 9e73b18 — fs file_attr.c, fs/ext4 verity.c

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

Pull fsverity updates from Eric Biggers:
 "Patches from Andrey Albershteyn to prepare for XFS fsverity support:

   - Report verification errors through fserror, instead of only through
     an unstructured log message and generic I/O error return

   - Move the reporting of STATX_ATTR_VERITY into the VFS, so that each
     fsverity-capable filesystem doesn't need to do it. This also fixes
     a bug where btrfs didn't return STATX_ATTR_VERITY in
     attributes_mask

   - Make the VFS prevent enabling DAX on fsverity files, so that it
     will be handled in a single place for ext4 and XFS

   - Move ext4 and f2fs's code to read verity metadata from the
     pagecache into shared code, so that XFS will be able to use it too


    [13 lines not shown]
DeltaFile
+6-30fs/ext4/verity.c
+4-30fs/f2fs/verity.c
+33-0fs/verity/pagecache.c
+24-2fs/verity/open.c
+8-3fs/file_attr.c
+9-1include/linux/fsverity.h
+84-668 files not shown
+105-8114 files

Linux/linux fe178c2 — . MAINTAINERS, fs/crypto keysetup_v1.c crypto.c

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

Pull fscrypt updates from Eric Biggers:
 "A few minor cleanups for fs/crypto/"

* tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux:
  MAINTAINERS: List the fscrypt branches
  fscrypt: Move several items from fscrypt_private.h to .c files
  fscrypt: Use aes_ecb_encrypt() for v1 key derivation
DeltaFile
+0-27fs/crypto/fscrypt_private.h
+13-0fs/crypto/keyring.c
+9-0fs/crypto/hooks.c
+2-3fs/crypto/keysetup_v1.c
+5-0fs/crypto/crypto.c
+2-1MAINTAINERS
+31-311 files not shown
+32-327 files

Linux/linux 95615dd — arch/x86/crypto aes-ctr-avx-x86_64.S aesni-intel_glue.c, lib/crypto/x86 aes-xts-avx-x86_64.S aes-aesni.S

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

Pull crypto library updates from Eric Biggers:

 - Migrate the x86 and riscv optimized implementations of various AES
   modes (ECB, CBC, CBC-CTS, CTR, XCTR, XTS) into lib/crypto/.

   This makes the library APIs be properly accelerated on these
   architectures, while still accelerating crypto_skcipher as well.

   It removes a lot of redundant glue code, since the crypto API
   boilerplate no longer needs to be duplicated for these architectures.

   It also fixes the longstanding issue where optimizations for these
   AES modes were disabled by default on these architectures.

 - Optimize AES-XTS on SPARC64 using the SPARC crypto opcodes

 - Move the SipHash code into lib/crypto/

    [33 lines not shown]
DeltaFile
+0-1,338arch/x86/crypto/aesni-intel_asm.S
+0-905arch/x86/crypto/aes-xts-avx-x86_64.S
+747-84lib/crypto/x86/aes-aesni.S
+818-0lib/crypto/x86/aes-xts-avx-x86_64.S
+5-787arch/x86/crypto/aesni-intel_glue.c
+0-571arch/x86/crypto/aes-ctr-avx-x86_64.S
+1,570-3,68589 files not shown
+5,211-6,20195 files

Linux/linux 9e947d9 — drivers/firmware/coreboot coreboot_table.c vpd.c, drivers/firmware/google vpd.c gsmi.c

Merge tag 'chrome-platform-firmware-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux

Pull chrome platform firmware loader updates from Tzung-Bi Shih:
 "New:
   - Rename drivers/firmware/google/ -> drivers/firmware/coreboot/ and
     corresponding Kconfig names
   - Separate firmware_attributes_class from drivers/platform/x86/ to
     drivers/firmware/ so that it is available for non-x86 platforms
   - Add CFR (coreboot form representation) driver to expose the
     attributes via sysfs

  Improvements:
   - Use named initializers for acpi_device_id"

* tag 'chrome-platform-firmware-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
  firmware: coreboot: Add CFR firmware attributes driver
  firmware: Move firmware attributes class helper
  firmware: coreboot: Use named initializers for acpi_device_id
  firmware: Rename google firmware directory to coreboot
DeltaFile
+1,204-0drivers/firmware/coreboot/coreboot-cfr.c
+0-1,096drivers/firmware/google/gsmi.c
+1,096-0drivers/firmware/coreboot/gsmi.c
+0-328drivers/firmware/google/vpd.c
+328-0drivers/firmware/coreboot/vpd.c
+306-0drivers/firmware/coreboot/coreboot_table.c
+2,934-1,42438 files not shown
+4,061-2,79044 files

Linux/linux e5d379e — drivers/platform/chrome cros_ec_ishtp.c cros_usbpd_notify.c, include/linux/platform_data cros_ec_commands.h

Merge tag 'chrome-platform-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux

Pull chrome platform updates from Tzung-Bi Shih:
 "Improvements:
   - Poll for role swap completion in cros_ec_typec

  Fixes:
   - Fix wrong returned data and length for deferred response in
     transport protocol
   - Check boundary for EC-returned data length in cros_ec_typec
   - Fix a regression for older ChromeOS devices after applying
     db65a06d10b3 ("ACPI: EC: Convert the driver to a platform one")

  Cleanups:
   - Fix typos"

* tag 'chrome-platform-v7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
  platform/chrome: cros_ec_typec: Poll for role swap completion
  platform/chrome: cros_usbpd_notify: Only use drvdata when parent is GOOG0004

    [6 lines not shown]
DeltaFile
+155-3drivers/platform/chrome/cros_ec_proto_test.c
+75-29drivers/platform/chrome/cros_ec_typec.c
+72-0include/linux/platform_data/cros_ec_commands.h
+31-12drivers/platform/chrome/cros_ec_proto.c
+22-19drivers/platform/chrome/cros_usbpd_notify.c
+1-1drivers/platform/chrome/cros_ec_ishtp.c
+356-641 files not shown
+357-657 files

Linux/linux 6303381 — arch/arc/include/asm cmpxchg.h, arch/csky/include/asm cmpxchg.h

Merge tag 'cmpxchg-emu.2026.10.12b' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu

Pull two-byte cmpxchg emulation from Paul McKenney:
 "These commits add a cmpxchg_emu_u16() function that emulates two-byte
  cmpxchg() in terms of four-byte cmpxchg() for architectures not having
  native instructions for this purpose. They also make use of this
  cmpxchg_emu_u16() function in those architectures, namely sh, arc,
  csky, and xtensa. This permits use of two-byte cmpxchg() in common
  code.

  However, it sadly does not permit easy implementation of all
  algorithms needing on two-byte atomic operations because there are
  some systems still supported by Linux that do not have native two-byte
  store instructions.

  There is reason to believe that these systems will soon no longer be
  supported by Linux [1]"

Link: https://lore.kernel.org/all/20260908152808.3928630-4-arnd@kernel.org/ [1]

    [7 lines not shown]
DeltaFile
+34-4lib/cmpxchg-emu.c
+9-0arch/csky/include/asm/cmpxchg.h
+3-1include/linux/cmpxchg-emu.h
+3-0arch/arc/include/asm/cmpxchg.h
+2-0arch/sh/include/asm/cmpxchg.h
+1-0arch/xtensa/include/asm/cmpxchg.h
+52-56 files

Linux/linux 14c8977 — Documentation/translations/pt_BR/process maintainer-tip.rst submitting-patches.rst, Documentation/translations/zh_CN/mm/damon design.rst

Merge tag 'docs-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/docs/linux

Pull documentation updates from Jonathan Corbet:
 "It was a reasonably busy cycle for docs; changes include:

   - Add the AGENTS.md symbolic link into the top-level directory in the
     hopes that LLMs will read it and produce better work

   - The removal of the Assisted-by requirement, as concluded at the
     Maintainer Summit

   - A new "testdocs" make target to run the documentation unit tests

   - Lots of work on the Portuguese, and Chinese translations; there is
     now maintenance for the traditional Chinese translations as well

  ...and the usual pile of minor fixes, documentation updates, etc"

* tag 'docs-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/docs/linux: (125 commits)

    [21 lines not shown]
DeltaFile
+1,320-0Documentation/translations/pt_BR/process/coding-style.rst
+953-0Documentation/translations/pt_BR/process/submitting-patches.rst
+847-0Documentation/translations/pt_BR/process/maintainer-tip.rst
+635-32Documentation/translations/zh_CN/mm/damon/design.rst
+309-301Documentation/translations/zh_TW/process/coding-style.rst
+324-237Documentation/translations/zh_TW/process/submitting-patches.rst
+4,388-570141 files not shown
+10,031-2,242147 files

Linux/linux 542fed2 — tools/include/nolibc arch-parisc.h sys.h, tools/include/nolibc/sys sendfile.h

Merge tag 'nolibc-20261018-for-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc

Pull nolibc updates from Thomas Weißschuh:

 - New architectures: Hexagon, 64-bit parisc

 - New library functionality: sendfile(), pread(), pwrite()

 - Various bugfixes and cleanups

* tag 'nolibc-20261018-for-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc: (28 commits)
  selftests/nolibc: explicitly disable position independent executables
  selftests/nolibc: use the configured kernel header directory
  tools/nolibc: fix the function argument order of calloc()
  tools/nolibc: check for overflow in malloc()
  tools/nolibc: stop rounding malloc() sizes up to 4096 bytes
  tools/nolibc: add support for pread() and pwrite()
  tools/nolibc: introduce __NOLIBC_BITS_PER_SYSCALL_ARG
  tools/nolibc: move __NOLIBC_LLARGPART() to compiler.h

    [13 lines not shown]
DeltaFile
+152-7tools/testing/selftests/nolibc/nolibc-test.c
+159-0tools/include/nolibc/arch-hexagon.h
+50-10tools/include/nolibc/sys.h
+41-0tools/include/nolibc/sys/sendfile.h
+25-5tools/testing/selftests/nolibc/run-tests.sh
+24-4tools/include/nolibc/arch-parisc.h
+451-2618 files not shown
+562-6224 files

Linux/linux 2a0d3d7 — drivers/block xen-blkfront.c, drivers/block/xen-blkback blkback.c

Merge tag 'for-linus-7.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip

Pull xen updates from Juergen Gross:
 "This time only small fixes and cleanups all over Xen related drivers.
  Nothing really stands out here"

* tag 'for-linus-7.4-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
  xen-blkfront: Fix IO race during unplug
  xen-pciback: Fix pcistub_device ref leak in pcistub_get_gsi_from_sbdf()
  xen/pcifront: check that an AER callback exists before calling it
  xen/gntdev: Fix gntdev_dmabuf ref leak in dmabuf_exp_wait_released()
  x86/PVH: don't truncate initrd address/size
  xen/privcmd: Only claim ioreqs matching an ioeventfd
  xen/scsifront: check for a NULL shadow entry on a backend response
  xen: fix typos in comments
  xen/gntdev: prevent private mappings from becoming writable
  xen: remove unused hvm_vcpu.h header
  xen-blkfront: unbind irq before tearing down ring and shadow requests
  xen/blkback: Prevent missed completion when draining I/O
  xen/pcifront: Fix PCI device reference leak in AER handling
DeltaFile
+0-116include/xen/interface/hvm/hvm_vcpu.h
+18-29drivers/xen/privcmd.c
+9-7drivers/block/xen-blkfront.c
+10-6drivers/pci/xen-pcifront.c
+7-0drivers/xen/gntdev.c
+7-0drivers/block/xen-blkback/blkback.c
+51-1588 files not shown
+67-16714 files

Linux/linux 742f62b — arch/alpha Kconfig, arch/alpha/boot/compressed misc.c

Merge tag 'alpha-for-v7.4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/lindholm/alpha

Pull alpha updates from Magnus Lindholm:
 "This completes Alpha's conversion to GENERIC_ENTRY and enables a range
  of kernel features through Kconfig updates, including UBSAN, gcov,
  kmemleak, page-table checking, fast GUP and sparse IRQs.

  It includes TLB and MMU context fixes prompted by glibc test-suite
  failures, HugeTLB support for 64KB, 512KB and 4MB pages, and fixes for
  poisoned-page faults and page-table checking.

  Machine-check handling is improved on Tsunami platforms, with bounded
  EV6 logout decoding, Clipper environmental event reporting and safer
  firmware console-log scanning.

  Other changes add self-extracting compressed kernels with support for
  all kernel compression formats, Alpha-specific XZ tuning, perf
  register and user-stack sampling, and Alpha support in the seccomp
  selftests. The series also fixes user stack-pointer reporting and IRQ

    [25 lines not shown]
DeltaFile
+688-0arch/alpha/kernel/err_tsunami.c
+91-244arch/alpha/kernel/entry.S
+308-0arch/alpha/mm/hugetlbpage.c
+209-0arch/alpha/boot/compressed/misc.c
+142-43arch/alpha/Kconfig
+132-32arch/alpha/kernel/signal.c
+1,570-31959 files not shown
+2,616-56665 files

Linux/linux 375d5d5 — arch/s390/include/asm percpu.h, arch/s390/kernel vtime.c signal.c

Merge tag 's390-7.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux

Pull s390 updates from Heiko Carstens:

 - Add support for sclp-vt220 terminal resize events e.g. for QEMU

 - Warn if kernel command line contains non-printable EBCDIC characters

 - Improve show_code() disassembly output by using reliable markers for
   the instruction address and faulting instruction

 - Rework exception handling to require only a single exception table
   entry per faulting instruction: convert all inline assemblies from
   EX_TABLE to the new EX_TABLE_INSN macros. The previous exception
   handling was error prone since it usually required two EX_TABLE
   entries: one pointing at the instruction, and one pointing behind it

 - Disallow kprobes on instructions with exception table entries to
   avoid exception handlers decoding a breakpoint instead of the

    [66 lines not shown]
DeltaFile
+264-137arch/s390/include/asm/percpu.h
+106-194drivers/s390/cio/chsc_sch.c
+240-0arch/s390/tools/gen_bitmaps.c
+95-135arch/s390/kernel/signal.c
+8-204arch/s390/kernel/vtime.c
+153-55drivers/s390/crypto/zcrypt_msgtype6.c
+866-72585 files not shown
+1,838-1,60991 files