The loadsegmentdescriptor implementation in arch/x86/kvm/emulate.c in the Linux kernel before 4.9.5 improperly emulates a "MOV SS, NULL selector" instruction, which allows guest OS users to cause a denial of service (guest OS crash) or gain guest OS privileges via a crafted application.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-2583.json"
[
{
"id": "CVE-2017-2583-10cab1e5",
"signature_type": "Function",
"digest": {
"function_hash": "94866299841430680707023291892983701595",
"length": 3075.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@33ab91103b3415e12457e3104f0e4517ce12d0f3",
"target": {
"function": "__load_segment_descriptor",
"file": "arch/x86/kvm/emulate.c"
},
"deprecated": false
},
{
"id": "CVE-2017-2583-2ba2b057",
"signature_type": "Function",
"digest": {
"function_hash": "314424991300234217047541664023895909312",
"length": 192.0
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@33ab91103b3415e12457e3104f0e4517ce12d0f3",
"target": {
"function": "load_segment_descriptor",
"file": "arch/x86/kvm/emulate.c"
},
"deprecated": false
},
{
"id": "CVE-2017-2583-65e99705",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"125132021400895548606935495440076336805",
"177142057928100314986942665266202005074",
"217827760427700215431737080833956037035",
"37336379305481919527596680672127288911",
"296859610055638216136589983962580670662",
"212376378234324472553197517278904050926",
"29981517681328282399859993537855773047",
"142564823187114242636759105732797037538",
"5218783407915829383701853647681718976",
"284837646743392426158162007036683611240",
"135834303009032317827516278675623217914",
"66428347967801517137812568416021083686",
"29173059394580634390479153542930996031",
"70591823927243847372928947791062932979",
"297030273696979699656234654520342061178",
"327651756515494176438992801498841794911",
"292741854900972871958035851745090075131",
"307012899818108379474229977955234018749",
"289513084344284259061167356913316538805",
"156515137752195964491197900736051743111"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@33ab91103b3415e12457e3104f0e4517ce12d0f3",
"target": {
"file": "arch/x86/kvm/emulate.c"
},
"deprecated": false
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-2583.json"
[
{
"id": "CVE-2017-2583-04cd67b7",
"signature_type": "Function",
"digest": {
"function_hash": "94866299841430680707023291892983701595",
"length": 3075.0
},
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/33ab91103b3415e12457e3104f0e4517ce12d0f3",
"target": {
"function": "__load_segment_descriptor",
"file": "arch/x86/kvm/emulate.c"
},
"deprecated": false
},
{
"id": "CVE-2017-2583-55184b2f",
"signature_type": "Function",
"digest": {
"function_hash": "314424991300234217047541664023895909312",
"length": 192.0
},
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/33ab91103b3415e12457e3104f0e4517ce12d0f3",
"target": {
"function": "load_segment_descriptor",
"file": "arch/x86/kvm/emulate.c"
},
"deprecated": false
},
{
"id": "CVE-2017-2583-b8992d48",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"125132021400895548606935495440076336805",
"177142057928100314986942665266202005074",
"217827760427700215431737080833956037035",
"37336379305481919527596680672127288911",
"296859610055638216136589983962580670662",
"212376378234324472553197517278904050926",
"29981517681328282399859993537855773047",
"142564823187114242636759105732797037538",
"5218783407915829383701853647681718976",
"284837646743392426158162007036683611240",
"135834303009032317827516278675623217914",
"66428347967801517137812568416021083686",
"29173059394580634390479153542930996031",
"70591823927243847372928947791062932979",
"297030273696979699656234654520342061178",
"327651756515494176438992801498841794911",
"292741854900972871958035851745090075131",
"307012899818108379474229977955234018749",
"289513084344284259061167356913316538805",
"156515137752195964491197900736051743111"
]
},
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/33ab91103b3415e12457e3104f0e4517ce12d0f3",
"target": {
"file": "arch/x86/kvm/emulate.c"
},
"deprecated": false
}
]