PT-2025-39134
CVE-2025-39877
·
Published
2025-09-05
·
Updated
2026-10-18
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contains a use-after-free condition within the
state show() function in the mm/damon/sysfs module. The function reads kdamond->damon ctx without acquiring the damon sysfs lock, creating a race condition where the context can be freed by another process while state show() is still accessing it. This can occur when damon sysfs turn damon on(), damon sysfs kdamonds rm dirs(), or damon sysfs kdamond release() free or replace the context under the damon sysfs lock. The issue arises from dereferencing the context before ensuring it remains valid. The vulnerable function is state show().Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾