mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Bug] "WARNING in corrupted" in Linux Kernel v6.15-rc5
@ 2025-05-26  7:11 John
  2025-05-26 10:48 ` Paolo Abeni
  0 siblings, 1 reply; 2+ messages in thread
From: John @ 2025-05-26  7:11 UTC (permalink / raw)
  To: David S. Miller, David Ahern, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Simon Horman, netdev, linux-kernel

Dear Linux Kernel Maintainers,

I hope this message finds you well.

I am writing to report a potential vulnerability I encountered during
testing of the Linux Kernel version v6.15-rc5.

Git Commit: 92a09c47464d040866cf2b4cd052bc60555185fb (tag: v6.15-rc5)

Bug Location: 20628 at net/ipv4/ipmr.c:440 ipmr_free_table
net/ipv4/ipmr.c:440 [inline]

Bug report: https://hastebin.com/share/idudaveten.yaml

Complete log: https://hastebin.com/share/ojonatucos.perl

Entire kernel config:  https://hastebin.com/share/padecilimo.ini

Root Cause Analysis:
A kernel warning is triggered during the execution of
ipmr_rules_exit() at line 440 of net/ipv4/ipmr.c, when attempting to
free a multicast routing (mr) table that may have already been
released or was never correctly initialized.
This function is called as part of the ipmr_net_exit_batch() logic
when a network namespace is being torn down (copy_net_ns() →
create_new_namespaces() → unshare() syscall).
The crash is accompanied by a FAULT_INJECTION trace involving
copy_from_user_iter, suggesting this might be a fuzzing-induced fault
where the data passed via netlink_sendmsg() is malformed.
However, the primary issue lies in ipmr_free_table() dereferencing a
potentially invalid pointer—either due to a race condition during
namespace teardown or improper error handling during netns
initialization.

At present, I have not yet obtained a minimal reproducer for this
issue. However, I am actively working on reproducing it, and I will
promptly share any additional findings or a working reproducer as soon
as it becomes available.

Thank you very much for your time and attention to this matter. I
truly appreciate the efforts of the Linux kernel community.

Best regards,
John

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-26 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-26  7:11 [Bug] "WARNING in corrupted" in Linux Kernel v6.15-rc5 John
2025-05-26 10:48 ` Paolo Abeni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®