In the Linux kernel, the following vulnerability has been resolved:
mtd: rawnand: denali: Use managed device resources
All of the resources used by this driver has managed interfaces, so use them. Otherwise we will get the following splat:
[ 4.472703] denali-nand-pci 0000:00:05.0: timeout while waiting for irq 0x1000 [ 4.474071] denali-nand-pci: probe of 0000:00:05.0 failed with error -5 [ 4.473538] nand: No NAND device found [ 4.474068] BUG: unable to handle page fault for address: ffffc90005000410 [ 4.475169] #PF: supervisor write access in kernel mode [ 4.475579] #PF: errorcode(0x0002) - not-present page [ 4.478362] RIP: 0010:iowrite32+0x9/0x50 [ 4.486068] Call Trace: [ 4.486269] <IRQ> [ 4.486443] denaliisr+0x15b/0x300 [denali] [ 4.486788] ? denalidirectwrite+0x50/0x50 [denali] [ 4.487189] _handleirqeventpercpu+0x161/0x3b0 [ 4.487571] handleirqevent+0x7d/0x1b0 [ 4.487884] handlefasteoiirq+0x2b0/0x770 [ 4.488219] _commoninterrupt+0xc8/0x1b0 [ 4.488549] common_interrupt+0x9a/0xc0
[
{
"deprecated": false,
"id": "CVE-2022-49512-1969f622",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@efea1dd176edd17c8252051b7de6957f06efc394",
"signature_version": "v1",
"target": {
"function": "denali_pci_remove",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "41897166204156677369702378030417102166",
"length": 150.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-3351b718",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3830dbdfb9a4aec680e43ed80b9f23db7a88eac9",
"signature_version": "v1",
"target": {
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Line",
"digest": {
"line_hashes": [
"298723966409929826005720405417529385594",
"313620225380516347128692913099594735820",
"49496188417127062626406910672492589002",
"264680119253414394797410579106507745552",
"121537029995333715066171939138000968707",
"257125948635163122332354203535425152827",
"76333701090029089883293313834735538905",
"23423450195933595731370959682879608379",
"252091712943456681248893840164703096359",
"307151265778118534349553193538300375567",
"330458559974278054977068114372311284598",
"29466083393465619911270384680177605312",
"154650873234129283447879272041086209307",
"243599634480560230625410696422978375336",
"70764206741569335521746568247819382350",
"262945053098794709280608017674906474794",
"6318145436841849689365075722479285095",
"122321030445883782002302858277981203206",
"302026189738153637703775100356345678929",
"148916582615095644552744973460194989499",
"136650377578626782256970574570125300176",
"333794959217794458555192344210770960150",
"237415418400312938792970498399217778956",
"14173654546641039927590793957412072423",
"272823316245331399395346128483938739316",
"22075025806925670504550984018475873716",
"44254413429743061805307061945504300691",
"54782213702051351156975601086060448422",
"267256873816752358221556749574925207776"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-63f5d850",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@efea1dd176edd17c8252051b7de6957f06efc394",
"signature_version": "v1",
"target": {
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Line",
"digest": {
"line_hashes": [
"298723966409929826005720405417529385594",
"313620225380516347128692913099594735820",
"49496188417127062626406910672492589002",
"264680119253414394797410579106507745552",
"121537029995333715066171939138000968707",
"257125948635163122332354203535425152827",
"76333701090029089883293313834735538905",
"23423450195933595731370959682879608379",
"252091712943456681248893840164703096359",
"307151265778118534349553193538300375567",
"330458559974278054977068114372311284598",
"29466083393465619911270384680177605312",
"154650873234129283447879272041086209307",
"243599634480560230625410696422978375336",
"70764206741569335521746568247819382350",
"262945053098794709280608017674906474794",
"6318145436841849689365075722479285095",
"122321030445883782002302858277981203206",
"302026189738153637703775100356345678929",
"148916582615095644552744973460194989499",
"136650377578626782256970574570125300176",
"333794959217794458555192344210770960150",
"237415418400312938792970498399217778956",
"14173654546641039927590793957412072423",
"272823316245331399395346128483938739316",
"22075025806925670504550984018475873716",
"44254413429743061805307061945504300691",
"54782213702051351156975601086060448422",
"267256873816752358221556749574925207776"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-65946ce2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a745b51cddafade99aaea1b93aad31e9614e230",
"signature_version": "v1",
"target": {
"function": "denali_pci_probe",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "6981675958717430046265120337120051205",
"length": 2032.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-7bb515b5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3c68daf4a368cd9e63ae5a2145c9e4a6f838c166",
"signature_version": "v1",
"target": {
"function": "denali_pci_probe",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "6981675958717430046265120337120051205",
"length": 2032.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-890cc85c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3c68daf4a368cd9e63ae5a2145c9e4a6f838c166",
"signature_version": "v1",
"target": {
"function": "denali_pci_remove",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "41897166204156677369702378030417102166",
"length": 150.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-8b0fefcf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@efea1dd176edd17c8252051b7de6957f06efc394",
"signature_version": "v1",
"target": {
"function": "denali_pci_probe",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "6981675958717430046265120337120051205",
"length": 2032.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-9a41eefa",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87149cf9186201a63f0e0b93d9fa93d480bcb771",
"signature_version": "v1",
"target": {
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Line",
"digest": {
"line_hashes": [
"298723966409929826005720405417529385594",
"313620225380516347128692913099594735820",
"49496188417127062626406910672492589002",
"264680119253414394797410579106507745552",
"121537029995333715066171939138000968707",
"257125948635163122332354203535425152827",
"76333701090029089883293313834735538905",
"23423450195933595731370959682879608379",
"252091712943456681248893840164703096359",
"307151265778118534349553193538300375567",
"330458559974278054977068114372311284598",
"29466083393465619911270384680177605312",
"154650873234129283447879272041086209307",
"243599634480560230625410696422978375336",
"70764206741569335521746568247819382350",
"262945053098794709280608017674906474794",
"6318145436841849689365075722479285095",
"122321030445883782002302858277981203206",
"302026189738153637703775100356345678929",
"148916582615095644552744973460194989499",
"136650377578626782256970574570125300176",
"333794959217794458555192344210770960150",
"237415418400312938792970498399217778956",
"14173654546641039927590793957412072423",
"272823316245331399395346128483938739316",
"22075025806925670504550984018475873716",
"44254413429743061805307061945504300691",
"54782213702051351156975601086060448422",
"267256873816752358221556749574925207776"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-a29c9f2b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a745b51cddafade99aaea1b93aad31e9614e230",
"signature_version": "v1",
"target": {
"function": "denali_pci_remove",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "41897166204156677369702378030417102166",
"length": 150.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-b3388208",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3830dbdfb9a4aec680e43ed80b9f23db7a88eac9",
"signature_version": "v1",
"target": {
"function": "denali_pci_remove",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "41897166204156677369702378030417102166",
"length": 150.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-cea8579e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3c68daf4a368cd9e63ae5a2145c9e4a6f838c166",
"signature_version": "v1",
"target": {
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Line",
"digest": {
"line_hashes": [
"298723966409929826005720405417529385594",
"313620225380516347128692913099594735820",
"49496188417127062626406910672492589002",
"264680119253414394797410579106507745552",
"121537029995333715066171939138000968707",
"257125948635163122332354203535425152827",
"76333701090029089883293313834735538905",
"23423450195933595731370959682879608379",
"252091712943456681248893840164703096359",
"307151265778118534349553193538300375567",
"330458559974278054977068114372311284598",
"29466083393465619911270384680177605312",
"154650873234129283447879272041086209307",
"243599634480560230625410696422978375336",
"70764206741569335521746568247819382350",
"262945053098794709280608017674906474794",
"6318145436841849689365075722479285095",
"122321030445883782002302858277981203206",
"302026189738153637703775100356345678929",
"148916582615095644552744973460194989499",
"136650377578626782256970574570125300176",
"333794959217794458555192344210770960150",
"237415418400312938792970498399217778956",
"14173654546641039927590793957412072423",
"272823316245331399395346128483938739316",
"22075025806925670504550984018475873716",
"44254413429743061805307061945504300691",
"54782213702051351156975601086060448422",
"267256873816752358221556749574925207776"
],
"threshold": 0.9
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-e99afa53",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3830dbdfb9a4aec680e43ed80b9f23db7a88eac9",
"signature_version": "v1",
"target": {
"function": "denali_pci_probe",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "6981675958717430046265120337120051205",
"length": 2032.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-ee88d538",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87149cf9186201a63f0e0b93d9fa93d480bcb771",
"signature_version": "v1",
"target": {
"function": "denali_pci_probe",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "6981675958717430046265120337120051205",
"length": 2032.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-f78b5aa3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87149cf9186201a63f0e0b93d9fa93d480bcb771",
"signature_version": "v1",
"target": {
"function": "denali_pci_remove",
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "41897166204156677369702378030417102166",
"length": 150.0
}
},
{
"deprecated": false,
"id": "CVE-2022-49512-f929da93",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3a745b51cddafade99aaea1b93aad31e9614e230",
"signature_version": "v1",
"target": {
"file": "drivers/mtd/nand/raw/denali_pci.c"
},
"signature_type": "Line",
"digest": {
"line_hashes": [
"298723966409929826005720405417529385594",
"313620225380516347128692913099594735820",
"49496188417127062626406910672492589002",
"264680119253414394797410579106507745552",
"121537029995333715066171939138000968707",
"257125948635163122332354203535425152827",
"76333701090029089883293313834735538905",
"23423450195933595731370959682879608379",
"252091712943456681248893840164703096359",
"307151265778118534349553193538300375567",
"330458559974278054977068114372311284598",
"29466083393465619911270384680177605312",
"154650873234129283447879272041086209307",
"243599634480560230625410696422978375336",
"70764206741569335521746568247819382350",
"262945053098794709280608017674906474794",
"6318145436841849689365075722479285095",
"122321030445883782002302858277981203206",
"302026189738153637703775100356345678929",
"148916582615095644552744973460194989499",
"136650377578626782256970574570125300176",
"333794959217794458555192344210770960150",
"237415418400312938792970498399217778956",
"14173654546641039927590793957412072423",
"272823316245331399395346128483938739316",
"22075025806925670504550984018475873716",
"44254413429743061805307061945504300691",
"54782213702051351156975601086060448422",
"267256873816752358221556749574925207776"
],
"threshold": 0.9
}
}
]