Re: [PATCH] ext4: save converted extent before merging
From: Theodore Ts'o
Date: Thu Nov 19 2026 - 09:53:48 EST
On Wed, 30 Sep 2026 13:45:17 +0000, Jérémy Jean wrote:
> In ext4_split_convert_extents(), merging can release the leaf holding
> the extent pointed to by ex. The later extent status cache update can
> then dereference freed memory, causing a use-after-free. KASAN reports:
>
> BUG: KASAN: use-after-free in ext4_split_convert_extents.constprop.0+0xb98/0xc80
> Read of size 2 at addr ff11000002547034 by task fixture/65
>
> [...]
Applied, thanks!
[1/1] ext4: save converted extent before merging
commit: 15b9540d445893c028a616f8e98606195c67db91
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>