{"id":"CVE-2023-52740","published":"2024-05-21T15:23:03Z","modified":"2026-05-11T19:32:17Z","title":"powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch\n\nThe RFI and STF security mitigation options can flip the\ninterrupt_exit_not_reentrant static branch condition concurrently with\nthe interrupt exit code which tests that branch.\n\nInterrupt exit tests this condition to set MSR[EE|RI] for exit, then\nagain in the case a soft-masked interrupt is found pending, to recover\nthe MSR so the interrupt can be replayed before attempting to exit\nagain. If the condition changes between these two tests, the MSR and irq\nsoft-mask state will become corrupted, leading to warnings and possible\ncrashes. For example, if the branch is initially true then false,\nMSR[EE] will be 0 but PACA_IRQ_HARD_DIS clear and EE may not get\nenabled, leading to warnings in irq_64.c.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00217,"percentile":0.07024,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/86f7e423933608d536015a0f2eb9e0338c1227e0","tags":[]},{"url":"https://git.kernel.org/stable/c/6f097c24815e67909a1fcc2c605586d02babd673","tags":[]},{"url":"https://git.kernel.org/stable/c/2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.4}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 13799748b957bc5659f97c036224b0f4b42172e2, < 86f7e423933608d536015a0f2eb9e0338c1227e0",">= 13799748b957bc5659f97c036224b0f4b42172e2, < 6f097c24815e67909a1fcc2c605586d02babd673",">= 13799748b957bc5659f97c036224b0f4b42172e2, < 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1"]},{"vendor":"Linux","product":"Linux","versions":["5.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-21T18:15:22.000735Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59459","exploited":false,"provenance":"source"}}