VYPR
Unrated severityNVD Advisory· Published May 21, 2024· Updated Jan 5, 2026

fs/jfs: Add check for negative db_l2nbperpage

CVE-2023-52810

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

148

Patches

Vulnerability mechanics

References

9

News mentions

0

No linked articles in our index yet.