lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADhLXY4__=t98fVLP15vWVPyBnfkevnERBXRwH+A20KbeNSS+Q@mail.gmail.com>
Date: Thu, 12 Feb 2026 06:44:31 +0530
From: Deepanshu Kartikey <kartikey406@...il.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: tytso@....edu, adilger.kernel@...ger.ca, linux-ext4@...r.kernel.org, 
	linux-kernel@...r.kernel.org, 
	syzbot+7de5fe447862fc37576f@...kaller.appspotmail.com
Subject: Re: [PATCH] ext4: convert inline data to extents when truncate
 exceeds inline size

On Wed, Feb 11, 2026 at 9:16 PM Christoph Hellwig <hch@...radead.org> wrote:
>
> On Sat, Feb 07, 2026 at 10:06:07AM +0530, Deepanshu Kartikey wrote:
> > Without this fix, the following sequence causes a kernel BUG_ON():
> >
> > 1. Mount filesystem with inode that has inline flag set and small size
> > 2. truncate(file, 50MB) - grows size but inline flag remains set
> > 3. sendfile() attempts to write data
> > 4. ext4_write_inline_data() hits BUG_ON(write_size > inline_capacity)
>
> Can you wirte this up in an xfstests test, please?
>
I will write the test case and share the patch shortly.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ