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
Trending — 4 sources updated this week
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%CVSS: 7.8Exploit: None knownExposed: 0

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.8(medium)
EG Risk
40(Track)
EG Risk 40/100SSVC: Track

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%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
2%
KEV
Not listed

Published

June 24, 2026

Last Modified

August 20, 2026

Advisory Details (3)

Auto-updated Jun 28, 2026
No patch confirmed yet.
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(13)

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 rangeFixed inDependents
linux5.10.103-1 ... 7.2~rc5-1~exp1 (496 versions)
Debian:12(1)
PackageVulnerable rangeFixed inDependents
linux6.1.106-1 ... 7.2~rc7-1~exp1 (350 versions)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
linux6.12.100-1 ... 7.2~rc7-1~exp1 (174 versions)
Debian:14(1)
PackageVulnerable rangeFixed inDependents
linux6.12.100-1 ... 7.0.9-1~bpo13+1 (140 versions)7.0.10-1

Weakness Classification(2)

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

Additional Vendor Advisories

(9)

Data Freshness Timeline

(refreshed 15× in last 7d / 59× 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 260 total refreshes for this CVE.

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

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 in the National Vulnerability Database 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% probability of exploitation in the next 30 days, which ranks it in the top 98.2% of all scored CVEs.
What is the CVSS score of CVE-2026-52991?
CVE-2026-52991 has a CVSS v3 base score of 7.8 (NVD).
How do I remediate CVE-2026-52991?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-52991, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

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.