CVE Database›Document archive›CVE-2026-23249

CVE-2026-23249

kernel: xfs: check for deleted cursors when revalidating two btrees

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · March 18, 2026

Updated · October 29, 2026

Description

A NULL pointer dereference vulnerability was found in the Linux kernel's XFS filesystem scrub/repair code. In xrep_revalidate_allocbt(), when revalidating both the BNOBT and CNTBT btrees, if the first btree validation fails during cross-reference, the second btree cursor is nullified. The code then attempts to revalidate the second btree using the NULL cursor, causing a kernel crash.

Statement

This flaw affects XFS filesystems when using the online scrub/repair functionality (xfs_scrub). The crash can be triggered via the XFS_IOC_SCRUBV_METADATA ioctl, potentially in combination with error injection. The vulnerability is in the repair validation path and requires privileged access to invoke filesystem scrub operations. Similar issues exist in xrep_revalidate_iallocbt().

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.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-476 · NULL Pointer Dereference