Loading HuntDB...

GHSA-8gjf-xqc3-q68r

GitHub Security Advisory

⚠ Unreviewed HIGH Has CVE

Advisory Details

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

Related CVEs

Key Information

GHSA ID
GHSA-8gjf-xqc3-q68r
Published
May 21, 2024 6:31 PM
Last Modified
July 3, 2024 6:42 PM
CVSS Score
7.5 /10
Primary Ecosystem
Unknown
Primary Package
Unknown
GitHub Reviewed
✗ No

Dataset

Last updated: June 12, 2025 6:24 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.