NetSight
high7.8

CVE-2023-52810

In the Linux kernel, the following vulnerability has been resolved: fs/jfs: Add check for negative db_l2nbperpage l2nbperpage is log2(number of blks per page),…

Impact

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

Affected products

VendorProductAffected versions
LinuxLinux Kernel
before 4.14.331
from 4.15 before 4.19.300
from 4.20 before 5.4.262
from 5.5 before 5.10.202
from 5.11 before 5.15.140
from 5.16 before 6.1.64

Weakness classification

References