
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-52810 is a vulnerability in the Linux kernel's JFS (Journaled File System) component. The issue was discovered when a negative value for db_l2nbperpage (log2 of number of blocks per page) could be accepted, where the minimum legal value should be 0 (Kernel Commit).
The vulnerability exists in the fs/jfs/jfs_dmap.c file where the db_l2nbperpage parameter, which represents the log2 of the number of blocks per page, could accept negative values. When used as a shift exponent later in the code, this negative value triggers an UBSAN (Undefined Behavior Sanitizer) error: 'shift-out-of-bounds in fs/jfs/jfs_dmap.c:799:12 shift exponent -16777216 is negative' (Kernel Commit).
When exploited, this vulnerability could lead to undefined behavior in the Linux kernel's JFS implementation, potentially causing system instability or crashes (CERT-FR).
The vulnerability was discovered through automated testing using syzkaller, as reported by syzbot. The issue can be triggered when mounting a JFS filesystem with specifically crafted metadata containing a negative db_l2nbperpage value (Kernel Commit).
The issue has been fixed by adding an additional check to verify that db_l2nbperpage is not negative. The fix has been implemented in the Linux kernel through a patch that adds the condition 'bmp->db_l2nbperpage < 0' to the existing validation checks (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."