CVE-2022-48996: mm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damon_sysfs_set_schemes()

Published Oct 21, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damonsysfssetschemes()

Commit da87878010e5 ("mm/damon/sysfs: support online inputs update") made 'damonsysfssetschemes()' to be called for running DAMON context, which could have schemes. In the case, DAMON sysfs interface is supposed to update, remove, or add schemes to reflect the sysfs files. However, the code is assuming the DAMON context wouldn't have schemes at all, and therefore creates and adds new schemes. As a result, the code doesn't work as intended for online schemes tuning and could have more than expected memory footprint. The schemes are all in the DAMON context, so it doesn't leak the memory, though.

Remove the wrong asssumption (the DAMON context wouldn't have schemes) in 'damonsysfssetschemes()' to fix the bug.

Affected Software

8 affected components
Linux Linux kernel>=5.19<6.0.12
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3
Linux Linux kernel=6.1-rc4
Linux Linux kernel=6.1-rc5
Linux Linux kernel=6.1-rc6
Linux Linux kernel=6.1-rc7

Event History

Oct 21, 2024
CVE Published
via MITRE·08:06 PM
Data Sourced
via MITRE·08:06 PM
Description
Data Sourced
via NVD·08:15 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2022-48996?

CVE-2022-48996 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2022-48996?

To fix CVE-2022-48996, update your Linux kernel to versions 6.0.12 or later, or apply the appropriate patches.

3

Which versions of Linux kernel are affected by CVE-2022-48996?

CVE-2022-48996 affects Linux kernel versions from 5.19 up to 6.0.12 and various 6.1 release candidates.

4

What impact does CVE-2022-48996 have on Linux systems?

CVE-2022-48996 can cause improper assumptions during online tuning, potentially leading to system performance issues.

5

Who is the vendor for the CVE-2022-48996 Linux kernel vulnerability?

The vendor for the CVE-2022-48996 vulnerability is the Linux kernel development community.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203