CVE Database›CVE-2024-39496

CVE-2024-39496

kernel: btrfs: zoned: fix use-after-free due to race with dev replace

Loading…

Severity

Moderate

Red Hat Product Security

7.8

CVSS 3.1

Review impact separately from score.

Published · July 12, 2024

Updated · September 13, 2026

Description

A flaw was found in the Linux kernel's btrfs zoned file system. A race condition exists during the loading of zone information when creating a block group, specifically within the btrfs_load_zone_info() function. This allows a local attacker to trigger a use-after-free vulnerability if a device replacement operation completes and frees a device while it is still being accessed. The consequence of this flaw is system instability, which can lead to a denial of service (DoS) or potentially enable arbitrary code execution.

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