The docheck function in kernel/bpf/verifier.c in the Linux kernel before 4.11.1 does not make the allowptrleaks value available for restricting the output of the printbpf_insn function, which allows local users to obtain sensitive address information via crafted bpf system calls.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9150.json"
[
{
"id": "CVE-2017-9150-4be6fcfd",
"target": {
"function": "do_check",
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0d0e57697f162da4aa218b5feafe614fb666db07",
"digest": {
"function_hash": "65294188046417457485102000660310238341",
"length": 4856.0
},
"signature_type": "Function"
},
{
"id": "CVE-2017-9150-b4a62e00",
"target": {
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0d0e57697f162da4aa218b5feafe614fb666db07",
"digest": {
"threshold": 0.9,
"line_hashes": [
"147219334718214133307446147975753314322",
"19805001616883894213327348489654361045",
"336167897474630782793025066577394456305",
"339085605186279047301275938462363592569",
"332997140053061491103161828566823212290",
"60384338077318197230794066757734551470",
"48091747650493896522876862949489630283",
"198566350113281324587148014354543369641",
"103618504674714058528095859529270785960",
"256082721951816539370330329723940479075",
"107186899526326916225865089586388890576",
"261812339534745928937582921182372926891",
"126819229357224208467730966966407718370",
"216690239591709610561572246818924415439"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2017-9150-eafe889c",
"target": {
"function": "print_bpf_insn",
"file": "kernel/bpf/verifier.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0d0e57697f162da4aa218b5feafe614fb666db07",
"digest": {
"function_hash": "178251239683955322271103410709183077925",
"length": 3295.0
},
"signature_type": "Function"
}
]