An issue was discovered in fs/xfs/xfssuper.c in the Linux kernel before 4.18. A use after free exists, related to xfsfsfillsuper failure.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-20976.json"
[
{
"id": "CVE-2018-20976-64db21c3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c9fbd7bbc23dbdd73364be4d045e5d3612cf6e82",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "66547978722838498812595420053673589221",
"length": 100.0
},
"target": {
"function": "xfs_fs_nr_cached_objects",
"file": "fs/xfs/xfs_super.c"
}
},
{
"id": "CVE-2018-20976-aa82bc5d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c9fbd7bbc23dbdd73364be4d045e5d3612cf6e82",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "250896896381642079260038893989161718804",
"length": 3536.0
},
"target": {
"function": "xfs_fs_fill_super",
"file": "fs/xfs/xfs_super.c"
}
},
{
"id": "CVE-2018-20976-b29ffbe3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c9fbd7bbc23dbdd73364be4d045e5d3612cf6e82",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"digest": {
"function_hash": "330113302968795931762978516223999573555",
"length": 309.0
},
"target": {
"function": "xfs_fs_put_super",
"file": "fs/xfs/xfs_super.c"
}
},
{
"id": "CVE-2018-20976-b843a21e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c9fbd7bbc23dbdd73364be4d045e5d3612cf6e82",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"96059481882851297383860628431273551549",
"129375904551433996480637446988511595979",
"12298810481677110522511378609416834307",
"114805241866331010313103435898716389016",
"323099313241631836511921555479130843840",
"25619851056607969904266107426578401040",
"84627884415059469619666217966273422899",
"226541300162554103371601419189978569842",
"72236884603275080558899547404804618671",
"24228829284034780892750240198739246965",
"160782097314258301391158318860385727039",
"120163227743049078500166115538722149355",
"315418974744807471817545018128777717185",
"75452746324617068024104461343024560616",
"64231665891559653752252124768755919474"
]
},
"target": {
"file": "fs/xfs/xfs_super.c"
}
}
]