kernel/bpf/verifier.c in the Linux kernel through 4.14.8 ignores unreachable code, even though it would still be processed by JIT compilers. This behavior, also considered an improper branch-pruning logic issue, could possibly be used by local users for denial of service.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"233423661372599754514999994957248947585",
"119092652958191721484088079879929226413",
"28582807897974907427350479997220027005",
"207096617908565363699881400756551613778"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-10ebb985",
"signature_type": "Line",
"target": {
"file": "include/linux/bpf_verifier.h"
},
"signature_version": "v1"
},
{
"digest": {
"length": 2599.0,
"function_hash": "234691456278808831857022374918932832998"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-416e4f17",
"signature_type": "Function",
"target": {
"function": "bpf_check",
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"98173106329630578066850905037886301929",
"179840322313876400866467200289271255369",
"212099477140458564760614180707768082065",
"325783621672030235339435644483984135866",
"204573206374917259670621106769356715402",
"6208715385039560367532524270566776130",
"66554415888320730970239375934553323948",
"87789698180428343684597847873022363506",
"325994157212231551771363184245858406663",
"145940930385298863721283125654172222805",
"329502443788527440189826216624724605617",
"176562319585654861536149831318295018176",
"307446860095694746745475296641249323064",
"134833323829498829631081728363572243285",
"145784633272025512853317087475892293350",
"76358545456416782705033948362645612214",
"79511372775199420484380584320406819255",
"165098583564260445201356443367386206123",
"319866718720270151679860449967885628172",
"143819563854571252967863401345859713623",
"61870218376300572229491581072982234799",
"10340903763396286957842788915187087710"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-68cc412e",
"signature_type": "Line",
"target": {
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 5334.0,
"function_hash": "266534433338579281195712017958863390104"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-6f92d8c4",
"signature_type": "Function",
"target": {
"function": "do_check",
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 455.0,
"function_hash": "259496572901808057553252039877115912908"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-e65cd806",
"signature_type": "Function",
"target": {
"function": "adjust_insn_aux_data",
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17862.json"
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"98173106329630578066850905037886301929",
"179840322313876400866467200289271255369",
"212099477140458564760614180707768082065",
"325783621672030235339435644483984135866",
"204573206374917259670621106769356715402",
"6208715385039560367532524270566776130",
"66554415888320730970239375934553323948",
"87789698180428343684597847873022363506",
"325994157212231551771363184245858406663",
"145940930385298863721283125654172222805",
"329502443788527440189826216624724605617",
"176562319585654861536149831318295018176",
"307446860095694746745475296641249323064",
"134833323829498829631081728363572243285",
"145784633272025512853317087475892293350",
"76358545456416782705033948362645612214",
"79511372775199420484380584320406819255",
"165098583564260445201356443367386206123",
"319866718720270151679860449967885628172",
"143819563854571252967863401345859713623",
"61870218376300572229491581072982234799",
"10340903763396286957842788915187087710"
]
},
"source": "https://github.com/torvalds/linux/commit/c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-06662d5c",
"signature_type": "Line",
"target": {
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 2599.0,
"function_hash": "234691456278808831857022374918932832998"
},
"source": "https://github.com/torvalds/linux/commit/c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-3ff2716b",
"signature_type": "Function",
"target": {
"function": "bpf_check",
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"233423661372599754514999994957248947585",
"119092652958191721484088079879929226413",
"28582807897974907427350479997220027005",
"207096617908565363699881400756551613778"
]
},
"source": "https://github.com/torvalds/linux/commit/c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-6c1c005d",
"signature_type": "Line",
"target": {
"file": "include/linux/bpf_verifier.h"
},
"signature_version": "v1"
},
{
"digest": {
"length": 455.0,
"function_hash": "259496572901808057553252039877115912908"
},
"source": "https://github.com/torvalds/linux/commit/c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-97137e78",
"signature_type": "Function",
"target": {
"function": "adjust_insn_aux_data",
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 5334.0,
"function_hash": "266534433338579281195712017958863390104"
},
"source": "https://github.com/torvalds/linux/commit/c131187db2d3fa2f8bf32fdf4e9a4ef805168467",
"deprecated": false,
"id": "CVE-2017-17862-d33acec9",
"signature_type": "Function",
"target": {
"function": "do_check",
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17862.json"