From: "Theodore Tso" <tytso@mit.edu>
To: Kyuwon Cho <kyuwoncho18@gmail.com>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>,
Jan Kara <jack@suse.cz>, Baokun Li <libaokun@linux.alibaba.com>,
Ojaswin Mujoo <ojaswin@linux.ibm.com>,
"Ritesh Harjani (IBM)" <ritesh.list@gmail.com>,
Zhang Yi <yi.zhang@huawei.com>,
linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [BUG] ext4: ext4_htree_fill_tree() reads '..' outside the dx root block when '.' has a bad rec_len
Date: Thu, 3 Dec 2026 23:00:26 -0500 [thread overview]
Message-ID: <axI2wCMGZpE0_-nU@mit.edu> (raw)
In-Reply-To: <179607220160.564813.1157455530957726584@gmail.com>
On Thu, Dec 03, 2026 at 08:35:10AM -0500, Kyuwon Cho wrote:
> Hi Ted, Andreas,
>
> Gentle ping on this report. ext4_htree_fill_tree() is unchanged in v7.4-rc5, so the read outside the dx root
> block is still there. I am happy to test a fix or to send
> more details if that helps.
We are absolutely flooded with AI generated bugs and security bugs.
Please note from https://docs.kernel.org/process/threat-model.html
that maliciously crafted file system is not considered a security bug.
In the Linux kernel’s threat model, the following classes of
problems are NOT considered Linux Kernel vulnerabilities. However,
when it is believed that the kernel could do better, they should be
reported, so that they can be reviewed and fixed where reasonably
possible, but they will be handled as any regular bug.
Some of these bugs may still have a security impact for a few
users, for example when their exploitation requires a dedicated
network link, a crafted device, or a crafted file system image that
only root may mount. For the vast majority of users the impact is
null, and such isolated bugs do not represent a target worth
writing an exploit for, which is why they are handled publicly (a
CVE may still be assigned later by the CVE team). However,
publishing a reproducer or an exploit could put the few exposed
users at risk. For such bugs, the fix is sent publicly like any
regular fix, with a commit message that does not detail how to
exploit the bug, while the reproducer and any exploit are only
shared privately with the maintainers and are never posted to
public lists.
In other words. I consider the storage device to be part of the
Trusted Computing Base. Someone who takes a USB device that is
scattered in the parking lot by a MSS, NSA, or KGB agent and just
mounts without running fsck first is committing professional
malpractice. And their incompetence does not consitute an emergency
on my part.
The bottom line is that I and many other kernel developers are
absolutely flooded and overloaded with real security bugs, and helping
our organizations deal with real bugs. Bugs that involve crafted file
systems are simply not a priority. We get enough noise from these
from Syzbot. Additional research prototypes generating more such bug
reports not really providing much in the way of real world impact,
because we have to be fairly ruthless in prioritizing what we work on.
I do file such things as bugs on my bug backlog, but it may be many
months before I get to it.
If you want to try creating a *fix* for a bug, we'll look at it, but
if the fix destroys performance or reduces future code maintainability
in the name of protecting against malicously crafted file systems, we
reserve the right to reject fixes as Not Being Worth It.
We are working on trying to improve instructions we can give to AI
agents to better create patches, and to improve our patch review to
reject terrible patches generated by well-meaning, but ultimately
misguided security researchers who seem to think that security for
weird-shit corner cases that aren't even part of our recognized threat
model is more important than all other considerations, including
performance and code maintainability.
Many organizations are also looking at tools and have developed tools,
for triaging the absolute *flood* of AI slop security reports and
fixes. Most of those tend to be fairly specific to their company, and
I'm not aware of anyone being willing to make their full security
triage pipeline public. But if you are looking for some research
directions that will actually help instead of harm upstream kernel
developers, perhaps this might be an area of fruitful research.
(But if you work for a security company that attempts to inflate the
severity of security bugs to claim that debugging tools that are being
insufficiently careful constitute a "one click expoit" because
obviously a stupid developer will run such commands as root on an
untrusted file system --- I know that I can't stop search researchers
from publishing such nonsense claims as part of their business model;
but I don't have to cooperate with them.)
Cheers,
- Ted
prev parent reply other threads:[~2026-12-04 4:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 19:42 [BUG] ext4: ext4_htree_fill_tree() reads '..' outside the dx root block when '.' has a bad rec_len Kyuwon Cho
2026-12-03 16:35 ` Kyuwon Cho
2026-12-04 4:00 ` Theodore Tso [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=axI2wCMGZpE0_-nU@mit.edu \
--to=tytso@mit.edu \
--cc=adilger.kernel@dilger.ca \
--cc=jack@suse.cz \
--cc=kyuwoncho18@gmail.com \
--cc=libaokun@linux.alibaba.com \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ojaswin@linux.ibm.com \
--cc=ritesh.list@gmail.com \
--cc=yi.zhang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox