CVE-2022-48996
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/10/2024
Last modified:
07/11/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
mm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damon_sysfs_set_schemes()<br />
<br />
Commit da87878010e5 ("mm/damon/sysfs: support online inputs update") made<br />
&#39;damon_sysfs_set_schemes()&#39; to be called for running DAMON context, which<br />
could have schemes. In the case, DAMON sysfs interface is supposed to<br />
update, remove, or add schemes to reflect the sysfs files. However, the<br />
code is assuming the DAMON context wouldn&#39;t have schemes at all, and<br />
therefore creates and adds new schemes. As a result, the code doesn&#39;t<br />
work as intended for online schemes tuning and could have more than<br />
expected memory footprint. The schemes are all in the DAMON context, so<br />
it doesn&#39;t leak the memory, though.<br />
<br />
Remove the wrong asssumption (the DAMON context wouldn&#39;t have schemes) in<br />
&#39;damon_sysfs_set_schemes()&#39; to fix the bug.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.19 (including) | 6.0.12 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



