CVE-2023-52810: fs/jfs: Add check for negative db_l2nbperpage

Published May 21, 2024
·
Updated

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

9 affected components
Linux Kernel
Linux Linux kernel<4.14.331
Linux Linux kernel>=4.15<4.19.300
Linux Linux kernel>=4.20<5.4.262
Linux Linux kernel>=5.5<5.10.202
Linux Linux kernel>=5.11<5.15.140
Linux Linux kernel>=5.16<6.1.64
Linux Linux kernel>=6.2<6.5.13
Linux Linux kernel>=6.6<6.6.3

Event History

May 21, 2024
CVE Published
via MITRE·03:31 PM
Data Sourced
via MITRE·03:31 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203