CVE Database›Document archive›CVE-2022-48733

CVE-2022-48733

kernel: btrfs: fix use-after-free after failure to create a snapshot

Loading…

Severity

Moderate

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · June 20, 2024

Updated · October 30, 2026

Description

A flaw was found in the Btrfs file system in the Linux kernel. When an attempt to create a snapshot fails, the associated data structure is prematurely freed while remaining referenced in the active transaction list. A local user can exploit this issue to trigger a use-after-free condition when a subsequent process commits the transaction, leading to a system crash, denial of service (DoS), or potential arbitrary code execution.

Statement

This vulnerability is rated as Moderate severity because exploitation requires local access with privileges to invoke snapshot operations on a mounted Btrfs filesystem. The Btrfs filesystem is unsupported and not included in standard Red Hat Enterprise Linux releases, significantly mitigating exposure on enterprise deployments. On systems where Btrfs is active, an uncommitted failure during snapshot creation can trigger a use-after-free condition during transaction commit, potentially resulting in a system crash or local privilege escalation.

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

CWE-416 · Use After Free