The assocarrayinsertintoterminalnode function in lib/assocarray.c in the Linux kernel before 4.13.11 mishandles node splitting, which allows local users to cause a denial of service (NULL pointer dereference and panic) via a crafted application, as demonstrated by the keyring key type, and key addition and link creation operations.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-12193.json"
[
{
"signature_type": "Line",
"target": {
"file": "lib/assoc_array.c"
},
"deprecated": false,
"id": "CVE-2017-12193-35e27f67",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"298802586895244246548113198026021474615",
"161928532831423007614546602797071334741",
"216018208304461809455328846452746847917",
"292823692957634391288148350721232917631",
"18763934392760239433032306357003633621",
"61820986540169818273379826288362179498",
"312658811869468010757763326859002325089",
"108178772768661929206184725673779303022",
"316383117338536161303302825726710916087",
"290338534665252397765401650409172840146",
"230732980612572639569051189963511841751",
"195338803649030435176381855693381235827",
"313637658879002536538910487535474953297",
"60355025268959611171601722519055871250",
"154457055916189176432464592828093891789",
"132086028984286082074514404152214348123",
"339204924609621080599375933711237841111",
"61582994484093078180338753745655297589",
"220942810403283040127502003642804420251",
"28474665361935485008325363080224703318",
"102918584561034461250639279905505924749",
"275883418716738925310761643118142666404",
"214618633283270731770605169766392721584",
"205507018790913527552224741068476392394",
"22484866174706591357290542910062719110",
"105484605964344158531036647120312246100",
"192335277115057732164696633532350601992",
"35036601781419616301934928904095334473"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ea6789980fdaa610d7eb63602c746bf6ec70cd2b"
},
{
"signature_type": "Function",
"target": {
"file": "lib/assoc_array.c",
"function": "assoc_array_insert_into_terminal_node"
},
"deprecated": false,
"id": "CVE-2017-12193-f71ffa81",
"signature_version": "v1",
"digest": {
"function_hash": "104086773824791029465228850790733574387",
"length": 7680.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ea6789980fdaa610d7eb63602c746bf6ec70cd2b"
}
]