CVE-2022-48996
publishedmm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damon_sysfs_set_schemes()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxda87878010e59869d4d27b3c01ecc8ec06ff4a20 to < f98d1f2a36ad7ab48fb4cf73ca14e7b19482fd4d · da87878010e59869d4d27b3c01ecc8ec06ff4a20 to < 95bc35f9bee5220dad4e8567654ab3288a181639 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 6.0.12 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-024 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-024 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-024 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-024 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-024 |
Description
In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damon_sysfs_set_schemes() Commit da87878010e5 ("mm/damon/sysfs: support online inputs update") made 'damon_sysfs_set_schemes()' 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 'damon_sysfs_set_schemes()' to fix the bug.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | da87878010e59869d4d27b3c01ecc8ec06ff4a20 to < f98d1f2a36ad7ab48fb4cf73ca14e7b19482fd4d (affected · git)da87878010e59869d4d27b3c01ecc8ec06ff4a20 to < 95bc35f9bee5220dad4e8567654ab3288a181639 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.19 (affected)0 to < 5.19 (unaffected · semver)6.0.12 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
mm/damon/sysfs: fix wrong empty schemes assumption under online tuning in damon_sysfs_set_schemes()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 57ea7f92cb9374b98f2bbd5fdb95d4f1135a3490c888644052b7668fa12d16ff
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record