An issue was discovered in fs/xfs/libxfs/xfsinodebuf.c in the Linux kernel through 4.17.3. A denial of service (memory corruption and BUG) can occur for a corrupted xfs image upon encountering an inode that is in extent format, but has more extents than fit in the inode fork.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13095.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "158463910534130288678268819112372720517",
"length": 2970.0
},
"signature_type": "Function",
"target": {
"file": "fs/xfs/libxfs/xfs_inode_buf.c",
"function": "xfs_dinode_verify"
},
"source": "https://github.com/torvalds/linux/commit/23fcb3340d033d9f081e21e6c12c2db7eaa541d3",
"id": "CVE-2018-13095-15ebce66",
"signature_version": "v1"
},
{
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"265903588588600189940269822569826458916",
"244215357134234944564616469486541267666",
"104274161278882861974257598993130665688"
]
},
"signature_type": "Line",
"target": {
"file": "fs/xfs/libxfs/xfs_format.h"
},
"source": "https://github.com/torvalds/linux/commit/23fcb3340d033d9f081e21e6c12c2db7eaa541d3",
"id": "CVE-2018-13095-3d166aa5",
"signature_version": "v1"
},
{
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"152272592579265768771611595630419189505",
"124463374506833602325486782976720481458",
"47261235854348741587478755972555699998",
"305264461850233778966912021162977187359",
"235492484288359107713799122195710809348",
"113426594126463185021577651158107284013",
"168637416371470432348218065369888826734",
"300337695124507296386882235553193587870",
"104640527263402354318814737817650130813",
"11142940609893294249981602234408753936",
"325844964801936066955992992398338212272",
"227470977346839969912323701758592703571",
"16143110194950538078309431334285809656",
"208864500967215727836994190545335682540",
"254881966053698606887051612213754300513",
"95761126459059387974612127237968708970",
"142392293898614372413702230953247172202",
"303956016343321168393225757164153576993",
"8017434605018572449936673157846108569",
"148693154163034899177369813643018327063",
"28980397244569684003428312281311594274",
"120246238120899481426608626125940714208",
"122271301989382584250773867532305544535",
"280223830055802517698135304987918266730",
"136280450619451477512812596802377836733",
"22555886063763052769489684800660701917",
"208864500967215727836994190545335682540",
"254881966053698606887051612213754300513",
"95761126459059387974612127237968708970",
"142392293898614372413702230953247172202",
"32946748941652746572584533990613298091",
"214439518081751707860676529119093384852",
"761036319163368168277886834011075910"
]
},
"signature_type": "Line",
"target": {
"file": "fs/xfs/libxfs/xfs_inode_buf.c"
},
"source": "https://github.com/torvalds/linux/commit/23fcb3340d033d9f081e21e6c12c2db7eaa541d3",
"id": "CVE-2018-13095-3e1b51d4",
"signature_version": "v1"
}
]