CVE-2023-52810

fs/jfs: Add check for negative db_l2nbperpage

HIGH
7.8
CVSS Score
Published: May 21, 2024 at 03:31 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.14.3312.6.12 ≤ v < 4.14.3312.6.12 ≤ v < 4.19.3002.6.12 ≤ v < 5.10.2022.6.12 ≤ v < 5.15.1402.6.12 ≤ v < 5.4.2622.6.12 ≤ v < 6.1.642.6.12 ≤ v < 6.5.132.6.12 ≤ v < 6.6.32.6.12 ≤ v < 6.74.15 ≤ v < 4.19.3004.20 ≤ v < 5.4.2625.11 ≤ v < 5.15.1405.16 ≤ v < 6.1.645.5 ≤ v < 5.10.2026.2 ≤ v < 6.5.136.6 ≤ v < 6.6.31da177e4c3f41da177e4c3f41524e886b7f1b8a0c1fc7321cac22.6.12
Vendor states this is fixed in 0cb567e72733 (fixed)
Vendor states this is fixed in 0cb567e727339a192f9fd0db00781d73a91d15a6 (fixed)
Vendor states this is fixed in 1a7c53fdea1d (fixed)
Vendor states this is fixed in 1a7c53fdea1d189087544d9a606d249e93c4934b (fixed)
Vendor states this is fixed in 491085258185ffc4fb91555b0dba895fe7656a45 (fixed)
Vendor states this is fixed in 524b4f203afc (fixed)
Vendor states this is fixed in 524b4f203afcf87accfe387e846f33f916f0c907 (fixed)
Vendor states this is fixed in 525b861a0081 (fixed)
Vendor states this is fixed in 525b861a008143048535011f3816d407940f4bfa (fixed)
Vendor states this is fixed in 5f148b16972e (fixed)
Vendor states this is fixed in 5f148b16972e5f4592629b244d5109b15135f53f (fixed)
Vendor states this is fixed in 8f2964df6bfc (fixed)
Vendor states this is fixed in 8f2964df6bfce9d92d81ca552010b8677af8d9dc (fixed)
Vendor states this is fixed in a81a56b4cbe3 (fixed)
Vendor states this is fixed in a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1 (fixed)
Vendor states this is fixed in cc61fcf7d1c9 (fixed)
Vendor states this is fixed in cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01 (fixed)
Vendor states this is fixed in 2.6.12 (unaffected)
Vendor states this is fixed in 4.14.331 (unaffected)
Vendor states this is fixed in 4.19.300 (unaffected)
Vendor states this is fixed in 5.10.202 (unaffected)
Vendor states this is fixed in 5.15.140 (unaffected)
Vendor states this is fixed in 5.4.262 (unaffected)
Vendor states this is fixed in 6.1.64 (unaffected)
Vendor states this is fixed in 6.5.13 (unaffected)
Vendor states this is fixed in 6.6.3 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0cb567e727339a192f9fd0db00781d73a91d15a6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1a7c53fdea1d189087544d9a606d249e93c4934b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/491085258185ffc4fb91555b0dba895fe7656a45
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/524b4f203afcf87accfe387e846f33f916f0c907
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/525b861a008143048535011f3816d407940f4bfa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5f148b16972e5f4592629b244d5109b15135f53f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f2964df6bfce9d92d81ca552010b8677af8d9dc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-1335

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card