An issue was discovered in the Linux kernel through 5.9.1, as used with Xen through 4.14.x. drivers/xen/events/events_base.c allows event-channel removal during the event-handling loop (a race condition). This can cause a use-after-free or NULL pointer dereference, as demonstrated by a dom0 crash via events for an in-reconfiguration paravirtualized device, aka CID-073d0552ead5.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-27675.json"
[
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@073d0552ead5bfc7a3a9c01de590e924f11b5dd2",
"digest": {
"function_hash": "216532876147067820592340458351969136426",
"length": 159.0
},
"id": "CVE-2020-27675-51eb98d2",
"deprecated": false,
"target": {
"file": "drivers/xen/events/events_base.c",
"function": "evtchn_from_irq"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@073d0552ead5bfc7a3a9c01de590e924f11b5dd2",
"digest": {
"function_hash": "40325121321748507541105667544508079765",
"length": 247.0
},
"id": "CVE-2020-27675-957886de",
"deprecated": false,
"target": {
"file": "drivers/xen/events/events_base.c",
"function": "__xen_evtchn_do_upcall"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@073d0552ead5bfc7a3a9c01de590e924f11b5dd2",
"digest": {
"function_hash": "131230616790345648164805055410153006786",
"length": 287.0
},
"id": "CVE-2020-27675-abd9cc51",
"deprecated": false,
"target": {
"file": "drivers/xen/events/events_base.c",
"function": "xen_free_irq"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@073d0552ead5bfc7a3a9c01de590e924f11b5dd2",
"digest": {
"line_hashes": [
"157141764344406479959823207155073896232",
"181840750322079504785310980716776923796",
"150824932329716184469215866751201639761",
"220693424495937387494978450663813869060",
"200246970862219197234607919292126142265",
"281745969149686355975097803094506252517",
"7237800601122752355392874088590910123",
"282182310811005424039555875952125929018",
"315731036017015631160765371903223258921",
"241371117772495737121926820466384014579",
"265311642886813873548548296202590339794",
"89395222324399553535971376526973820777",
"118937912782922634365791545908804361008",
"115238789231215237615067173579164291729",
"257418928583844612982574964413937359479",
"81314054237907785087056849204027183128",
"257105345528664656782151766532447248513",
"10181022265917326255556474510336837380",
"141294758200107714456893487640626476199",
"229771634673278793194577214078180265649",
"17605506093520737457548529750953256314",
"295820175509862239440057253571154321705",
"114289615360899721095303474349757254433",
"281391787184669848686279803188830033473",
"275745077325732380279683063242406846079",
"285090116899507989711457132591354453321",
"283510507622375425005685128265703717362",
"307312927299464381837913058647099076742",
"333180571757323749515094873263505115108",
"88761200944206282523035566577908118537",
"20867930186843458771460891234816758062",
"242893587873642595787567594428300294251",
"140868172851818223917950175216508657471",
"245419720300743630521174685749321885494",
"252981860004241910840891483679359060273",
"309050492422598566152055036104123465576",
"194182926711351345300992593774100972050",
"94874748988650142338951937383861553128",
"60497593650369919221960297806764116977",
"175797733290070990028886417395292893359",
"110691519388211208549117830615471971999"
],
"threshold": 0.9
},
"id": "CVE-2020-27675-afcf4dc2",
"deprecated": false,
"target": {
"file": "drivers/xen/events/events_base.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@073d0552ead5bfc7a3a9c01de590e924f11b5dd2",
"digest": {
"function_hash": "215632065651771813807565671902338366088",
"length": 210.0
},
"id": "CVE-2020-27675-c34fccf2",
"deprecated": false,
"target": {
"file": "drivers/xen/events/events_base.c",
"function": "get_evtchn_to_irq"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@073d0552ead5bfc7a3a9c01de590e924f11b5dd2",
"digest": {
"function_hash": "61391393439881231080732045948152956362",
"length": 159.0
},
"id": "CVE-2020-27675-d486dc80",
"deprecated": false,
"target": {
"file": "drivers/xen/events/events_base.c",
"function": "clear_evtchn_to_irq_row"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@073d0552ead5bfc7a3a9c01de590e924f11b5dd2",
"digest": {
"function_hash": "279607633500828266377497471206292202609",
"length": 466.0
},
"id": "CVE-2020-27675-fd3e9e67",
"deprecated": false,
"target": {
"file": "drivers/xen/events/events_base.c",
"function": "set_evtchn_to_irq"
}
}
]