An issue was discovered in include/asm-generic/tlb.h in the Linux kernel before 5.19. Because of a race condition (unmapmappingrange versus munmap), a device driver can free a page while it still has stale TLB entries. This only occurs in situations with VM_PFNMAP VMAs.
[
{
"digest": {
"length": 164.0,
"function_hash": "252176788557442410039718120554530595538"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@b67fbebd4cf980aecbcc750e1462128bffe8ae15",
"deprecated": false,
"id": "CVE-2022-39188-01c0ecc0",
"signature_type": "Function",
"target": {
"function": "tlb_end_vma",
"file": "include/asm-generic/tlb.h"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"337964191983954581659476198993133728171",
"48385133620576590306774056234763212300",
"201601477119118192036209952835826794345",
"252639764047989336612568530747452235063",
"239092784092550874203638086197017050493",
"211167906325147320384029145203420105413",
"163773536956196462439609554344574678681",
"196994545445886716343690929908276224230",
"11741774624234729250375778807372871949",
"70179341881369410073074768798355319306",
"241524436106949523993921027579087308030",
"107516745819397820151574093044607745306",
"93750174361756015012569202090655598927",
"157007205749101751122794193510994797072",
"15124300832460715533509856506378885779",
"223258967744051472778408393003253574241",
"158560596096889314694171239748528686910",
"127250098252626848051971594557661145123",
"265168498474880892470102997229736240491",
"255202907981622254258008811852025624552",
"60461970041248982514995091405795817869",
"19604952145354609558145655680738278176",
"212170797853488947256913762644388906628",
"81679291383253485214974016653515967415",
"217981161958646933517098898234733514058",
"117032231324044339986499649142799722955",
"252384462257921276154312934500544646735"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@b67fbebd4cf980aecbcc750e1462128bffe8ae15",
"deprecated": false,
"id": "CVE-2022-39188-2492c9c4",
"signature_type": "Line",
"target": {
"file": "include/asm-generic/tlb.h"
},
"signature_version": "v1"
},
{
"digest": {
"length": 165.0,
"function_hash": "169297676189776906486091772869807927387"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@b67fbebd4cf980aecbcc750e1462128bffe8ae15",
"deprecated": false,
"id": "CVE-2022-39188-8fd6902c",
"signature_type": "Function",
"target": {
"function": "tlb_update_vma_flags",
"file": "include/asm-generic/tlb.h"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39188.json"