An issue was discovered in fs/f2fs/super.c in the Linux kernel through 4.17.3, which does not properly validate secsperzone in a corrupted f2fs image, as demonstrated by a divide-by-zero error.
[
{
"digest": {
"length": 3320.0,
"function_hash": "176242278332195506884780848256989533526"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@42bf546c1fe3f3654bdf914e977acbc2b80a5be5",
"deprecated": false,
"id": "CVE-2018-13100-73504e9e",
"signature_type": "Function",
"target": {
"function": "sanity_check_raw_super",
"file": "fs/f2fs/super.c"
},
"signature_version": "v1"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"113477710641800662802160023124026228500",
"332332700204767560302230191109666827028",
"103463521460045630042602445872599379107",
"205040747703581851376409930671747273850",
"314269101947412673321503639115934793619",
"264368843679394764477141245781526908657"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@42bf546c1fe3f3654bdf914e977acbc2b80a5be5",
"deprecated": false,
"id": "CVE-2018-13100-8bb03cf7",
"signature_type": "Line",
"target": {
"file": "fs/f2fs/super.c"
},
"signature_version": "v1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13100.json"