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] [thread-next>] [day] [month] [year] [list]
Message-ID: <aYykSCvhtYRGxCi3@infradead.org>
Date: Wed, 11 Feb 2026 07:46:16 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Deepanshu Kartikey <kartikey406@...il.com>
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 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?


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ