CVE Database›Document archive›CVE-2023-53618

CVE-2023-53618

kernel: btrfs: reject invalid reloc tree root keys with stack dump

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · October 7, 2025

Updated · June 30, 2026

Description

A file-system validation flaw was found in the Linux kernel B-tree File System (Btrfs) in the way relocation tree keys are accepted. Crafted on-disk data could present a relocation tree for a non-subvolume tree, leading to internal assertions and a crash during tree merging.

A local user mounting or accessing a crafted image could use this flaw to crash the system, resulting in a denial of service.

Statement

Relocation trees are only valid for subvolume trees. The code did not reject invalid relocation keys that referenced non-subvolume trees (for example, the quota tree), allowing inconsistent metadata to reach code paths that assume proper back-references. The fix teaches the tree checker to reject such keys and exits gracefully when encountered.

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

To mitigate this issue, prevent module btrfs from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

CVSS / CWE

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

CWE not specified