ACK: [PATCH 0/1][SRU][J] udf: Fix directory iteration for longer tail extents

Tim Whisonant tim.whisonant at canonical.com
Thu Apr 10 00:46:36 UTC 2025


On Wed, Apr 09, 2025 at 03:22:58PM +0800, Chris Chiu wrote:
> BugLink: https://bugs.launchpad.net/bugs/2103598
> 
> [Impact]
> 
> After kernel Ubuntu-5.15.0-132, lots of udf patches are introduced but it led to directory corruption when directory's last content has more than one block.
> 
> [Fix]
> 
> Cherry pick commit 1ea1cd11c72d("udf: Fix directory iteration for longer tail extents") from mainline to fix it.
> 
> [Test Case]
> 
> 1. Boot the patched kernel with the CDROM inserted.
> 2. Check if dmesg shows the error like: udf_fiiter_advance_blk: extent after position 2016 not allocated in directory
> 
> [Where problems could occur]
> The patch is already landed after kernel 6.2 and it simply fixes the rounding issue for the directory access on udf filesystem. Should be low risk for regression.
> 
> Jan Kara (1):
>   udf: Fix directory iteration for longer tail extents
> 
>  fs/udf/directory.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> -- 
> 2.34.1
> 
> 

Acked-by: Tim Whisonant <tim.whisonant at canonical.com>



More information about the kernel-team mailing list