CVE-2026-52991

HIGHPre-NVD 7.87.8—
EchelonGraph scoreMEDIUM confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-06-24. a secondary CVSS source baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
7.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0.1%CVSS: 7.8Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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

sched/psi: fix race between file release and pressure write

A potential race condition exists between pressure write and cgroup file release regarding the priv member of struct kernfs_open_file, which triggers the uaf reported in [1].

Consider the following scenario involving execution on two separate CPUs:

CPU0 CPU1 ==== ==== vfs_rmdir() kernfs_iop_rmdir() cgroup_rmdir() cgroup_kn_lock_live() cgroup_destroy_locked() cgroup_addrm_files() cgroup_rm_file() kernfs_remove_by_name() kernfs_remove_by_name_ns() vfs_write() __kernfs_remove() new_sync_write() kernfs_drain() kernfs_fop_write_iter() kernfs_drain_open_files() cgroup_file_write() kernfs_release_file() pressure_write() cgroup_file_release() ctx = of->priv; kfree(ctx); of->priv = NULL; cgroup_kn_unlock() cgroup_kn_lock_live() cgroup_get(cgrp) cgroup_kn_unlock() if (ctx->psi.trigger) // here, trigger uaf for ctx, that is of->priv

The cgroup_rmdir() is protected by the cgroup_mutex, it also safeguards the memory deallocation of of->priv performed within cgroup_file_release(). However, the operations involving of->priv executed within pressure_write() are not entirely covered by the protection of cgroup_mutex. Consequently, if the code in pressure_write(), specifically the section handling the ctx variable executes after cgroup_file_release() has completed, a uaf vulnerability involving of->priv is triggered.

Therefore, the issue can be resolved by extending the scope of the cgroup_mutex lock within pressure_write() to encompass all code paths involving of->priv, thereby properly synchronizing the race condition occurring between cgroup_file_release() and pressure_write().

And, if an live kn lock can be successfully acquired while executing the pressure write operation, it indicates that the cgroup deletion process has not yet reached its final stage; consequently, the priv pointer within open_file cannot be NULL. Therefore, the operation to retrieve the ctx value must be moved to a point *after* the live kn lock has been successfully acquired.

In another situation, specifically after entering cgroup_kn_lock_live() but before acquiring cgroup_mutex, there exists a different class of race condition:

CPU0: write memory.pressure CPU1: write cgroup.pressure=0 =========================== =============================

kernfs_fop_write_iter() kernfs_get_active_of(of) pressure_write() cgroup_kn_lock_live(memory.pressure) cgroup_tryget(cgrp) kernfs_break_active_protection(kn) ... blocks on cgroup_mutex

cgroup_pressure_write() cgroup_kn_lock_live(cgroup.pressure) cgroup_file_show(memory.pressure, false) kernfs_show(false) kernfs_drain_open_files() cgroup_file_release(of) kfree(ctx) of->priv = NULL cgroup_kn_unlock()

... acquires cgroup_mutex ctx = of->priv; // may now be NULL if (ctx->psi.trigger) // NULL dereference

Consequently, there is a possibility that of->priv is NULL, the pressure write needs to check for this.

Now that the scope of the cgroup_mutex has been expanded, the original explicit cgroup_get/put operations are no longer necessary, this is because acquiring/releasing the live kn lock inherently executes a cgroup get/put operation.

[1] BUG: KASAN: slab-use-after-free in pressure_write+0xa4/0x210 kernel/cgroup/cgroup.c:4011 Call Trace: pressure_write+0xa4/0x210 kernel/cgroup/cgroup.c:4011 cgroup_file_write+0x36f/0x790 kernel/cgroup/cgroup.c:43 ---truncated---

CVSS v3
7.8
EG Score
7.8HIGHmedium confidence
EG Risk
40
EG Risk 40/100

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity78% × 45%
Exploitation0% × 40%
Automatability30% × 15%
EPSS PROB
0.1%
EPSS %ILE
1st
KEV
Not listed

Published

June 24, 2026

Last Modified

August 20, 2026

Advisory Details (3)

Auto-updated Jun 28, 2026
Patch available.
generic

sched/psi: fix race between file release and pressure write - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/d4352c0709bfd38c752fccbde7fd72a82ac78f23
generic

sched/psi: fix race between file release and pressure write - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/a5b98009f16d8a5fb4a8ff9a193f5735515c38fa
generic

sched/psi: fix race between file release and pressure write - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/03dc070fa0fc3cb4068693f468ccd5f8a7e58282

Patch Availability(15)

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(4 across 4 ecosystems)
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
linux5.10.103-1 ... 7.2~rc5-1~exp1 (496 versions)
  • every version on: no fix on record
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
linux6.1.106-1 ... 7.2~rc7-1~exp1 (358 versions)
  • every version on: no fix on record
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
linux6.12.100-1 ... 7.2~rc7-1~exp1 (181 versions)
  • every version on: no fix on record
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
linux6.12.100-1 ... 7.0.9-1~bpo13+1 (141 versions)
  • every version up to 7.0.10-1: fixed in 7.0.10-1
—

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(11)

Data Freshness Timeline

(refreshed 7× in last 7d / 34× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 277 total refreshes for this CVE.

  1. 2026-10-09 20:07 UTCEPSS rescore
  2. 2026-10-08 17:12 UTCEPSS rescore
  3. 2026-10-07 23:48 UTCEPSS rescore
  4. 2026-10-06 15:18 UTCEPSS rescore
  5. 2026-10-05 17:43 UTCEPSS rescore
  6. 2026-10-04 23:22 UTCEPSS rescore
  7. 2026-10-03 14:26 UTCEPSS rescore
  8. 2026-10-02 17:56 UTCEPSS rescore
  9. 2026-10-01 19:50 UTCEPSS rescore
  10. 2026-09-30 15:03 UTCEPSS rescore
  11. 2026-09-28 13:51 UTCEPSS rescore
  12. 2026-09-27 13:48 UTCEPSS rescore
  13. 2026-09-26 15:59 UTCEPSS rescore
  14. 2026-09-26 00:27 UTCEPSS rescore
  15. 2026-09-23 11:27 UTCEG score recompute
  16. 2026-09-23 11:27 UTCVendor advisory
  17. 2026-09-23 11:27 UTCGHSA enrichment
  18. 2026-09-18 19:28 UTCEPSS rescore
  19. 2026-09-18 08:04 UTCEG score recompute
  20. 2026-09-18 08:04 UTCVendor advisory
  21. 2026-09-18 08:04 UTCGHSA enrichment
  22. 2026-09-16 14:08 UTCEPSS rescore
  23. 2026-09-16 05:15 UTCEPSS rescore
  24. 2026-09-14 01:52 UTCEG score recompute
  25. 2026-09-14 01:52 UTCVendor advisory
Show 75 more
  1. 2026-09-14 01:52 UTCGHSA enrichment
  2. 2026-09-13 16:47 UTCEPSS rescore
  3. 2026-09-13 09:58 UTCVendor advisory
  4. 2026-09-13 09:58 UTCGHSA enrichment
  5. 2026-09-12 16:58 UTCEG score recompute
  6. 2026-09-12 16:58 UTCVendor advisory
  7. 2026-09-12 16:58 UTCGHSA enrichment
  8. 2026-09-11 14:53 UTCEPSS rescore
  9. 2026-09-10 09:35 UTCEPSS rescore
  10. 2026-09-08 22:01 UTCEPSS rescore
  11. 2026-09-07 16:01 UTCEPSS rescore
  12. 2026-09-06 13:47 UTCEPSS rescore
  13. 2026-09-04 05:06 UTCEPSS rescore
  14. 2026-09-01 13:54 UTCEPSS rescore
  15. 2026-09-01 04:40 UTCEPSS rescore
  16. 2026-08-30 20:12 UTCEG score recompute
  17. 2026-08-30 20:12 UTCVendor advisory
  18. 2026-08-30 20:11 UTCGHSA enrichment
  19. 2026-08-30 19:17 UTCEPSS rescore
  20. 2026-08-30 01:22 UTCEPSS rescore
  21. 2026-08-28 21:41 UTCEPSS rescore
  22. 2026-08-28 04:47 UTCEG score recompute
  23. 2026-08-28 04:47 UTCVendor advisory
  24. 2026-08-28 04:47 UTCGHSA enrichment
  25. 2026-08-27 14:25 UTCEPSS rescore
  26. 2026-08-26 14:46 UTCEPSS rescore
  27. 2026-08-25 13:49 UTCEPSS rescore
  28. 2026-08-24 21:59 UTCEG score recompute
  29. 2026-08-24 21:59 UTCVendor advisory
  30. 2026-08-24 21:59 UTCGHSA enrichment
  31. 2026-08-24 04:37 UTCVendor advisory
  32. 2026-08-24 04:37 UTCGHSA enrichment
  33. 2026-08-23 14:37 UTCVendor advisory
  34. 2026-08-23 14:37 UTCGHSA enrichment
  35. 2026-08-23 02:05 UTCEG score recompute
  36. 2026-08-23 02:05 UTCVendor advisory
  37. 2026-08-23 02:05 UTCGHSA enrichment
  38. 2026-08-23 00:19 UTCEPSS rescore
  39. 2026-08-22 13:07 UTCEG score recompute
  40. 2026-08-22 13:07 UTCVendor advisory
  41. 2026-08-22 13:07 UTCGHSA enrichment
  42. 2026-08-21 23:49 UTCEPSS rescore
  43. 2026-08-21 17:48 UTCVendor advisory
  44. 2026-08-21 17:48 UTCGHSA enrichment
  45. 2026-08-21 05:15 UTCEG score recompute
  46. 2026-08-21 05:15 UTCVendor advisory
  47. 2026-08-21 05:15 UTCGHSA enrichment
  48. 2026-08-20 22:55 UTCEPSS rescore
  49. 2026-08-20 13:57 UTCEG score recompute
  50. 2026-08-20 13:57 UTCVendor advisory
  51. 2026-08-20 13:57 UTCGHSA enrichment
  52. 2026-08-20 12:42 UTCVendor advisory
  53. 2026-08-20 12:42 UTCGHSA enrichment
  54. 2026-08-20 07:29 UTCEG score recompute
  55. 2026-08-20 07:29 UTCVendor advisory
  56. 2026-08-20 07:29 UTCGHSA enrichment
  57. 2026-08-19 17:04 UTCEPSS rescore
  58. 2026-08-19 14:52 UTCVendor advisory
  59. 2026-08-19 14:52 UTCGHSA enrichment
  60. 2026-08-19 02:12 UTCEG score recompute
  61. 2026-08-19 02:12 UTCVendor advisory
  62. 2026-08-19 02:12 UTCGHSA enrichment
  63. 2026-08-18 13:48 UTCEPSS rescore
  64. 2026-08-17 14:02 UTCEG score recompute
  65. 2026-08-17 14:02 UTCVendor advisory
  66. 2026-08-17 14:02 UTCGHSA enrichment
  67. 2026-08-17 13:47 UTCEPSS rescore
  68. 2026-08-17 01:30 UTCEG score recompute
  69. 2026-08-17 01:30 UTCVendor advisory
  70. 2026-08-17 01:30 UTCGHSA enrichment
  71. 2026-08-16 14:56 UTCEPSS rescore
  72. 2026-08-16 12:57 UTCEG score recompute
  73. 2026-08-16 12:57 UTCVendor advisory
  74. 2026-08-16 12:57 UTCGHSA enrichment
  75. 2026-08-16 02:14 UTCEPSS rescore

Frequently asked(5)

What is CVE-2026-52991?
CVE-2026-52991 is a high vulnerability published on June 24, 2026. In the Linux kernel, the following vulnerability has been resolved: sched/psi: fix race between file release and pressure write A potential race condition exists between pressure write and cgroup file release regarding the priv member of struct kernfsopenfile, which triggers the uaf reported in…
When was CVE-2026-52991 disclosed?
CVE-2026-52991 was first published on June 24, 2026, with the most recent update on August 20, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-52991 actively exploited?
CVE-2026-52991 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.1% probability of exploitation in the next 30 days (1st percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2026-52991?
CVE-2026-52991 has a CVSS base score of 7.8 (a secondary CVSS source that NVD displays; NVD's own analysis pending).
How do I remediate CVE-2026-52991?
A fix for CVE-2026-52991 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2026-52991 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-52991

Explore →

Is Your Infrastructure Affected by CVE-2026-52991?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.