PT-2021-8235 · Linux+5 · Linux Kernel+5

Su Yue

·

Published

2021-10-26

·

Updated

2026-04-29

·

CVE-2021-47599

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 The issue is related to the btrfs component of the Linux kernel and involves a problem with the btrfs show devname() function. The function searches for devices but finds none, leading to a warning. This occurs because btrfs prepare sprout() moves devices into a seed list, and btrfs show devname() cannot find them. The fix involves updating latest dev according to changes in the device list, ensuring the pointer to the device name in /proc/self/mounts remains valid. The RCU protection is sufficient as the device structure is freed after synchronization.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Double Free

Race Condition

Weakness Enumeration

Related Identifiers

BDU:2024-11560
CVE-2021-47599
OPENSUSE-SU-2024_2947-1
SUSE-SU-2024:2892-1
SUSE-SU-2024:2894-1
SUSE-SU-2024:2901-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2940-1
SUSE-SU-2024:2947-1
USN-8070-1
USN-8070-2
USN-8070-3
USN-8098-1
USN-8098-10
USN-8098-2
USN-8098-3
USN-8098-4
USN-8098-5
USN-8098-6
USN-8098-7
USN-8098-8
USN-8098-9
USN-8107-1
USN-8112-1
USN-8112-2
USN-8112-3
USN-8112-4
USN-8112-5
USN-8201-1
USN-8224-1

Affected Products

Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu