CVE-2023-52810: fs/jfs: Add check for negative db_l2nbperpage
In the Linux kernel, the following vulnerability has been resolved:
fs/jfs: Add check for negative dbl2nbperpage
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/jfsdmap.c:799:12 shift exponent -16777216 is negative
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-52810?
CVE-2023-52810 has a medium severity level due to the potential for negative values causing system errors.
How do I fix CVE-2023-52810?
To fix CVE-2023-52810, upgrade to the latest kernel version that includes the patches addressing this vulnerability.
Which versions of the Linux kernel are affected by CVE-2023-52810?
CVE-2023-52810 affects Linux kernel versions from 4.14 up to 6.6, with specific ranges for various sub-versions.
What attack vectors are associated with CVE-2023-52810?
CVE-2023-52810 potentially allows local users to exploit errors in the file system handling due to negative l2nbperpage values.
Is CVE-2023-52810 a remote or local vulnerability?
CVE-2023-52810 is considered a local vulnerability as it requires local user access to exploit the issue.