ACK: [SRU][J/F][PATCH 0/1] CVE-2024-44938

Tim Whisonant tim.whisonant at canonical.com
Wed Feb 5 01:10:13 UTC 2025


On Wed, Jan 22, 2025 at 02:47:02PM -0600, Bethany Jamison wrote:
> [Impact]
> 
> jfs: Fix shift-out-of-bounds in dbDiscardAG
> 
> In dbDiscardAG() when searching for the next smaller log2 block, BLKSTOL2() returned 0,
> causing shift exponent -1 to be negative.
> 
> [Fix]
> Oracular: not-affected
> Noble:	  released (6.8.0-50.51)
> Jammy:	  Clean cherry-pick from linux-6.1.y
> Focal:	  Jammy patch applied cleanly
> Bionic:	  fix sent to esm ML
> Xenial:	  fix sent to esm ML
> Trusty:	  won't fix as it is not critical
> 
> [Test Case]
> 
> compile tested
> 
> [Where problems could occur]
> 
> This fix affects those who use the JFS dmapping, an issue with this fix
> would be visible to the user via unexpected system behavior or crashes.
> 
> This patch fixes the issue by exiting the loop directly when negative
> shift is found.
> 
> Pei Li (1):
>   jfs: Fix shift-out-of-bounds in dbDiscardAG
> 
>  fs/jfs/jfs_dmap.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> -- 
> 2.43.0
> 

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



More information about the kernel-team mailing list