An issue was discovered in fs/f2fs/super.c in the Linux kernel through 4.17.3. There is an out-of-bounds read or a divide-by-zero error for an incorrect userblockcount in a corrupted f2fs image, leading to a denial of service (BUG).
[
{
"target": {
"file": "fs/f2fs/super.c"
},
"id": "CVE-2018-13097-20fbbf61",
"deprecated": false,
"digest": {
"line_hashes": [
"188617023303810566970777698444434117755",
"152317629433577266930371913234563181674",
"198103354911332794005039628999044164966",
"172377954353535968125117992083944706411",
"271021626959863148332680538202239619257",
"212166258142763032128268946364359507513",
"290910410627303489094923206008582522035",
"97628557334360406695533200994522948583",
"240287136478308674155428448692080799929",
"269731303865417819679671845586245693403",
"197071573012511177957088218700428738474"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9dc956b2c8523aed39d1e6508438be9fea28c8fc",
"signature_version": "v1"
},
{
"target": {
"function": "f2fs_sanity_check_ckpt",
"file": "fs/f2fs/super.c"
},
"id": "CVE-2018-13097-6d7f5ac6",
"deprecated": false,
"digest": {
"length": 1759.0,
"function_hash": "107290390062925838081504771886932853462"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@9dc956b2c8523aed39d1e6508438be9fea28c8fc",
"signature_version": "v1"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-13097.json"