{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47255","id":"CVE-2021-47255","title":"kvm: LAPIC: Restore guard to prevent illegal APIC register access","description":"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: LAPI","descriptionLong":"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.","published":"2024-05-21T14:19:50.125Z","updated":"2026-06-17T04:17:01.567Z","reserved":"2024-04-10T18:59:19.539Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"01402cf81051f796dac7c60ca11d6147153ca46a","lessThan":"bf99ea52970caeb4583bdba1192c1f9b53b12c84","status":"affected","versionType":"git"},{"version":"01402cf81051f796dac7c60ca11d6147153ca46a","lessThan":"018685461a5b9a9a70e664ac77aef0d7415a3fd5","status":"affected","versionType":"git"},{"version":"01402cf81051f796dac7c60ca11d6147153ca46a","lessThan":"a2aff09807fbe4018c269d3773a629949058b210","status":"affected","versionType":"git"},{"version":"01402cf81051f796dac7c60ca11d6147153ca46a","lessThan":"218bf772bddd221489c38dde6ef8e917131161f6","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","lessThan":"5.3","status":"unaffected","versionType":"semver"},{"version":"5.4.128","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.46","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.12.13","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/bf99ea52970caeb4583bdba1192c1f9b53b12c84","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/018685461a5b9a9a70e664ac77aef0d7415a3fd5","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/a2aff09807fbe4018c269d3773a629949058b210","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/218bf772bddd221489c38dde6ef8e917131161f6","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00244,"epssPercentile":0.15796,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47255","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47255","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47255","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47255","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}