CVE-2023-53522
cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex
Mitigation
- Upgrade Linux to 57dcd64c7e036299ef526b400a8d12b8a2352f26 or later.
Who should check
- Anyone running Linux >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 3756171b97c307d9df8b8ded1d883eec30172085; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 34fbb7b45bae20b551dda24337c7761ca13ce69d; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 57dcd64c7e036299ef526b400a8d12b8a2352f26
- Anyone running Linux 6.1
Vulnerability facts
- Affected
- Linux >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 3756171b97c307d9df8b8ded1d883eec30172085; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 34fbb7b45bae20b551dda24337c7761ca13ce69d; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 57dcd64c7e036299ef526b400a8d12b8a2352f26; Linux 6.1
- Fixed in
- Linux 3756171b97c307d9df8b8ded1d883eec30172085, Linux 34fbb7b45bae20b551dda24337c7761ca13ce69d, Linux 57dcd64c7e036299ef526b400a8d12b8a2352f26
- 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, NVD)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.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: cgroup,freezer: hold cpu_hotplug_lock before freezer_mutex syzbot is reporting circular locking dependency between cpu_hotplug_lock and freezer_mutex, for commit f5d39b020809 ("freezer,sched: Rewrite core freezer logic") replaced atomic_inc() in freezer_apply_state() with static_branch_inc() which holds cpu_hotplug_lock. cpu_hotplug_lock => cgroup_threadgroup_rwsem => freezer_mutex cgroup_file_write() { cgroup_procs_write() { __cgroup_procs_write() { cgroup_procs_write_start() { cgroup_attach_lock() { cpus_read_lock() { percpu_down_read(&cpu_hotplug_lock); } percpu_down_write(&cgroup_threadgroup_rwsem); } } cgroup_attach_task() { cgroup_migrate() { cgroup_migrate_execute() { freezer_attach() { mutex_lock(&freezer_mutex); (...snipped...) } } } } (...snipped...) } } } freezer_mutex => cpu_hotplug_lock cgroup_file_write() { freezer_write() { freezer_change_state() { mutex_lock(&freezer_mutex); freezer_apply_state() { static_branch_inc(&freezer_active) { static_key_slow_inc() { cpus_read_lock(); static_key_slow_inc_cpuslocked(); cpus_read_unlock(); } } } mutex_unlock(&freezer_mutex); } } } Swap locking order by moving cpus_read_lock() in freezer_apply_state() to before mutex_lock(&freezer_mutex) in freezer_change_state().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 3756171b97c307d9df8b8ded1d883eec30172085; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 34fbb7b45bae20b551dda24337c7761ca13ce69d; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 57dcd64c7e036299ef526b400a8d12b8a2352f26 | — | cvelist |
| Linux | 6.1 | — | 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-53522. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53522.md Affected: Linux >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 3756171b97c307d9df8b8ded1d883eec30172085; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 34fbb7b45bae20b551dda24337c7761ca13ce69d; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 57dcd64c7e036299ef526b400a8d12b8a2352f26; Linux 6.1 Fixed in: Linux 3756171b97c307d9df8b8ded1d883eec30172085, Linux 34fbb7b45bae20b551dda24337c7761ca13ce69d, Linux 57dcd64c7e036299ef526b400a8d12b8a2352f26 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-53522 being exploited?
There is no confirmed exploitation: CVE-2023-53522 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53522?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53522?
Linux >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 3756171b97c307d9df8b8ded1d883eec30172085; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 34fbb7b45bae20b551dda24337c7761ca13ce69d; >= f5d39b020809146cc28e6e73369bf8065e0310aa, < 57dcd64c7e036299ef526b400a8d12b8a2352f26; Linux 6.1.
Is there a fix for CVE-2023-53522?
Yes. Fixed in Linux 3756171b97c307d9df8b8ded1d883eec30172085, Linux 34fbb7b45bae20b551dda24337c7761ca13ce69d, Linux 57dcd64c7e036299ef526b400a8d12b8a2352f26. Upgrade Linux to 57dcd64c7e036299ef526b400a8d12b8a2352f26 or later.
How do I check if I'm affected by CVE-2023-53522?
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.