Lucene search

K
redhatcveRedhat.comRH:CVE-2021-47058
HistoryMar 01, 2024 - 5:40 a.m.

CVE-2021-47058

2024-03-0105:40:06
redhat.com
access.redhat.com
8
linux kernel
vulnerability
resolved
regmap
debugfs_name
null
free
memory leak

6.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%

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.

6.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.4%