CVE-2024-50192: irqchip/gic-v4: Don't allow a VMOVP on a dying VPE
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v4: Don't allow a VMOVP on a dying VPE
Kunkun Jiang reported that there is a small window of opportunity for userspace to force a change of affinity for a VPE while the VPE has already been unmapped, but the corresponding doorbell interrupt still visible in /proc/irq/.
Plug the race by checking the value of vmappcount, which tracks whether the VPE is mapped ot not, and returning an error in this case.
This involves making vmappcount common to both GICv4.1 and its v4.0 ancestor.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.15.173.1-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.64.2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50192?
CVE-2024-50192 has been classified with a severity level that indicates a potential security risk related to VMOVP operations on a dying VPE.
How do I fix CVE-2024-50192?
To resolve CVE-2024-50192, update your Linux kernel to a version that includes the patch addressing this vulnerability.
Which versions of the Linux kernel are affected by CVE-2024-50192?
CVE-2024-50192 affects specific versions of the Linux kernel ranging from 5.6 to 6.12-rc3.
What potential impact does CVE-2024-50192 have on system security?
CVE-2024-50192 could allow userspace to improperly change the affinity for a VPE, leading to possible system instability or security breaches.
Who reported the CVE-2024-50192 vulnerability?
CVE-2024-50192 was reported by Kunkun Jiang.