The addfreenid function in fs/f2fs/node.c in the Linux kernel before 4.12 does not properly track an allocated nid, which allows local users to cause a denial of service (race condition) or possibly have unspecified other impact via concurrent threads.
[
{
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/f2fs/node.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"213683429585720422647056435643156213346",
"302795423707826179669371699746193665301",
"222121177085942673800496199840205489235",
"335056067328727276502996104569061346873",
"267490997118211783293732834090816958680",
"257776019350165585650578891611596644082",
"203374031230719843011106733841043042753",
"146541757690865897882582920719678117072",
"194513357847280449615356179612608358897",
"296342924342676027450346718821395245654",
"213369827742977495591989652521238633324",
"252431255829506828281563534604753287246",
"76343029668580182978492927797549651244",
"10012862615794318460233886170975611475",
"97606918603519644041156403274086028305",
"38382480320661179401953953532165033197",
"96815434819247250817327819146815957043",
"32597612249888626504581969173601881428",
"105221238253937289107474140667045431801",
"284662002036479647212105150425582671639",
"253160583654721992984671134503593288769",
"136740421438776284511300573991363271680",
"118276531822496998702282288694829652521",
"312986433822188609403221298755641360164",
"320168452451867252685628701893161350879",
"314440232367902515075259307960254523035",
"32373241918641123339856776030349901371",
"176002938674192061960928925480648708874",
"203027904947149688024190515011570206033",
"59656715669599372717779990667183218747"
]
},
"id": "CVE-2017-18249-0af58eff",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@30a61ddf8117c26ac5b295e1233eaa9629a94ca3",
"signature_type": "Line"
},
{
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/f2fs/node.c",
"function": "add_free_nid"
},
"digest": {
"length": 746.0,
"function_hash": "244243488851978618097716846575249460418"
},
"id": "CVE-2017-18249-2d748bbd",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@30a61ddf8117c26ac5b295e1233eaa9629a94ca3",
"signature_type": "Function"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-18249.json"