In the Linux kernel, the following vulnerability has been resolved:fs/jfs: Add check for negative db_l2nbperpagel2nbperpage is log2(number of blks per page), and the minimum legalvalue should be 0, not negative.In the case of l2nbperpage being negative, an error will occurwhen subsequently used as shift exponent.Syzbot reported this bug:UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:799:12shift exponent -16777216 is negative
CWE-1335 Incorrect Bitwise Shift of Integer