KVM: arm64: Make ICC_*SGI*_EL1 undef in the absence of a vGICv3 (Linux Linux)

CVE-2024-46707
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Make ICC_*SGI*_EL1 undef in the absence of a vGICv3 On a system with a GICv3, if a guest hasn't been configured with GICv3 and that the host is not capable of GICv2 emulation, a write to any of the ICC_*SGI*_EL1 registers is trapped to EL2. We therefore try to emulate the SGI access, only to hit a NULL pointer as no private interrupt is allocated (no GIC, remember?). The obvious fix is to give the guest what it deserves, in the shape of a UNDEF exception.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 15818af2f7aa55eff375333cb7689df15d3f24ef ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 96b076e8ee5bc3a1126848c8add0f74bd30dc9d1 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 94d4fbad01b19ec5eab3d6b50aaec4f9db8b2d8d ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 9d7629bec5c3f80bd0e3bf8103c06a2f7046bd92 ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 2073132f6ed3079369e857a8deb33d11bdd983bc ; affected 6211753fdfd05af9e08f54c8d0ba3ee516034878 < 3e6245ebe7ef341639e9a7e402b3ade8ad45a19f
Linux · Linuxaffected 3.11 ; unaffected 0 < 3.11 ; unaffected 5.10.225 ≤ 5.10.* ; unaffected 5.15.166 ≤ 5.15.* ; unaffected 6.1.107 ≤ 6.1.* ; unaffected 6.6.48 ≤ 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