{"id":"CVE-2021-47255","aliases":["CVE-2021-47255"],"related":[],"kind":"vulnerability","state":"published","title":"kvm: LAPIC: Restore guard to prevent illegal APIC register access","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nkvm: LAPIC: Restore guard to prevent illegal APIC register access\n\nPer the SDM, \"any access that touches bytes 4 through 15 of an APIC\nregister may cause undefined behavior and must not be executed.\"\nWorse, such an access in kvm_lapic_reg_read can result in a leak of\nkernel stack contents. Prior to commit 01402cf81051 (\"kvm: LAPIC:\nwrite down valid APIC registers\"), such an access was explicitly\ndisallowed. Restore the guard that was removed in that commit.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nkvm: LAPIC: Restore guard to prevent illegal APIC register access\n\nPer the SDM, \"any access that touches bytes 4 through 15 of an APIC\nregister may cause undefined behavior and must not be executed.\"\nWorse, such an access in kvm_lapic_reg_read can result in a leak of\nkernel stack contents. Prior to commit 01402cf81051 (\"kvm: LAPIC:\nwrite down valid APIC registers\"), such an access was explicitly\ndisallowed. Restore the guard that was removed in that commit.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-05-21T14:19:50.125Z","modified":"2026-06-17T04:17:01.567Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"01402cf81051f796dac7c60ca11d6147153ca46a","fixed":"bf99ea52970caeb4583bdba1192c1f9b53b12c84","status":"affected"},{"type":"git","introduced":"01402cf81051f796dac7c60ca11d6147153ca46a","fixed":"018685461a5b9a9a70e664ac77aef0d7415a3fd5","status":"affected"},{"type":"git","introduced":"01402cf81051f796dac7c60ca11d6147153ca46a","fixed":"a2aff09807fbe4018c269d3773a629949058b210","status":"affected"},{"type":"git","introduced":"01402cf81051f796dac7c60ca11d6147153ca46a","fixed":"218bf772bddd221489c38dde6ef8e917131161f6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.3","status":"unaffected"},{"type":"semver","introduced":"5.4.128","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.46","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.13","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.3","fixed":"5.4.128"},{"status":"affected","introduced":"5.5","fixed":"5.10.46"},{"status":"affected","introduced":"5.11","fixed":"5.12.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/bf99ea52970caeb4583bdba1192c1f9b53b12c84","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/018685461a5b9a9a70e664ac77aef0d7415a3fd5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2aff09807fbe4018c269d3773a629949058b210","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/218bf772bddd221489c38dde6ef8e917131161f6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-21T18:50:43.929Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47255","url":"https://www.cve.org/CVERecord?id=CVE-2021-47255","licence":"CVE Terms of Use","modified":"2026-05-11T13:50:57.669Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47255","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47255","licence":"Public domain","modified":"2026-06-17T04:17:01.567Z"}],"updatedAt":"2026-11-25T22:58:08.760Z","epss":{"score":0.00244,"percentile":0.16713,"date":"2026-12-01T12:00:22.000Z"}}