PT-2025-39138

CVE-2025-39881

·

Published

2025-08-22

·

Updated

2026-10-21

Description by

CVSS 4.0
8.5
High
MetricsAV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A use-after-free (UAF) issue exists in the PSI (Pressure Stall Information) monitoring mechanism within the Linux kernel. The problem occurs when a file descriptor is accessed after it has been freed, specifically during polling operations related to cgroup pressure monitoring. The race condition happens when disabling and then re-enabling cgroup pressure monitoring (cgroup.pressure) after establishing epoll monitoring. Disabling the monitoring releases PSI triggers and frees associated memory, while re-enabling it attempts to access the freed memory, leading to a UAF condition. The vulnerability is triggered through interactions with the kernfs file system and involves functions like cgroup file release(), kernfs drain open files(), kernfs get active(), psi trigger poll(), and cgroup pressure poll(). The issue is reproducible by opening test/cpu.pressure, establishing epoll monitoring, disabling monitoring, and then re-enabling it. The root cause is the lack of proper reference counting for kernfs open files, allowing access to freed memory.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
ALSA-2025:19469
AZL-67637
CLSA-2025-1766488019
DLA-4328-1
ECHO-2EC8-E465-DC83
INFSA-2025_21469
LSN-0122-1
MGASA-2025-0309
MGASA-2025-0310
OESA-2025-2802
OESA-2025-2803
OESA-2025-2884
OPENSUSE-SU-2025:20091-1
RHSA-2025:19469
RHSA-2025:21118
RHSA-2025:21469
RHSA-2025_21469
SUSE-SU-2025:21040-1
SUSE-SU-2025:21052-1
SUSE-SU-2025:21056-1
SUSE-SU-2025:21064-1
SUSE-SU-2025:21080-1
SUSE-SU-2025:21147-1
SUSE-SU-2025:21180-1
SUSE-SU-2025:4057-1
SUSE-SU-2025:4128-1
SUSE-SU-2025:4132-1
SUSE-SU-2025:4140-1
SUSE-SU-2025:4141-1
SUSE-SU-2025:4301-1
SUSE-SU-2026:20561-1
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8165-1
USN-8261-1
Found an issue in the description? Have something to add? Feel free to write us 👾