CVE-2023-52810

published 21 May 2024 · updated 5 Aug 2026

fs/jfs: Add check for negative db_l2nbperpage

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0cb567e727339a192f9fd0db00781d73a91d15a6, Kernel 1a7c53fdea1d189087544d9a606d249e93c4934b, Kernel 491085258185ffc4fb91555b0dba895fe7656a45 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <0cb567e727339a192f9fd0db00781d73a91d15a6, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1a7c53fdea1d189087544d9a606d249e93c4934b, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <491085258185ffc4fb91555b0dba895fe7656a45, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <524b4f203afcf87accfe387e846f33f916f0c907, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <525b861a008143048535011f3816d407940f4bfa, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5f148b16972e5f4592629b244d5109b15135f53f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8f2964df6bfce9d92d81ca552010b8677af8d9dc, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f010cb567e727339a192f9fd0db00781d73a91d15a6, 1a7c53fdea1d189087544d9a606d249e93c4934b, 491085258185ffc4fb91555b0dba895fe7656a45, 524b4f203afcf87accfe387e846f33f916f0c907, 525b861a008143048535011f3816d407940f4bfa, 5f148b16972e5f4592629b244d5109b15135f53f, 8f2964df6bfce9d92d81ca552010b8677af8d9dc, a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1, cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52810 severity on Zeptric[![CVE-2023-52810](https://zeptric.io/badge/cve/CVE-2023-52810.svg)](https://zeptric.io/cve/CVE-2023-52810)