arch/x86/kvm/mmu/paging_tmpl.h in the Linux kernel before 5.12.11 incorrectly computes the access permissions of a shadow page, leading to a missing guest protection page fault.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38198.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/b1bd5cba3306691c771d558e94baa73e8b0b96b7",
"digest": {
"line_hashes": [
"24571446574462675385798490894574876533",
"320637048118602930922124729679077266384",
"289644198205871610739374835816213615243",
"288473725091905185298306646572461982530",
"200908126023506238936521579511336141062",
"151101870078206864164613742565447229801",
"14864407750888348331392561338356379976",
"30777551896593273705649328989653167162",
"203754194630320939816087602227738179188",
"76049307034135463693623479073714035942",
"234673739238022158677330676768635696141",
"270445118745788455452806169529851166255",
"216125573717572987465230927755896848002",
"63652592611841709652611698860431781029",
"198313780284068827932507114034944616189",
"50916060900546004300369312670620409110",
"217146089046294664638143628976075926452",
"72498585759687674615416409228396286768",
"295527444243055447626172463380580076679",
"144069040637614131905103817654885077182",
"124487131956881756143236211535966780627",
"5615087029806163925116751732952468589",
"185166774875315499618042389011910983475",
"330139448453376988203228327028254680948",
"312505451610857001589271769113724931603"
],
"threshold": 0.9
},
"id": "CVE-2021-38198-2ef94872",
"deprecated": false,
"target": {
"file": "arch/x86/kvm/mmu/paging_tmpl.h"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/b1bd5cba3306691c771d558e94baa73e8b0b96b7",
"digest": {
"function_hash": "56959484834063123782753078563225732062",
"length": 4186.0
},
"id": "CVE-2021-38198-74889b78",
"deprecated": false,
"target": {
"file": "arch/x86/kvm/mmu/paging_tmpl.h",
"function": "(walk_addr_generic)"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/b1bd5cba3306691c771d558e94baa73e8b0b96b7",
"digest": {
"function_hash": "164221521060144321737839587301673052772",
"length": 2168.0
},
"id": "CVE-2021-38198-d1ff3a2e",
"deprecated": false,
"target": {
"file": "arch/x86/kvm/mmu/paging_tmpl.h",
"function": "(fetch)"
}
}
]