Skip to main content
Mallory
HighVulnerability

CVE-2025-39881: Linux kernel kernfs PSI polling use-after-free

Published Sep 23, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.24%9th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Debian ProjectLinux
IdentifiersCVE-2025-39881CWE-416 · Use After Free

CVE-2025-39881 is a use-after-free vulnerability in the Linux kernel's kernfs polling path affecting cgroup Pressure Stall Information (PSI) monitoring. Disabling cgroup pressure monitoring invokes cgroup_file_release() through kernfs_drain_open_files(), releasing PSI triggers and freeing the open file's private context, of->priv. An epoll instance can retain a reference to that file after its private resources have been released. When monitoring is re-enabled, kernfs_fop_poll() can acquire an active reference to the reactivated kernfs node without recognizing that the associated open file has been released. Subsequent calls through cgroup_file_poll() and cgroup_pressure_poll() reach psi_trigger_poll(), which accesses freed memory. A KASAN diagnostic identified an eight-byte slab-use-after-free read.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

The vulnerability permits access to freed kernel memory during PSI polling and can cause kernel instability or a crash, resulting in denial of service. Potential privilege escalation and compromise of confidentiality and integrity depend on exploitability in the affected kernel build and configuration; these outcomes are not demonstrated by the documented reproduction. The listed CVSS v3.0 assessment is 7.8, with local access, low privileges, no user interaction, and high confidentiality, integrity, and availability impacts.

Mitigation

If you can’t patch tonight, do this now.

Until patched, restrict untrusted local users and containers from accessing PSI monitoring interfaces or modifying cgroup pressure-monitoring controls. Limit cgroup delegation and apply least-privilege permissions to these interfaces. Avoid disabling and re-enabling cgroup pressure monitoring while existing pressure-file descriptors remain registered with epoll. These measures reduce exposure to the documented trigger but do not replace the kernel fix.

Remediation

Patch, then assume compromise.

Install a vendor-supported kernel update containing the kernfs open-file lifetime fix, then reboot into the updated kernel. The fix introduces kernfs_get_active_of(), which rejects active-reference acquisition for released open files, and replaces the relevant kernfs_get_active() calls. Applicable Red Hat updates include RHSA-2025:19469 and RHSA-2025:21118 for RHEL 10, RHSA-2025:21469 for RHEL 9, and RHSA-2025:22392 for RHEL 9.6 support channels; the latter supplies kernel 5.14.0-570.69.1.el9_6. Echo identifies linux 6.1.153-1 or later as fixed. For SUSE and Google Container-Optimized OS, apply the fixed kernel update appropriate to the installed product, kernel flavor, and release channel rather than comparing version numbers across distributions.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2025-39881 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2025-39881 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-39881?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2025-39881.
Is there a patch for CVE-2025-39881?
Install a vendor-supported kernel update containing the kernfs open-file lifetime fix, then reboot into the updated kernel. The fix introduces kernfs_get_active_of(), which rejects active-reference acquisition for released open files, and replaces the relevant kernfs_get_active() calls.
What products are affected by CVE-2025-39881?
Linux Kernel and Debian Project Debian Linux.
How severe is CVE-2025-39881?
CVE-2025-39881 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.24% (9th percentile) as of Oct 25, 2026.
Activity feed

Recent activity

27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable cloud security pluginsNews · Oct 3, 2026Google: sys-kernel/csql-kernel-6_12, sys-kernel/csql-kernel-6_... | Tenable®A Linux kernel use-after-free vulnerability occurs when cgroup pressure monitoring is disabled and re-enabled while epoll continues monitoring an open pressure file. Released PSI trigger data can subsequently be accessed during polling. The reference assigns a CVSS v3 score of 7.8, with local access, low privileges, and high confidentiality, integrity, and availability impact. The fix prevents operations on released open files by using kernfs_get_active_of() to acquire active references.Read more ↗tenable cloud security pluginsNews · Oct 3, 2026Google: sys-kernel/csql-kernel-6_1, sys-kernel/csql-kernel-6_6... | Tenable®A Linux kernel use-after-free vulnerability in kernfs polling during PSI monitoring. Disabling cgroup pressure monitoring releases file-private data while epoll retains a reference; re-enabling monitoring can cause polling to access the freed data. The reported CVSS v3 base score is 7.8, indicating local exploitation requiring low privileges and potentially high confidentiality, integrity, and availability impacts. The fix prevents further operations on released open files by introducing kernfs_get_active_of().Read more ↗tenable cloud security pluginsNews · Oct 2, 2026Echo: linux: security update to 6.1.153-1 | Tenable®A local use-after-free vulnerability in the Linux kernel's kernfs polling and Pressure Stall Information monitoring. Disabling cgroup.pressure releases monitoring data while epoll retains a file reference; re-enabling monitoring can cause polling to access freed memory. The fix prevents operations on released open files by using kernfs_get_active_of(). The advisory assigns a CVSS v3 base score of 7.8 and recommends updating Echo linux packages to version 6.1.153-1 or later.Read more ↗tenable cloud security pluginsNews · Oct 1, 2026Google: sys-kernel/csql-kernel-6_1, sys-kernel/lakitu-kernel-6... | Tenable®A high-severity local Linux kernel use-after-free flaw in kernfs/PSI pressure-monitoring polling. A race between releasing a cgroup pressure-monitoring file and epoll polling can access freed open-file state. The fix introduces active references for kernfs open files via kernfs_get_active_of().Read more ↗
+5 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.