Merge tag 'mm-nonmm-hotfixes-stable-2026-11-18-00-06' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull non-MM updates from Andrew Morton:
- "get_maintainer: stop sending every patch to LKML" (Konstantin
Ryabitsev):
Make THE REST a fallback when no usable subsystem list matches and
update the submission guide. This avoids routine copies to LKML while
retaining a mailing list for otherwise unmatched patches.
- On local OCFS2 mounts, a failed shared mmap write fault now delivers
SIGBUS instead of hitting BUG_ON(). Journal shutdown is serialized
with inode cleanup, and checkpoint waiters no longer use a queue
embedded in the journal being freed.
- Queued dlmfs lock work now keeps the superblock active through its
final iput(), avoiding a use-after-free during unmount. The OCFS2
locking_state debugfs iterator follows its live cursor instead of
[28 lines not shown]
Merge tag 'mm-hotfixes-stable-2026-11-17-19-55' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull MM fixes from Andrew Morton:
- "maple_tree fixes for 7.3" (Liam R. Howlett):
Fix an RCU reader NULL dereference when the tree is emptied during a
walk, including /proc/PID/maps racing with munmap(). Add tests and
make debug WARN and BUG checks report failures properly
- "mm/kasan: Detect double-free involving kfree_rcu_sheaf()" (Kuniyuki
Iwashima):
Detect double-free when an object enters an RCU sheaf. KASAN could
previously miss it until the object was reused, leading to a later
free of a live object. Add KUnit tests for the different free orders
- "mm: Fix page-table teardown during memory hot-remove" (Muchun Song):
[65 lines not shown]
Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux
Pull fscrypt fix from Eric Biggers:
"Fix a NULL dereference that was theoretically possible if
FS_IOC_SETFLAGS was called to set the casefold flag on an
encrypted directory concurrently with its encryption key
being set up"
* tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linux:
fscrypt: Initialize ->ci_master_key before publication
wait-event: clean up the internal helper arguments
The ___wait_event() helper for historical reasons took a "0/1" argument
for whether the wait-queue entry should be marked WQ_FLAG_EXCLUSIVE or
not. That didn't really help readability, but it also limited the
wq_flags for that helper to only that one flag.
Just make that macro argument be the actual 'wq_flags' value, which
simplifies the helper, and makes it more generic. It also happens to
make the users of this macro more obvious when an unexplained '1'
argument becomes a more self-explanatory 'WQ_FLAG_EXCLUSIVE'.
Also change the existing users that use that raw ___wait_event()
interface with just a plain schedule() to use the pre-existing helpers
macros: __wait_event_state() and __wait_event_state_exclusive().
[ This is not a bug-fix: it was prep-work for a bug report that turned
out to be just a "don't do that" situation instead. But I also didn't
want to just throw it away or leave it pending, since it just made
[5 lines not shown]
MAINTAINERS: DRM DRIVERS AND MISC GPU PATCHES
There's a small defect in get_maintainers.pl that allows
incomplete file pattern matching.
Update the "F: include/drm/drm pattern" to specify only the actual files
covered instead of a prefixed partial path to these .h files.
Link: https://lore.kernel.org/576e04e1d8f0d5ac0805d450b9c87e69f7f0d2c8.camel@perches.com
Signed-off-by: Joe Perches <joe at perches.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Maxime Ripard <mripard at kernel.org>
Cc: Thomas Zimmermann <tzimmermann at suse.de>
Cc: Borislav Petkov <bp at alien8.de>
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS: update Andrea Cervesato's email for LTP
I'm not working for SUSE anymore and I will use linux.dev email to
develop and maintain Linux Test Project. Also update .mailmap.
Link: https://lore.kernel.org/20261026-acer_maintainers-v2-1-4cf0f350fdf1@linux.dev
Signed-off-by: Andrea Cervesato <andrea.cervesato at linux.dev>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Acked-by: Petr Vorel <pvorel at suse.cz>
Reviewed-by: Li Wang (Hieco) <li.wang at linux.dev>
Reviewed-by: Cyril Hrubis <chrubis at suse.cz>
.mailmap | 1 +
MAINTAINERS | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
mailmap: add entries for Ridong Chen
Map my former Huawei address and my current Xiaomi address to my
personal address, so that all my contributions are attributed to a
single identity.
Link: https://lore.kernel.org/20261108123509.214127-1-ridong.chen@linux.dev
Signed-off-by: Ridong Chen <chenridong at xiaomi.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
.mailmap | 2 ++
1 file changed, 2 insertions(+)
mailmap: add an alias for Alex Elder
Add an entry to .mailmap to indicate that <elder at riscstar.com> represents
the same person as <elder at kernel.org>.
Link: https://lore.kernel.org/20261110144250.656840-1-elder@riscstar.com
Signed-off-by: Alex Elder <elder at riscstar.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Cc: Jakub Kicinski <kuba at kernel.org>
Cc: Alex Elder <elder at kernel.org>
.mailmap | 1 +
1 file changed, 1 insertion(+)
mailmap: update entry for Guodong Xu
Use my linux.dev address for kernel correspondence, including for
contributions made with my other email addresses. It is not tied to
a personal or employer mailbox.
Link: https://lore.kernel.org/7e9369cf1473539bafe9cb90207ba6fe98b534ca.1794001419.git.guodong.xu@linux.dev
Signed-off-by: Guodong Xu <guodong.xu at linux.dev>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
.mailmap | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
mailmap: update email address for Sai Teja Aluvala
Map my former Qualcomm email address to my current Intel email address.
Link: https://lore.kernel.org/20261117133008.2560155-1-aluvala.sai.teja@intel.com
Signed-off-by: Sai Teja Aluvala <aluvala.sai.teja at intel.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Cc: Jeff Johnson <jeff.johnson at oss.qualcomm.com>
.mailmap | 1 +
1 file changed, 1 insertion(+)
mailmap: update email address for Naman Jain
My Qualcomm email address is no longer accessible. Map it to my current
Microsoft email address.
Link: https://lore.kernel.org/20261117084542.2076622-1-namjain@linux.microsoft.com
Signed-off-by: Naman Jain <namjain at linux.microsoft.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Cc: Jakub Kicinski <kuba at kernel.org>
Cc: Bastien Curutchet (Schneider Electric) <bastien.curutchet at bootlin.com>
Cc: Douglas Anderson <dianders at chromium.org>
Cc: Jesper Dangaard Brouer <hawk at kernel.org>
Cc: Alexander Sverdlin <alex at sverdlin.org>
Cc: Chuck Lever <cel at kernel.org>
Cc: Jeff Johnson <jeff.johnson at oss.qualcomm.com>
.mailmap | 1 +
1 file changed, 1 insertion(+)
mailmap: add entries for Luiz Capitulino
Map my previous addresses to my linux.dev address, which I'll be using for
kernel work going forward.
Link: https://lore.kernel.org/20261116215756.133593-1-luiz.capitulino@linux.dev
Signed-off-by: Luiz Capitulino (Red Hat) <luiz.capitulino at linux.dev>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Acked-by: Nico Pache <nico.pache at linux.dev>
.mailmap | 3 +++
1 file changed, 3 insertions(+)
mailmap: add Wang Yibo's work email address
My kernel work will be signed off with my company address from now on.
Add it to .mailmap and map the personal address I used before to it, so
that both resolve to the same author in git log and git shortlog.
Link: https://lore.kernel.org/20261109030651.2289573-1-wangyibo@kylinos.cn
Signed-off-by: Wang Yibo <wangyibo at kylinos.cn>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
.mailmap | 1 +
1 file changed, 1 insertion(+)
mailmap: add entry for Beat M. Liechti
Map my old address, used for the firedtv fixes in 2009, to my current
one.
Link: https://lore.kernel.org/20261101123733.10578-1-beat@softbase.tech
Signed-off-by: Beat M. Liechti <beat at softbase.tech>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
.mailmap | 1 +
1 file changed, 1 insertion(+)
mailmap: update Mika Westerberg's email address
My @linux.intel.com address will be going away soon so switch to use my
@kernel.org address.
Link: https://lore.kernel.org/20261111123910.1324579-1-mika.westerberg@linux.intel.com
Signed-off-by: Mika Westerberg <westeri at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Cc: Yehezkel Bernat <yehezkelshb at gmail.com>
Cc: Lukas Wunner <lukas at wunner.de>
Cc: Andreas Noever <andreas.noever at gmail.com>
.mailmap | 1 +
1 file changed, 1 insertion(+)
mailmap: update email address for Bradley Morgan
I switched to bradley.morgan at linux.dev for kernel work, so map the
brads at mainlining.org and include at grrlz.net addresses over to keep shortlog
and blame from splitting commits between them.
Link: https://lore.kernel.org/20261109191928.3222846-1-bradley.morgan@linux.dev
Signed-off-by: Bradley Morgan <bradley.morgan at linux.dev>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Cc: Bradley Morgan <brads at mainlining.org>
.mailmap | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
docs: submitting-patches: make LKML a list of last resort again
Commit 77167b966b7e ("docs: submitting-patches: clarify the role of LKML")
changed the documentation to say that all patches should be sent to LKML
by default, because get_maintainer.pl always suggested it.
Now that get_maintainer.pl only falls back to THE REST when no other
matching section provides a mailing list, update the documentation to
match: send patches to the subsystem-specific list, and use LKML only when
there isn't one.
Link: https://lore.kernel.org/20261113-get-maintainer-the-rest-fallback-v3-2-36ee5a3e8d13@linuxfoundation.org
Signed-off-by: Konstantin Ryabitsev <konstantin at linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Suggested-by: Petr Pavlu <petr.pavlu at suse.com>
Acked-by: Randy Dunlap <rdunlap at infradead.org>
Acked-by: Joe Perches <joe at perches.com>
Cc: Jonathan Corbet <corbet at lwn.net>
Cc: Shuah Khan <skhan at linuxfoundation.org>
[14 lines not shown]
mailmap: add entries for Miaoqing Pan
Map past iterations of my e-mail addresses to the current one.
Link: https://lore.kernel.org/20261116023226.17265-1-miaoqing.pan@oss.qualcomm.com
Signed-off-by: Miaoqing Pan <miaoqing.pan at oss.qualcomm.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Cc: Jeff Johnson <jeff.johnson at oss.qualcomm.com>
Cc: Jakub Kicinski <kuba at kernel.org>
Cc: Alexander Sverdlin <alex at sverdlin.org>
Cc: Chuck Lever <cel at kernel.org>
Cc: Eugen Hristev <ehristev at kernel.org>
Cc: Stéphane Grosjean <s.grosjean at peak-system.fr>
Cc: Alice Mikityanska <alice.kernel at fastmail.im>
.mailmap | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
ocfs2: fix kernel BUG in ocfs2_page_mkwrite() when write_end fails
syzbot reported a kernel BUG in the ocfs2 write fault path:
(syz.0.17,5578,0):ocfs2_write_end_nolock:1945 ERROR: status = -30
kernel BUG at fs/ocfs2/mmap.c:106!
Call Trace:
do_page_mkwrite+0x147/0x310 mm/memory.c:3879
do_shared_fault mm/memory.c:6145 [inline]
handle_mm_fault+0x1a53/0x3750 mm/memory.c:6943
__ocfs2_page_mkwrite() calls ocfs2_write_begin_nolock() and then
ocfs2_write_end_nolock(), and uses BUG_ON() to assert that the latter
returns the full length. But ocfs2_write_end_nolock() can fail: since
commit 7f27ec978b0e ("ocfs2: call ocfs2_journal_access_di() before
ocfs2_journal_dirty() in ocfs2_write_end_nolock()") it gets journal
access to the inode buffer again, because the handle may have been
restarted since ocfs2_write_begin_nolock(). That fails with -EROFS or
-EIO once the journal has been aborted or jbd2 has seen write errors
[37 lines not shown]
fault-inject: fix boot failure with fault injection boot parameters
Since commit e9bc360b105c ("fault-inject: use prandom where
cryptographically secure randomness is not needed"), setup_fault_attr()
calls prandom_init_once(), which calls kmalloc() and schedule_work().
But setup_fault_attr() can be called from __setup handlers before slab and
workqueues are initialized, so any fault injection boot parameter leads to
boot failure.
So use DO_ONCE_LITE() instead.
Link: https://lore.kernel.org/20261105160209.1504867-1-ekffu200098@gmail.com
Fixes: e9bc360b105c ("fault-inject: use prandom where cryptographically secure randomness is not needed")
Signed-off-by: Sang-Heon Jeon <ekffu200098 at gmail.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Reviewed-by: Akinobu Mita <akinobu.mita at gmail.com>
Cc: <stable at vger.kernel.org>
[3 lines not shown]
ocfs2: advance locking_state through the live cursor
locking_state copies each lock resource under ocfs2_dlm_tracking_lock so
its containing inode or quota object can be freed during the dump. The
copied l_debug_list pointers do not have that lifetime protection. Yet
ocfs2_dlm_seq_next() follows them to find the next record.
Remounting read-only can free a quota-info object while a debugfs read is
between the snapshot and the next iterator callback:
locking_state reader Quota suspension
-------------------- ----------------
snapshot current lock resource
copy l_debug_list.next
remove next resource from live list
free quota-info object
seq_next(): follow copied link
read freed lock resource
[144 lines not shown]
get_maintainer: only use THE REST as a fallback
Patch series "get_maintainer: stop sending every patch to LKML", v3.
LKML has become mostly a firehose of patches that are already going to a
subsystem list. The reason is THE REST: it matches every file in the
tree, so get_maintainer.pl adds linux-kernel at vger.kernel.org to every
single patch. During the week of Oct 1-7, 2026:
- LKML carried 13,641 messages (~1,950/day), 90% of which were also
sent to at least one other list;
- with ~2,100 subscribers, that is about 29 million deliveries per
week for LKML alone.
This problem is becoming urgent and untenable. The increased volume of
patches sent using AI tooling has resulted in dramatically higher delivery
queues and if this change is not implemented, we will have to start
force-unsubscribing addresses that do not show any developer activity or
use similar drastic measures.
[59 lines not shown]
ocfs2: serialize inode journal access with shutdown
The downconvert thread can run inode cleanup until ocfs2_dlm_shutdown()
stops it, but unmount shuts down the journal earlier. A final dentry
post-unlock put can therefore enter ocfs2_clear_inode() while the journal
is being destroyed.
ocfs2_ci_fully_checkpointed() loads osb->journal before taking
trans_inc_lock. Journal shutdown neither takes that lock for removal
nor waits for the downconvert thread before freeing the journal:
Downconvert thread Unmount
------------------ -------
dentry post-unlock; final iput()
ocfs2_checkpoint_inode()
load osb->journal
ocfs2_journal_shutdown()
free journal; clear pointer
read the transaction ID
[114 lines not shown]
ocfs2/dlmfs: keep the superblock alive during lock work
Queued dlmfs lock work holds an inode reference, but no active reference
to its superblock. The workqueue is drained on module exit rather than on
each dlmfs unmount, and an inode reference does not stop superblock
shutdown: generic_shutdown_super() reports the busy inode and goes on.
DLM callback / worker Unmount
--------------------- -------
queue lock work; igrab(inode)
worker delayed
drop last active superblock ref
kill_anon_super()
report the busy inode
free the superblock
finish lock work
iput(inode)
access the inode's freed superblock
[44 lines not shown]
Merge tag 'arc-fixes-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
Pull ARC fix from Vineet Gupta:
- workaround a GCC bug which has been causing upstream build fails
* tag 'arc-fixes-7.4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
ARC: io: work around GCC PR127718 in __raw_write{w,l}()
Merge tag 'mm-core-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mm/core
Pull core memory management fixes from David Hildenbrand:
"The main changes are:
- Prevent folio refcount overflows with pagecache folios, mostly
relevant for large folios today. The networking changes for this
will go through the net tree.
- Fix out-of-bounds page table accesses with folded PMDs in 3
scenarios.
- Fix write-sealing of memfd to detect GUP pins with concurrent
(un)mapping more reliably, preventing writes through GUP pins after
write-sealing.
- Fix lost wakeups when splitting large folios.
- Fix exposing uninitialized data through MADV_COLLAPSE to user
[18 lines not shown]
Merge tag 'assoc-array-fixes-v2'
Clean up assoc_array library code
I had already gotten rid of this tag locally, because we then decided
to just remove the assoc_array library entirely since it has only one
single user - the key handling code - and that user is getting rewritten
to use rhashtable instead.
But that removal is scheduled for 7.5, and this fixes real bugs and does
clean up some of the code. So while it's all slated for removal, some
of the fixes need back-porting and we might as well remove the
cleaned-up version. Maybe somebody decides they want to resurrect it
for another project - it really is fairly generic library code - they
shouldn't get the messy end state that we decided to jettison.
Background: Nils Ollrogge reported a bug in the assoc_array library and
had a patch to fix it too, but that code was too obscure for me to
follow, so I used some LLM tools to help make sense of it all and found
[18 lines not shown]
Merge tag 'char-misc-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc/iio driver fixes from Greg KH:
"Here are a bunch of char, misc, and iio driver fixes for reported
problems for 7.4-rc4. Included in here are:
- usual collection of lots of IIO driver fixes for issues
- binder driver fix
- iio, w1, and comedi driver fixes found and fixed by Josef
- comedi driver fix for a reported problem
- other misc driver fixes
All of these have been in linux-next for a while with no reported
issues"
[22 lines not shown]
Merge tag 'tty-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
Pull tty/serial driver fixes from Greg KH:
"Here are some small tty and serial driver fixes for reported problems
for 7.4-rc4. Included in here are:
- tty driver and vt fixes reported and fixed by Josef Bacik and Chris
Mason
- some serial driver fixes by Jiri for found problems
All of these have been in linux-next for almost 2 weeks now, with no
reported issues"
* tag 'tty-7.4-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
serial: samsung: put the previous baud clock
serial: samsung: don't leak the tty on an RX IRQ
serial: rda: free the interrupt on shutdown
serial: imx: fix the tty reference of the wakeup event
[8 lines not shown]