CVE-2023-52740
powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch
Mitigation
- Upgrade Linux to 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1 or later.
Who should check
- Anyone running Linux >= 13799748b957bc5659f97c036224b0f4b42172e2, < 86f7e423933608d536015a0f2eb9e0338c1227e0; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 6f097c24815e67909a1fcc2c605586d02babd673; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1
- Anyone running Linux 5.14
Vulnerability facts
- Affected
- Linux >= 13799748b957bc5659f97c036224b0f4b42172e2, < 86f7e423933608d536015a0f2eb9e0338c1227e0; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 6f097c24815e67909a1fcc2c605586d02babd673; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1; Linux 5.14
- Fixed in
- Linux 86f7e423933608d536015a0f2eb9e0338c1227e0, Linux 6f097c24815e67909a1fcc2c605586d02babd673, Linux 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch The RFI and STF security mitigation options can flip the interrupt_exit_not_reentrant static branch condition concurrently with the interrupt exit code which tests that branch. Interrupt exit tests this condition to set MSR[EE|RI] for exit, then again in the case a soft-masked interrupt is found pending, to recover the MSR so the interrupt can be replayed before attempting to exit again. If the condition changes between these two tests, the MSR and irq soft-mask state will become corrupted, leading to warnings and possible crashes. For example, if the branch is initially true then false, MSR[EE] will be 0 but PACA_IRQ_HARD_DIS clear and EE may not get enabled, leading to warnings in irq_64.c.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 13799748b957bc5659f97c036224b0f4b42172e2, < 86f7e423933608d536015a0f2eb9e0338c1227e0; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 6f097c24815e67909a1fcc2c605586d02babd673; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1 | — | cvelist |
| Linux | 5.14 | — | 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-52740. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52740.md Affected: Linux >= 13799748b957bc5659f97c036224b0f4b42172e2, < 86f7e423933608d536015a0f2eb9e0338c1227e0; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 6f097c24815e67909a1fcc2c605586d02babd673; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1; Linux 5.14 Fixed in: Linux 86f7e423933608d536015a0f2eb9e0338c1227e0, Linux 6f097c24815e67909a1fcc2c605586d02babd673, Linux 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1 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-52740 being exploited?
There is no confirmed exploitation: CVE-2023-52740 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-52740?
Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-52740?
Linux >= 13799748b957bc5659f97c036224b0f4b42172e2, < 86f7e423933608d536015a0f2eb9e0338c1227e0; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 6f097c24815e67909a1fcc2c605586d02babd673; >= 13799748b957bc5659f97c036224b0f4b42172e2, < 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1; Linux 5.14.
Is there a fix for CVE-2023-52740?
Yes. Fixed in Linux 86f7e423933608d536015a0f2eb9e0338c1227e0, Linux 6f097c24815e67909a1fcc2c605586d02babd673, Linux 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1. Upgrade Linux to 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1 or later.
How do I check if I'm affected by CVE-2023-52740?
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.