Vulnerability · Published May 21, 2024 · Assigned by Linux

CVE-2023-52740powerpc/64s/interrupt: Fix interrupt exit race with security mitigation switch

Medium 4.7

In plain English

A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)4.7Medium
Exploit odds (30 days)0.2%top 92.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux6.1.12-1DEBIAN-CVE-2023-52740
Debian:13linux6.1.12-1DEBIAN-CVE-2023-52740
Debian:14linux6.1.12-1DEBIAN-CVE-2023-52740
Ubuntu:22.04:LTSlinux5.15.0-72.79UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-aws5.15.0-1036.40UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-azure5.15.0-1038.45UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1038.45.1UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-gcp5.15.0-1034.42UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-gke5.15.0-1033.38UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1020.25UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-ibm5.15.0-1030.33UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1030.35UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-kvm5.15.0-1033.38UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-72.79UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1025.25UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-oracle5.15.0-1035.41UBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-raspi5.15.0-1029.31UBUNTU-CVE-2023-52740
Ubuntu:24.04:LTSlinux-raspi-realtimeno fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2023-52740
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2023-52740

Affected products (as reported)

VendorProductVersions
Linux Linux 13799748b957bc5659f97c036224b0f4b42172e2 – before 86f7e423933608d536015a0f2eb9e0338c1227e013799748b957bc5659f97c036224b0f4b42172e2 – before 6f097c24815e67909a1fcc2c605586d02babd67313799748b957bc5659f97c036224b0f4b42172e2 – before 2ea31e2e62bbc4d11c411eeb36f1b02841dbcab1
Linux Linux 5.14

References