CVE-2023-52810CWE-1335

CVE-2023-52810

High · published May 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
17.4
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00259 · 17.4th percentile
Weakness
CWE-1335 · Incorrect Bitwise Shift of Integer
Published
2024-05-21T20:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel< 4.14.3314.14.331
linux/linux_kernel≥ 4.15, < 4.19.3004.19.300
linux/linux_kernel≥ 4.20, < 5.4.2625.4.262
linux/linux_kernel≥ 5.5, < 5.10.2025.10.202
linux/linux_kernel≥ 5.11, < 5.15.1405.15.140
linux/linux_kernel≥ 5.16, < 6.1.646.1.64
linux/linux_kernel≥ 6.2, < 6.5.136.5.13
linux/linux_kernel≥ 6.6, < 6.6.36.6.3
References (18)
https://git.kernel.org/stable/c/0cb567e727339a192f9fd0db00781d73a91d15a6 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1a7c53fdea1d189087544d9a606d249e93c4934b · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/491085258185ffc4fb91555b0dba895fe7656a45 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/524b4f203afcf87accfe387e846f33f916f0c907 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/525b861a008143048535011f3816d407940f4bfa · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5f148b16972e5f4592629b244d5109b15135f53f · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8f2964df6bfce9d92d81ca552010b8677af8d9dc · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0cb567e727339a192f9fd0db00781d73a91d15a6 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1a7c53fdea1d189087544d9a606d249e93c4934b · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/491085258185ffc4fb91555b0dba895fe7656a45 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/524b4f203afcf87accfe387e846f33f916f0c907 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/525b861a008143048535011f3816d407940f4bfa · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/5f148b16972e5f4592629b244d5109b15135f53f · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8f2964df6bfce9d92d81ca552010b8677af8d9dc · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01 · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 21 MAY 15:31Z
    fs/jfs: Add check for negative db_l2nbperpage
    cvelistv5