In the Linux kernel, the following vulnerability has been resolved:
video: fbdev: amba-clcd: Fix refcount leak bugs
In clcdfbofinitdisplay(), we should call ofnodeput() for the references returned by ofgraphgetnextendpoint() and ofgraphgetremoteportparent() which have increased the refcount.
Besides, we should call ofnodeput() both in fail path or when the references are not used anymore.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@29f06f1905c312671a09ee85ca92ac04a1d9f305",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-20312f5a",
"target": {
"function": "clcdfb_of_init_display",
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Function",
"digest": {
"length": 1148.0,
"function_hash": "51806223075786646846397678910744909916"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da276dc288bf838ea0fd778b5441ec0f601c69f7",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-36f26d04",
"target": {
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218164521064870102615718658829242753399",
"39730993581879072279530000443407544773",
"161383592253426921100890095123051937943",
"267489970407734095484752754531355995963",
"124789713401629947024710454054110289255",
"23193180368970737049561011797789546429",
"101313288560235046079529707897733646561",
"13285118452110563490981667568214977951",
"204876859039315379375993848815578664378",
"113348610534374302790330258693744982202",
"175631930926239091443199778244939036167",
"194017222196551623195241278192649166717",
"270410743800826100365793323817306388119",
"39229521567628506637099274484291844620",
"91760073027370232273268150660308371195",
"227880849120921143450655941840668019693",
"76536827371869789879654782496326254377",
"71517830418161929705364919269628421094"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da276dc288bf838ea0fd778b5441ec0f601c69f7",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-4b449fbb",
"target": {
"function": "clcdfb_of_init_display",
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Function",
"digest": {
"length": 1148.0,
"function_hash": "51806223075786646846397678910744909916"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@26c2b7d9fac42eb8317f3ceefa4c1a9a9170ca69",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-5c04ad5b",
"target": {
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218164521064870102615718658829242753399",
"39730993581879072279530000443407544773",
"161383592253426921100890095123051937943",
"267489970407734095484752754531355995963",
"124789713401629947024710454054110289255",
"23193180368970737049561011797789546429",
"101313288560235046079529707897733646561",
"13285118452110563490981667568214977951",
"204876859039315379375993848815578664378",
"113348610534374302790330258693744982202",
"175631930926239091443199778244939036167",
"194017222196551623195241278192649166717",
"270410743800826100365793323817306388119",
"39229521567628506637099274484291844620",
"91760073027370232273268150660308371195",
"227880849120921143450655941840668019693",
"76536827371869789879654782496326254377",
"71517830418161929705364919269628421094"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a88ab277cca99aeb9a3b2b7db358f1a6dd528b0c",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-651e56b9",
"target": {
"function": "clcdfb_of_init_display",
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Function",
"digest": {
"length": 1148.0,
"function_hash": "51806223075786646846397678910744909916"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a51519ebd0fdad3546463018b8f6bc3b0f4d3032",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-6ffc74e0",
"target": {
"function": "clcdfb_of_init_display",
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Function",
"digest": {
"length": 1148.0,
"function_hash": "51806223075786646846397678910744909916"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@49a4c1a87ef884e43cdda58b142a2a30f2f09efc",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-7870a9d0",
"target": {
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218164521064870102615718658829242753399",
"39730993581879072279530000443407544773",
"73632789291963805794104371856998232872",
"291884298847739302277771029373607136484",
"278112114802080440496339895195054016962",
"170156216870153997384953166976108241049",
"101313288560235046079529707897733646561",
"13285118452110563490981667568214977951",
"204876859039315379375993848815578664378",
"113348610534374302790330258693744982202",
"175631930926239091443199778244939036167",
"194017222196551623195241278192649166717",
"270410743800826100365793323817306388119",
"39229521567628506637099274484291844620",
"91760073027370232273268150660308371195",
"227880849120921143450655941840668019693",
"76536827371869789879654782496326254377",
"71517830418161929705364919269628421094"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2688df86c02da6bdc9866b62d974e169a2678883",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-8248dcbe",
"target": {
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218164521064870102615718658829242753399",
"39730993581879072279530000443407544773",
"11562097491919649380559640982130642244",
"200156086622787862653856881495036131679",
"81052019824951752993189620328010074304",
"335540705431522245434297216123260141549",
"170156216870153997384953166976108241049",
"101313288560235046079529707897733646561",
"13285118452110563490981667568214977951",
"204876859039315379375993848815578664378",
"113348610534374302790330258693744982202",
"175631930926239091443199778244939036167",
"194017222196551623195241278192649166717",
"270410743800826100365793323817306388119",
"39229521567628506637099274484291844620",
"91760073027370232273268150660308371195",
"227880849120921143450655941840668019693",
"76536827371869789879654782496326254377",
"71517830418161929705364919269628421094"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@49a4c1a87ef884e43cdda58b142a2a30f2f09efc",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-92167a51",
"target": {
"function": "clcdfb_of_init_display",
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Function",
"digest": {
"length": 1130.0,
"function_hash": "190015646250452039972706128071856683807"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a97ff8a949dbf41be89f436b2b1a2b3d794493df",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-a3ee787b",
"target": {
"function": "clcdfb_of_init_display",
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Function",
"digest": {
"length": 1249.0,
"function_hash": "142396162137896106454289625953691334638"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a97ff8a949dbf41be89f436b2b1a2b3d794493df",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-a6cc17fe",
"target": {
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218164521064870102615718658829242753399",
"39730993581879072279530000443407544773",
"11562097491919649380559640982130642244",
"200156086622787862653856881495036131679",
"81052019824951752993189620328010074304",
"335540705431522245434297216123260141549",
"170156216870153997384953166976108241049",
"101313288560235046079529707897733646561",
"13285118452110563490981667568214977951",
"204876859039315379375993848815578664378",
"113348610534374302790330258693744982202",
"175631930926239091443199778244939036167",
"194017222196551623195241278192649166717",
"270410743800826100365793323817306388119",
"39229521567628506637099274484291844620",
"91760073027370232273268150660308371195",
"227880849120921143450655941840668019693",
"76536827371869789879654782496326254377",
"71517830418161929705364919269628421094"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@29f06f1905c312671a09ee85ca92ac04a1d9f305",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-ad2886fe",
"target": {
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218164521064870102615718658829242753399",
"39730993581879072279530000443407544773",
"161383592253426921100890095123051937943",
"267489970407734095484752754531355995963",
"124789713401629947024710454054110289255",
"23193180368970737049561011797789546429",
"101313288560235046079529707897733646561",
"13285118452110563490981667568214977951",
"204876859039315379375993848815578664378",
"113348610534374302790330258693744982202",
"175631930926239091443199778244939036167",
"194017222196551623195241278192649166717",
"270410743800826100365793323817306388119",
"39229521567628506637099274484291844620",
"91760073027370232273268150660308371195",
"227880849120921143450655941840668019693",
"76536827371869789879654782496326254377",
"71517830418161929705364919269628421094"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a51519ebd0fdad3546463018b8f6bc3b0f4d3032",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-cd1a27e6",
"target": {
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218164521064870102615718658829242753399",
"39730993581879072279530000443407544773",
"161383592253426921100890095123051937943",
"267489970407734095484752754531355995963",
"124789713401629947024710454054110289255",
"23193180368970737049561011797789546429",
"101313288560235046079529707897733646561",
"13285118452110563490981667568214977951",
"204876859039315379375993848815578664378",
"113348610534374302790330258693744982202",
"175631930926239091443199778244939036167",
"194017222196551623195241278192649166717",
"270410743800826100365793323817306388119",
"39229521567628506637099274484291844620",
"91760073027370232273268150660308371195",
"227880849120921143450655941840668019693",
"76536827371869789879654782496326254377",
"71517830418161929705364919269628421094"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@26c2b7d9fac42eb8317f3ceefa4c1a9a9170ca69",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-ed968ee9",
"target": {
"function": "clcdfb_of_init_display",
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Function",
"digest": {
"length": 1148.0,
"function_hash": "51806223075786646846397678910744909916"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2688df86c02da6bdc9866b62d974e169a2678883",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-f82d89e0",
"target": {
"function": "clcdfb_of_init_display",
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Function",
"digest": {
"length": 1249.0,
"function_hash": "142396162137896106454289625953691334638"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a88ab277cca99aeb9a3b2b7db358f1a6dd528b0c",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50109-f910a15b",
"target": {
"file": "drivers/video/fbdev/amba-clcd.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218164521064870102615718658829242753399",
"39730993581879072279530000443407544773",
"161383592253426921100890095123051937943",
"267489970407734095484752754531355995963",
"124789713401629947024710454054110289255",
"23193180368970737049561011797789546429",
"101313288560235046079529707897733646561",
"13285118452110563490981667568214977951",
"204876859039315379375993848815578664378",
"113348610534374302790330258693744982202",
"175631930926239091443199778244939036167",
"194017222196551623195241278192649166717",
"270410743800826100365793323817306388119",
"39229521567628506637099274484291844620",
"91760073027370232273268150660308371195",
"227880849120921143450655941840668019693",
"76536827371869789879654782496326254377",
"71517830418161929705364919269628421094"
]
}
}
]