CVE-2021-47343
kernel: dm btree remove: assign new_root only when removal succeeds
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 21, 2024
Updated · October 2, 2026
Description
A vulnerability was found in the Linux kernel's device-mapper subsystem, where the dm_btree_remove function could assign an uninitialized value to new_root if a tree removal operation failed. This issue could result in reading invalid memory locations, leading to system instability or crashes.
Statement
This vulnerability is rated as a moderate severity because it can cause system crashes or unpredictable behavior due to invalid memory access, but it does not directly compromise data security or allow unauthorized access.
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
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
CVSS / CWE
CVSS 3.1 · 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE-824 · Access of Uninitialized Pointer