The keyrejectand_link function in security/keys/key.c in the Linux kernel through 4.6.3 does not ensure that a certain data structure is initialized, which allows local users to cause a denial of service (system crash) via vectors involving a crafted keyctl request2 command.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"239415392035887708406515296023627009615",
"258233288389945452499074849492714821540",
"79147142035672848401463966725935439746",
"108711496445572938335565040560164047505"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@38327424b40bcebe2de92d07312c89360ac9229a",
"deprecated": false,
"id": "CVE-2016-4470-92a49341",
"signature_type": "Line",
"target": {
"file": "security/keys/key.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 1144.0,
"function_hash": "122964952574080354260693864750481484203"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@38327424b40bcebe2de92d07312c89360ac9229a",
"deprecated": false,
"id": "CVE-2016-4470-a80c40dd",
"signature_type": "Function",
"target": {
"function": "key_reject_and_link",
"file": "security/keys/key.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4470.json"
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"239415392035887708406515296023627009615",
"258233288389945452499074849492714821540",
"79147142035672848401463966725935439746",
"108711496445572938335565040560164047505"
]
},
"source": "https://github.com/torvalds/linux/commit/38327424b40bcebe2de92d07312c89360ac9229a",
"deprecated": false,
"id": "CVE-2016-4470-b2adfa8b",
"signature_type": "Line",
"target": {
"file": "security/keys/key.c"
},
"signature_version": "v1"
},
{
"digest": {
"length": 1144.0,
"function_hash": "122964952574080354260693864750481484203"
},
"source": "https://github.com/torvalds/linux/commit/38327424b40bcebe2de92d07312c89360ac9229a",
"deprecated": false,
"id": "CVE-2016-4470-d5926c4c",
"signature_type": "Function",
"target": {
"function": "key_reject_and_link",
"file": "security/keys/key.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-4470.json"