CVE Database›Document archive›CVE-2025-38697

CVE-2025-38697

kernel: jfs: upper bound check of tree index in dbAllocAG

Loading…

Severity

Moderate

Red Hat Product Security

5.8

CVSS 3.1

Review impact separately from score.

Published · September 4, 2025

Updated · October 30, 2026

Description

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

jfs: upper bound check of tree index in dbAllocAG

When computing the tree index in dbAllocAG, we never check if we are out of bounds realative to the size of the stree. This could happen in a scenario where the filesystem metadata are corrupted.

Statement

This vulnerability is rated as Moderate because triggering the out-of-bounds access requires mounting a specially crafted or corrupted JFS filesystem image, restricting exploitation to local environments with mounting privileges. In standard Red Hat Enterprise Linux deployments, non-privileged users cannot mount arbitrary storage volumes or filesystem images without administrative intervention. Furthermore, the legacy JFS filesystem is not enabled or supported on contemporary Red Hat Enterprise Linux releases, significantly constraining the overall blast radius.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H

CWE-787 · Out-of-bounds Write