Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-54019

HIGH 7.8EPSS 8%

sched/psi: use kernfs polling functions for PSI trigger polling

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < 92cc0153324b6ae8577a39f5bf2cd83c9a34ea6a; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < d124ab17024cc85a1079b7810a018a497ebc13da; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < aff037078ecaecf34a7c2afab1341815f90fba5e
  • Anyone running Linux 5.2

Vulnerability facts

Affected
Linux >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < 92cc0153324b6ae8577a39f5bf2cd83c9a34ea6a; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < d124ab17024cc85a1079b7810a018a497ebc13da; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < aff037078ecaecf34a7c2afab1341815f90fba5e; Linux 5.2
Fixed in
Linux 92cc0153324b6ae8577a39f5bf2cd83c9a34ea6a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: sched/psi: use kernfs polling functions for PSI trigger polling Destroying psi trigger in cgroup_file_release causes UAF issues when a cgroup is removed from under a polling process. This is happening because cgroup removal causes a call to cgroup_file_release while the actual file is still alive. Destroying the trigger at this point would also destroy its waitqueue head and if there is still a polling process on that file accessing the waitqueue, it will step on the freed pointer: do_select vfs_poll do_rmdir cgroup_rmdir kernfs_drain_open_files cgroup_file_release cgroup_pressure_release psi_trigger_destroy wake_up_pollfree(&t->event_wait) // vfs_poll is unblocked synchronize_rcu kfree(t) poll_freewait -> UAF access to the trigger's waitqueue head Patch [1] fixed this issue for epoll() case using wake_up_pollfree(), however the same issue exists for synchronous poll() case. The root cause of this issue is that the lifecycles of the psi trigger's waitqueue and of the file associated with the trigger are different. Fix this by using kernfs_generic_poll function when polling on cgroup-specific psi triggers. It internally uses kernfs_open_node->poll waitqueue head with its lifecycle tied to the file's lifecycle. This also renders the fix in [1] obsolete, so revert it. [1] commit c2dbe32d5db5 ("sched/psi: Fix use-after-free in ep_remove_wait_queue()")

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < 92cc0153324b6ae8577a39f5bf2cd83c9a34ea6a; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < d124ab17024cc85a1079b7810a018a497ebc13da; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < aff037078ecaecf34a7c2afab1341815f90fba5e—cvelist
Linux5.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2023-54019. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54019.md
Affected: Linux >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < 92cc0153324b6ae8577a39f5bf2cd83c9a34ea6a; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < d124ab17024cc85a1079b7810a018a497ebc13da; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < aff037078ecaecf34a7c2afab1341815f90fba5e; Linux 5.2
Fixed in: Linux 92cc0153324b6ae8577a39f5bf2cd83c9a34ea6a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2023-54019 being exploited?

There is no confirmed exploitation: CVE-2023-54019 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-54019?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2023-54019?

Linux >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < 92cc0153324b6ae8577a39f5bf2cd83c9a34ea6a; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < d124ab17024cc85a1079b7810a018a497ebc13da; >= 0e94682b73bfa6c44c98af7a26771c9c08c055d5, < aff037078ecaecf34a7c2afab1341815f90fba5e; Linux 5.2.

Is there a fix for CVE-2023-54019?

Yes. Fixed in Linux 92cc0153324b6ae8577a39f5bf2cd83c9a34ea6a. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2023-54019?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors