An issue was discovered in fs/xfs/xfsicache.c in the Linux kernel through 4.17.3. There is a NULL pointer dereference and panic in lookupslow() on a NULL inode->i_ops pointer when doing pathwalks on a corrupted xfs image. This occurs because of a lack of proper validation that cached inodes are free during allocation.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-13093.json"
[
{
"digest": {
"function_hash": "320814025727769442977314271552558523503",
"length": 1830.0
},
"signature_version": "v1",
"target": {
"file": "fs/xfs/xfs_icache.c",
"function": "__releases"
},
"signature_type": "Function",
"id": "CVE-2018-13093-0592724e",
"source": "https://github.com/torvalds/linux/commit/afca6c5b2595fc44383919fba740c194b0b76aff",
"deprecated": false
},
{
"digest": {
"function_hash": "198433254313050920302665774294611574116",
"length": 1735.0
},
"signature_version": "v1",
"target": {
"file": "fs/xfs/xfs_icache.c",
"function": "xfs_iget_cache_miss"
},
"signature_type": "Function",
"id": "CVE-2018-13093-99ca3eb2",
"source": "https://github.com/torvalds/linux/commit/afca6c5b2595fc44383919fba740c194b0b76aff",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"97987825683652886544612682860299814935",
"96863837174723635591824139252791600094",
"109280550130255400370075901641594799330",
"128216865693288272587310492228941721092",
"317874570648538833721467594485530433669",
"72061764578148191419881384572349471948",
"139293824261533160578957308172043902244",
"195137662940010448470647392339634857568",
"203417227113867907039910379741912351222",
"300982728388830476942992920379889028657",
"75805687541662225778950692154377686321",
"231721579863158024967203647410598010408",
"165375767453623419217178152274685748618",
"224932624455972672336739623176871661016",
"110750538831542277452698033670198972872",
"169565207759785118194074564485234819867",
"292259562111133538614207367909787643723",
"175216183777956904779583893043481981625",
"75225710963103802790197646518266192974",
"272837838762694878142945696950976039102",
"82129592620511155462162863011133112700",
"287404070155164677533033552248216470044",
"92870049965500591334428150821098013383",
"85409373757548511846080237423529730247",
"175216183777956904779583893043481981625",
"317040775154145928425008979239754873196",
"81178689548652187674198705480677734798",
"142268058000466790911001889891849225547",
"236450443930255085339255688201181537519",
"106872545556196691839746224092339581989",
"66037475718726345282917956625979880144",
"90122455360281106844658249003114692063"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "fs/xfs/xfs_icache.c"
},
"signature_type": "Line",
"id": "CVE-2018-13093-d4efd36d",
"source": "https://github.com/torvalds/linux/commit/afca6c5b2595fc44383919fba740c194b0b76aff",
"deprecated": false
}
]