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

Bethany Jamison bethany.jamison at canonical.com
Wed Jan 22 20:47:02 UTC 2025


[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




More information about the kernel-team mailing list