CVE-2021-47058
HIGHLinux Kernel 4.19.168-4.19.191 - Use-After-Free in regmap_debugfs_exit
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: regmap: set debugfs_name to NULL after it is freed There is a upstream commit cffa4b2122f5("regmap:debugfs: Fix a memory leak when calling regmap_attach_dev") that adds a if condition when create name for debugfs_name. With below function invoking logical, debugfs_name is freed in regmap_debugfs_exit(), but it is not created again because of the if condition introduced by above commit. regmap_reinit_cache() regmap_debugfs_exit() ... regmap_debugfs_init() So, set debugfs_name to NULL after it is freed.
References (6)
Core 6
Core References
Scores
CVSS v3
7.8
EPSS
0.0025
EPSS Percentile
15.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-416
Status
published
Products (18)
Linux/Linux
< 5.11
Linux/Linux
4.19.168 - 4.19.191
Linux/Linux
4.19.191 - 4.19.*
Linux/Linux
480c5e9c7e4c76c01d5f1f7b73832d7b77e6b427 - d8897f7b2283a500666c85ef06e820df38ed7b52
Linux/Linux
5.10.37 - 5.10.*
Linux/Linux
5.10.8 - 5.10.37
Linux/Linux
5.11
Linux/Linux
5.11.21 - 5.11.*
Linux/Linux
5.12.4 - 5.12.*
Linux/Linux
5.13
... and 8 more
Published
Feb 29, 2024
Tracked Since
Feb 18, 2026