Skip to content
7.8 High

CVE-2023-52810 In the Linux kernel, the following vulnerability has been resolved: fs/jfs: Add check for negative db_l2nbperpage…

Description

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 and versions

Product Affected versions Fixed in
Linux 6.7 earliest → < 6.7 6.7
Linux 6.6 earliest → < 6.6.3 6.6.3
Linux 6.5 earliest → < 6.5.13 6.5.13
Linux 6.1 earliest → < 6.1.64 6.1.64
Linux 5.15 earliest → < 5.15.140 5.15.140
Linux 5.10 earliest → < 5.10.202 5.10.202
Linux 5.4 earliest → < 5.4.262 5.4.262
Linux 4.19 earliest → < 4.19.300 4.19.300
Linux 4.14 earliest → < 4.14.331 4.14.331
Show the 2 other branches
Product Affected versions Fixed in
Linux 2.6.12 No fix stated
linux_kernel 6.7 earliest → < 6.7 6.7

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE