irqchip/gic-v4: Don't allow a VMOVP on a dying VPE (Linux Linux)

CVE-2024-50192
MEDIUM 4.7

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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 vmapp_count, which tracks whether the VPE is mapped ot not, and returning an error in this case. This involves making vmapp_count common to both GICv4.1 and its v4.0 ancestor.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 64edfaa9a2342a3ce34f8cb982c2c2df84db4de3 < b7d7b7fc876f836f40bf48a87e07ea18756ba196 ; affected 64edfaa9a2342a3ce34f8cb982c2c2df84db4de3 < 755b9532c885b8761fb135fedcd705e21e61cccb ; affected 64edfaa9a2342a3ce34f8cb982c2c2df84db4de3 < 64b12b061c5488e2d69e67c4eaae5da64fd30bfe ; affected 64edfaa9a2342a3ce34f8cb982c2c2df84db4de3 < 01282ab5182f85e42234df2ff42f0ce790f465ff ; affected 64edfaa9a2342a3ce34f8cb982c2c2df84db4de3 < d960505a869e66184fff97fb334980a5b797c7c6 ; affected 64edfaa9a2342a3ce34f8cb982c2c2df84db4de3 < 1442ee0011983f0c5c4b92380e6853afb513841a
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.10.228 ≤ 5.10.* ; unaffected 5.15.169 ≤ 5.15.* ; unaffected 6.1.114 ≤ 6.1.* ; unaffected 6.6.58 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD