[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175892300643.128029.358653394453986093.b4-ty@mit.edu>
Date: Fri, 26 Sep 2025 17:47:38 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: "Theodore Ts'o" <tytso@....edu>, linux-ext4@...r.kernel.org,
syzbot+0b92850d68d9b12934f5@...kaller.appspotmail.com
Subject: Re: [PATCH] ext4: verify orphan file size is not too big
On Tue, 09 Sep 2025 13:22:07 +0200, Jan Kara wrote:
> In principle orphan file can be arbitrarily large. However orphan replay
> needs to traverse it all and we also pin all its buffers in memory. Thus
> filesystems with absurdly large orphan files can lead to big amounts of
> memory consumed. Limit orphan file size to a sane value and also use
> kvmalloc() for allocating array of block descriptor structures to avoid
> large order allocations for sane but large orphan files.
>
> [...]
Applied, thanks!
[1/1] ext4: verify orphan file size is not too big
commit: 0a6ce20c156442a4ce2a404747bb0fb05d54eeb3
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists