CVE-2023-53222 Details
Description
In the Linux kernel, the following vulnerability has been resolved: jfs: jfs_dmap: Validate db_l2nbperpage while mounting In jfs_dmap.c at line 381, BLKTODMAP is used to get a logical block number inside dbFree(). db_l2nbperpage, which is the log2 number of blocks per page, is passed as an argument to BLKTODMAP which uses it for shifting. Syzbot reported a shift out-of-bounds crash because db_l2nbperpage is too big. This happens because the large value is set without any validation in dbMount() at line 181. Thus, make sure that db_l2nbperpage is correct while mounting. Max number of blocks per page = Page size / Min block size => log2(Max num_block per page) = log2(Page size / Min block size) = log2(Page size) - log2(Min block size) => Max db_l2nbperpage = L2PSIZE - L2MINBLOCKSIZE
A vulnerability in the JFS (Journaled File System) component of the Linux kernel allows for an out-of-bounds shift, leading to a potential crash. This issue arises during the mounting process, where the 'db_l2nbperpage' value, representing the logarithm base 2 of the number of blocks per page, is not properly validated. The flaw was reported by Syzbot, which indicated that the unvalidated large value caused a shift-out-of-bounds crash. The vulnerability affects several versions of the Linux kernel.
Users can update to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for updating the kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/11509910c599cbd04585ec35a6d5e1a0053d84c1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2a03c4e683d33d17b667418eb717b13dda1fac6b | kernel.org | Patch |
| https://git.kernel.org/stable/c/47b7eaae08e8b2f25bdf37bc14d21be090bcb20f | kernel.org | Patch |
| https://git.kernel.org/stable/c/8c1efe3f74a7864461b0dff281c5562154b4aa8e | kernel.org | Patch |
| https://git.kernel.org/stable/c/a4855aeb13e4ad1f23e16753b68212e180f7d848 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c7feb54b113802d2aba98708769d3c33fb017254 | kernel.org | Patch |
| https://git.kernel.org/stable/c/de984faecddb900fa850af4df574a25b32bb93f5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ef5c205b6e6f8d1f18ef0b4a9832b1b5fa85f7f2 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-125 | Out-of-bounds Read | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 4.14.322 >= 4.15, < 4.19.291 >= 4.20, < 5.4.251 >= 5.5, < 5.10.188 >= 5.11, < 5.15.121 >= 5.16, < 6.1.40 >= 6.2, < 6.4.5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 4, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |