CVE-2025-38258
publishedmm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7ee161f18b5da5170b5d6a51aace49d312099128 to < 490a43d07f1663d827e802720d30cbc0494e4f81 · 7ee161f18b5da5170b5d6a51aace49d312099128 to < c5d5b0047b0c0f304608f3824139f7bd34c48413 · 7ee161f18b5da5170b5d6a51aace49d312099128 to < 4a158ac0538dd5695eeaa00aa0720d711f3e4ef1 · 7ee161f18b5da5170b5d6a51aace49d312099128 to < 4f489fe6afb395dbc79840efa3c05440b760d883 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.96 through 6.6.* (unaffected · semver) · 6.12.36 through 6.12.* (unaffected · semver) · 6.15.5 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1130 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
| Oracle Linux | 9 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el9uek | ELSA-2025-20551 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write memcg_path_store() assigns a newly allocated memory buffer to filter->memcg_path, without deallocating the previously allocated and assigned memory buffer. As a result, users can leak kernel memory by continuously writing a data to memcg_path DAMOS sysfs file. Fix the leak by deallocating the previously set memory buffer.
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 | 7ee161f18b5da5170b5d6a51aace49d312099128 to < 490a43d07f1663d827e802720d30cbc0494e4f81 (affected · git)7ee161f18b5da5170b5d6a51aace49d312099128 to < c5d5b0047b0c0f304608f3824139f7bd34c48413 (affected · git)7ee161f18b5da5170b5d6a51aace49d312099128 to < 4a158ac0538dd5695eeaa00aa0720d711f3e4ef1 (affected · git)7ee161f18b5da5170b5d6a51aace49d312099128 to < 4f489fe6afb395dbc79840efa3c05440b760d883 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.96 through 6.6.* (unaffected · semver)6.12.36 through 6.12.* (unaffected · semver)6.15.5 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
mm/damon/sysfs-schemes: free old damon_sysfs_scheme_filter->memcg_path on write
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5eed59d38b5d37484f5b7067dbf4b88874643099857267e36f4496c444a38e71
- Ingested
- 07 Nov 2026, 23:34:39 UTC
- Source record
- Official CVE record