CVE Database›Document archive›CVE-2026-93800

CVE-2026-93800

kernel: btrfs: fix use-after-free on reloc root after error in insert_dirty_subvol()

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · September 24, 2026

Updated · November 4, 2026

Description

A flaw was found in the Linux kernel's Btrfs file system. A local user could cause a Denial of Service (DoS) or memory corruption due to improper error handling during subvolume relocation. If a failure occurs while updating relocation data, the kernel can leave an invalid reference pointing to memory that has already been released. When the file system is later unmounted, accessing this freed memory triggers a use-after-free flaw, leading to a kernel crash.

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

Disallow loading of the Btrfs kernel module if Btrfs file systems are not required.

  1. Prevent the module from autoloading by creating a configuration file:

echo "install btrfs /bin/true" > /etc/modprobe.d/btrfs.conf

  1. If the module is already loaded, attempt to remove it:

modprobe -r btrfs

Caveat: Applying this configuration prevents any Btrfs file systems from being mounted. If Btrfs is currently in use by active mounts, unloading the module will fail, and a system reboot will be required for the change to take full effect.

CVSS / CWE

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

CWE-825 · Expired Pointer Dereference