Lucene search

K
cvelistLinuxCVELIST:CVE-2024-46707
HistorySep 13, 2024 - 6:27 a.m.

CVE-2024-46707 KVM: arm64: Make ICC_*SGI*_EL1 undef in the absence of a vGICv3

2024-09-1306:27:33
Linux
www.cve.org
5
linux kernel
kvm
arm64
icc_*sgi*_el1
vgicv3
gicv2 emulation
undef exception

EPSS

0

Percentile

10.9%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/arm64/kvm/sys_regs.c",
      "arch/arm64/kvm/vgic/vgic.h"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "15818af2f7aa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "96b076e8ee5b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "94d4fbad01b1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "9d7629bec5c3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "2073132f6ed3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "3e6245ebe7ef",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/arm64/kvm/sys_regs.c",
      "arch/arm64/kvm/vgic/vgic.h"
    ],
    "versions": [
      {
        "version": "5.10.225",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.166",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.107",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.48",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.7",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

10.9%

Related for CVELIST:CVE-2024-46707