CVE-2026-46183: mm/damon/sysfs-schemes: protect path kfree() with damon_sysfs_lock

Published May 28, 2026
·
Updated

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

mm/damon/sysfs-schemes: protect path kfree() with damonsysfslock

damonsysfsquotgoal->path can be read and written by users, via DAMON sysfs 'path' file. It can also be indirectly read, for the parameters {on,off}line committing to DAMON. The reads for parameters committing are protected by damonsysfslock to avoid the sysfs files being destroyed while any of the parameters are being read. But the user-driven direct reads and writes are not protected by any lock, while the write is deallocating the path-pointing buffer. As a result, the readers could read the already freed buffer (user-after-free). Note that the user-reads don't race when the same open file is used by the writer, due to kernfs's open file locking. Nonetheless, doing the reads and writes with separate open files would be common. Fix it by protecting both the user-direct reads and writes with damonsysfslock.

Affected Software

3 affected components
Linux Linux kernel
Linux Linux kernel>=6.19<7.0.7
Linux Linux kernel=7.1-rc1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch mm/damon/sysfs-schemes: protect path kfree() with damon_sysfs_lock
  2. Configuration

    Protect both user-direct reads and writes to the DAMON sysfs 'path' file with damon_sysfs_lock so the path buffer is not freed while being read; apply the mm/damon/sysfs-schemes change that protects the kfree() with damon_sysfs_lock.

    Linux kernel (mm/damon/sysfs-schemes) protect path kfree() with damon_sysfs_lock = enabled

Event History

May 28, 2026
CVE Published
via MITRE·09:36 AM
Data Sourced
via MITRE·09:36 AM
Description
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-46183?

CVE-2026-46183 has a risk rating of 38, indicating a moderate level of severity.

2

What types of systems are affected by CVE-2026-46183?

CVE-2026-46183 affects the Linux kernel, specifically the DAMON sysfs 'path' file.

3

How do I fix CVE-2026-46183?

To fix CVE-2026-46183, ensure that you update to the patched version of the Linux kernel provided by your distribution.

4

What actions can users take related to CVE-2026-46183?

Users should avoid untrusted access to the DAMON sysfs 'path' file until the vulnerability is patched.

5

Is CVE-2026-46183 likely to be exploited in the wild?

While there is no specific evidence of active exploitation of CVE-2026-46183, its existence poses a risk to system integrity.

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