CVE-2023-53222jfs: jfs_dmap: Validate db_l2nbperpage while mounting
- 7.8HighCVSS base score
- 0.18%Exploitation in 30 daysEPSS · top 93% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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
Timeline
ID reserved
By Linux
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.18% · top 93% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 8c1efe3f74a7864461b0dff281c5562154b4aa8e
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < ef5c205b6e6f8d1f18ef0b4a9832b1b5fa85f7f2
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < a4855aeb13e4ad1f23e16753b68212e180f7d848
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 47b7eaae08e8b2f25bdf37bc14d21be090bcb20f
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < de984faecddb900fa850af4df574a25b32bb93f5
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < c7feb54b113802d2aba98708769d3c33fb017254
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 2a03c4e683d33d17b667418eb717b13dda1fac6b
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 11509910c599cbd04585ec35a6d5e1a0053d84c1
- affected 2.6.12
- unaffected < 2.6.12
- unaffected 4.14.322 – ≤ 4.14.*
- unaffected 4.19.291 – ≤ 4.19.*
- unaffected 5.4.251 – ≤ 5.4.*
- unaffected 5.10.188 – ≤ 5.10.*
- unaffected 5.15.121 – ≤ 5.15.*
- unaffected 6.1.40 – ≤ 6.1.*
- unaffected 6.4.5 – ≤ 6.4.*
- unaffected 6.5 – ≤ *
References
References8
- https://git.kernel.org/stable/c/8c1efe3f74a7864461b0dff281c5562154b4aa8e (opens in a new tab)
- https://git.kernel.org/stable/c/ef5c205b6e6f8d1f18ef0b4a9832b1b5fa85f7f2 (opens in a new tab)
- https://git.kernel.org/stable/c/a4855aeb13e4ad1f23e16753b68212e180f7d848 (opens in a new tab)
- https://git.kernel.org/stable/c/47b7eaae08e8b2f25bdf37bc14d21be090bcb20f (opens in a new tab)
- https://git.kernel.org/stable/c/de984faecddb900fa850af4df574a25b32bb93f5 (opens in a new tab)
- https://git.kernel.org/stable/c/c7feb54b113802d2aba98708769d3c33fb017254 (opens in a new tab)
- https://git.kernel.org/stable/c/2a03c4e683d33d17b667418eb717b13dda1fac6b (opens in a new tab)
- https://git.kernel.org/stable/c/11509910c599cbd04585ec35a6d5e1a0053d84c1 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-59862 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-53222)Record last updated .