PT-2024-11070 · Linux+1 · Linux Kernel+1

Filipe Manana

·

Published

2021-04-19

·

Updated

2024-12-11

·

CVE-2021-46958

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A race condition exists between a task aborting a transaction during a commit, a task doing an fsync, and the transaction kthread, leading to a use-after-free of the log root tree. This results in a stack trace with errors such as "BTRFS info (device dm-0): forced readonly" and "BTRFS: error (device dm-0) in cleanup transaction:1958: errno=-5 IO failure". The issue occurs when two tasks have a transaction handle attached to the same transaction, and one task is doing an fsync while the other task calls btrfs commit transaction(), causing an error before the transaction is committed.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-05305
CVE-2021-46958
OPENSUSE-SU-2024_1489-1
SUSE-SU-2024:1454-1
SUSE-SU-2024:1465-1
SUSE-SU-2024:1489-1
SUSE-SU-2024:1643-1
SUSE-SU-2024:1646-1
SUSE-SU-2024:1870-1

Affected Products

Linux Kernel
Suse