In the Linux kernel 5.0.21, mounting a crafted f2fs filesystem image can cause a NULL pointer dereference in f2fsrecoverfsyncdata in fs/f2fs/recovery.c. This is related to F2FSP_SB in fs/f2fs/f2fs.h.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19815.json"
[
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"function_hash": "88823218812366719002318023245365068531",
"length": 992.0
},
"id": "CVE-2019-19815-04ebad83",
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c",
"function": "f2fs_mpage_readpages"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"function_hash": "113653504014232990421730530062348338185",
"length": 410.0
},
"id": "CVE-2019-19815-10d6d7c3",
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c",
"function": "f2fs_set_data_page_dirty"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"function_hash": "250181809871210620898461664416817139459",
"length": 1903.0
},
"id": "CVE-2019-19815-49b94810",
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c",
"function": "f2fs_read_single_page"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"function_hash": "13481080775987535796439234929643292216",
"length": 294.0
},
"id": "CVE-2019-19815-55241928",
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c",
"function": "__read_io_type"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"line_hashes": [
"248316701817043687811544168683898025342",
"154950509985233030177512370980746076342",
"136449379811711336813877632093732918905",
"255696770298847757090688101615762187138",
"115949137549479294157745745827682075906",
"38704100678917677621229752706429217464",
"283732295073846197650043909157458638592",
"177411837169614929290720205355883264590",
"93293231562235017294899649869106970037",
"175005265590151270512809587344785556971",
"298711617624987728290171520436396024712",
"195980031914157878537746375003557678229",
"238537125517124937580029102479037746412",
"51096048004949104001673791249551799025",
"173371467915447420158637529858766701222",
"169209803274316823577766966681576125996",
"289384105541792743450568250805088932785",
"34281976069900553606273408667939696080",
"251976518266318966415377589829054856145",
"212161991625944245502020643961973502406",
"244125774765102650152467436718504899844",
"30412690827219000428184684448014866047",
"321580388020547773322357756548942462392",
"268680973270411123800552109937362604503",
"283197091975172135360870705801051187046",
"91085208863931181133436175622951659199",
"299204025634199789288518806476424828808",
"6301828965591474211283117142590347675",
"162432388979534503135581915805207239488",
"101652228236433603827855778847759066920",
"181009510459609914108313525009838294657",
"155070477468900656743399541931251118792",
"283167734232672782739301244845017045731",
"307723523223546637275601226627653263659",
"279684334599254414358166660528944451331",
"325892796770618383841471247281002514780",
"243889818633110973426164093893873472270",
"15340578494959779529346383664742972385",
"244459298545927638025429243427673978774",
"300581159250763667748711699077374464121",
"204704486045945609828661008049534858205",
"180245817096572172405430466014295675313",
"318392581653736820961504797005382689751"
],
"threshold": 0.9
},
"id": "CVE-2019-19815-c52634cd",
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"line_hashes": [
"279288148498738167899716476671770179886",
"215187326020463600815085285718691802089",
"179889188833352503490575944912031659613",
"192813305473311487517995324808238692654",
"40956140210862940304674552532974862549",
"74097902049984988476988924483921634877",
"111719487127271766825538106244740008205",
"176574074427082068371446713938952624532"
],
"threshold": 0.9
},
"id": "CVE-2019-19815-c672e708",
"deprecated": false,
"target": {
"file": "fs/f2fs/f2fs.h"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"function_hash": "205117773443017237605417758285955503397",
"length": 91.0
},
"id": "CVE-2019-19815-d4b1d477",
"deprecated": false,
"target": {
"file": "fs/f2fs/f2fs.h",
"function": "F2FS_P_SB"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"function_hash": "235967729197156424204575262411939354938",
"length": 454.0
},
"id": "CVE-2019-19815-e3ff5f65",
"deprecated": false,
"target": {
"file": "fs/f2fs/f2fs.h",
"function": "f2fs_force_buffered_io"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"function_hash": "281744510612930826762528786625918794868",
"length": 309.0
},
"id": "CVE-2019-19815-f7e6b185",
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c",
"function": "f2fs_read_data_page"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6",
"digest": {
"line_hashes": [
"207251347562770250510481758832339553129",
"290006940912814490543181681161639748459",
"128578039975602681331572076170755394477",
"153210849567367562486178810395670185379",
"205573627654794636377770190688235819770",
"291230557682500309174638668484011713863",
"290006940912814490543181681161639748459",
"50126662172039017414957730716029996763",
"59062509699637805773315195205277534347",
"169853029162660717399336467437438276670",
"12863818536051983995409805247615416569",
"102615805736974062093921209086881044623"
],
"threshold": 0.9
},
"id": "CVE-2019-19815-ff4b5994",
"deprecated": false,
"target": {
"file": "include/trace/events/f2fs.h"
}
}
]