CVE-2022-50567

CVE-2022-50567

High · published October 22, 2025

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

In the Linux kernel, the following vulnerability has been resolved:

fs: jfs: fix shift-out-of-bounds in dbAllocAG

Syzbot found a crash : UBSAN: shift-out-of-bounds in dbAllocAG. The

underlying bug is the missing check of bmp->db_agl2size. The field can

be greater than 64 and trigger the shift-out-of-bounds.

Fix this bug by adding a check of bmp->db_agl2size in dbMount since this

field is used in many following functions. The upper bound for this

field is L2MAXL2SIZE - L2MAXAG, thanks for the help of Dave Kleikamp.

Note that, for maintenance, I reorganized error handling code of dbMount.

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.00172 · 6.2th percentile
Published
2025-10-22T18:15Z
References (9)
EPSS history
Timeline
  • 22 OCT 13:23Z
    fs: jfs: fix shift-out-of-bounds in dbAllocAG
    cvelistv5