The pingunhash function in net/ipv4/ping.c in the Linux kernel through 4.10.8 is too late in obtaining a certain lock and consequently cannot ensure that disconnect function calls are safe, which allows local users to cause a denial of service (panic) by leveraging access to the protocol value of IPPROTOICMP in a socket system call.
[
{
"signature_version": "v1",
"target": {
"file": "net/ipv4/ping.c"
},
"source": "https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893",
"signature_type": "Line",
"id": "CVE-2017-2671-52862f92",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"287809436275866915518981448412353918722",
"83285470307915155179990124368550074319",
"332226626968705212551797833360744911240",
"339342819669400217130061290276019006937",
"247811427289951876532719054643990822285",
"139487696992220105977894327017658781668",
"34097919921227992938367682254390981882",
"246666631012663206553204457309565286739",
"40369524025833259310039365461091418066",
"289480222047766105972378142654297664939",
"330954857552133005315332956244308376766",
"310311550373379119188895066654071402894",
"10632867551034556753269007984341746785",
"296906343925583376961574838570557233816",
"214974375982786897264719177759420918977"
]
}
},
{
"signature_version": "v1",
"target": {
"file": "net/ipv4/ping.c",
"function": "ping_unhash"
},
"source": "https://github.com/torvalds/linux/commit/43a6684519ab0a6c52024b5e25322476cabad893",
"signature_type": "Function",
"id": "CVE-2017-2671-f751b74e",
"deprecated": false,
"digest": {
"function_hash": "93832654162331360618300675164623370545",
"length": 452.0
}
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-2671.json"