CVE-2023-52810
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

When exploited, this vulnerability could lead to undefined behavior in the Linux kernel's JFS implementation, potentially causing system instability or crashes (CERT-FR).

Exploitability

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.15
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-aws-fips
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-riscv-6.17
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-nvidia
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management