CVE-2021-47255

In the Linux kernel, the following vulnerability has been resolved: kvm: LAPIC: Restore guard to prevent illegal APIC register access Per the SDM, "any access that touches bytes 4 through 15 of an APIC register may cause undefined behavior and must not be executed." Worse, such an access in kvm_lapic_reg_read can result in a leak of kernel stack contents. Prior to commit 01402cf81051 ("kvm: LAPIC: write down valid APIC registers"), such an access was explicitly disallowed. Restore the guard that was removed in that commit.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc6:*:*:*:*:*:*

History

30 Apr 2025, 15:11

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CWE NVD-CWE-Other
CPE cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
References () https://git.kernel.org/stable/c/018685461a5b9a9a70e664ac77aef0d7415a3fd5 - () https://git.kernel.org/stable/c/018685461a5b9a9a70e664ac77aef0d7415a3fd5 - Patch
References () https://git.kernel.org/stable/c/218bf772bddd221489c38dde6ef8e917131161f6 - () https://git.kernel.org/stable/c/218bf772bddd221489c38dde6ef8e917131161f6 - Patch
References () https://git.kernel.org/stable/c/a2aff09807fbe4018c269d3773a629949058b210 - () https://git.kernel.org/stable/c/a2aff09807fbe4018c269d3773a629949058b210 - Patch
References () https://git.kernel.org/stable/c/bf99ea52970caeb4583bdba1192c1f9b53b12c84 - () https://git.kernel.org/stable/c/bf99ea52970caeb4583bdba1192c1f9b53b12c84 - Patch

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/018685461a5b9a9a70e664ac77aef0d7415a3fd5 - () https://git.kernel.org/stable/c/018685461a5b9a9a70e664ac77aef0d7415a3fd5 -
References () https://git.kernel.org/stable/c/218bf772bddd221489c38dde6ef8e917131161f6 - () https://git.kernel.org/stable/c/218bf772bddd221489c38dde6ef8e917131161f6 -
References () https://git.kernel.org/stable/c/a2aff09807fbe4018c269d3773a629949058b210 - () https://git.kernel.org/stable/c/a2aff09807fbe4018c269d3773a629949058b210 -
References () https://git.kernel.org/stable/c/bf99ea52970caeb4583bdba1192c1f9b53b12c84 - () https://git.kernel.org/stable/c/bf99ea52970caeb4583bdba1192c1f9b53b12c84 -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: kvm: LAPIC: Restaurar protección para evitar el acceso ilegal al registro APIC. Según el SDM, "cualquier acceso que toque los bytes 4 al 15 de un registro APIC puede causar un comportamiento indefinido y no debe ejecutarse ". Peor aún, dicho acceso en kvm_lapic_reg_read puede resultar en una fuga del contenido de la pila del kernel. Antes de confirmar 01402cf81051 ("kvm: LAPIC: anotar registros APIC válidos"), dicho acceso se prohibía explícitamente. Restaura la guardia que se eliminó en esa confirmación.

21 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-21 15:15

Updated : 2025-04-30 15:11


NVD link : CVE-2021-47255

Mitre link : CVE-2021-47255

CVE.ORG link : CVE-2021-47255


JSON object : View

Products Affected

linux

  • linux_kernel