CVE-2024-47741
kernel: btrfs: fix race setting file private on concurrent lseek using same fd
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 21, 2024
Updated · September 13, 2026
Description
A flaw was found in the btrfs filesystem component of the Linux kernel. This vulnerability arises from a race condition when multiple threads within the same program attempt to use the lseek(2) system call concurrently on the same file. An attacker could exploit this to cause a memory leak or a use-after-free error. A use-after-free error can lead to system instability, crashes, or potentially allow for 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
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')