* f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
@ 2025-08-18 9:46 Jiucheng Xu
2025-08-18 10:03 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Jiucheng Xu @ 2025-08-18 9:46 UTC (permalink / raw)
To: stable@vger.kernel.org; +Cc: Tuan Zhang, Jianxin Pan
Dear 5.15.y maintainers,
A f2fs patch should be backported from upstream mainline to the stable
5.15.y branch. The patch's information is shown as below:
[Subject]
f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
[Upstream commit ID]
7c30d79930132466f5be7d0b57add14d1a016bda
[Kernel version]
5.15.y
[Why]
This patch fixes the issue where the f2fs_inode_info.gdirty_list is not
deleted when evicting the inode. This would cause the gdirty_list to
remain incorrectly linked when the f2fs_inode_info is reallocated, which
in turn would be detected by __list_del_entry_valid during list_del_init.
On the Android 5.15 U arm platform, the issue that could be reproduced
within 24 hours has not recurred for a week after applying this patch.
Thanks,
Jiucheng
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
2025-08-18 9:46 f2fs: fix to avoid UAF in f2fs_sync_inode_meta() Jiucheng Xu
@ 2025-08-18 10:03 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2025-08-18 10:03 UTC (permalink / raw)
To: Jiucheng Xu; +Cc: stable@vger.kernel.org, Tuan Zhang, Jianxin Pan
On Mon, Aug 18, 2025 at 09:46:32AM +0000, Jiucheng Xu wrote:
> Dear 5.15.y maintainers,
>
> A f2fs patch should be backported from upstream mainline to the stable
> 5.15.y branch. The patch's information is shown as below:
>
> [Subject]
> f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
>
> [Upstream commit ID]
> 7c30d79930132466f5be7d0b57add14d1a016bda
>
> [Kernel version]
> 5.15.y
>
> [Why]
> This patch fixes the issue where the f2fs_inode_info.gdirty_list is not
> deleted when evicting the inode. This would cause the gdirty_list to
> remain incorrectly linked when the f2fs_inode_info is reallocated, which
> in turn would be detected by __list_del_entry_valid during list_del_init.
>
> On the Android 5.15 U arm platform, the issue that could be reproduced
> within 24 hours has not recurred for a week after applying this patch.
It's already queued up for the next 5.15.y release, thanks!
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-18 10:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-18 9:46 f2fs: fix to avoid UAF in f2fs_sync_inode_meta() Jiucheng Xu
2025-08-18 10:03 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox