In the Linux kernel, the following vulnerability has been resolved:
drm/meson: Fix refcount bugs in mesonvpuhasavailableconnectors()
In this function, there are two refcount leak bugs: (1) when breaking out of foreachendpointofnode(), we need call the ofnodeput() for the 'ep'; (2) we should call ofnodeput() for the reference returned by ofgraphgetremoteport() when it is not used anymore.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fc1fc2abfcb9235d0ece9a4d858426fb617cfa66",
"target": {
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-08de0d76",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18332574479139654362292168812264663228",
"184918691906867384941733516026570769125",
"167629679491199984840057285186390231269",
"155295916243449886868110652661837097110",
"119258988697698457769296765622298402469"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fc1fc2abfcb9235d0ece9a4d858426fb617cfa66",
"target": {
"function": "meson_vpu_has_available_connectors",
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-3498e411",
"digest": {
"length": 187.0,
"function_hash": "23061270665265121729957300273261070967"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3aa710e96747c8b4e52ba12ffe09edcb2755897c",
"target": {
"function": "meson_vpu_has_available_connectors",
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-4976cba6",
"digest": {
"length": 187.0,
"function_hash": "23061270665265121729957300273261070967"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8dec38e19f6928235d4009ce55f7add8af34e5c7",
"target": {
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-506fe2e9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18332574479139654362292168812264663228",
"184918691906867384941733516026570769125",
"167629679491199984840057285186390231269",
"155295916243449886868110652661837097110",
"119258988697698457769296765622298402469"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a758f0ba11699837af9e1a0f7cbac6ef765a23e",
"target": {
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-613ebad9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18332574479139654362292168812264663228",
"184918691906867384941733516026570769125",
"167629679491199984840057285186390231269",
"155295916243449886868110652661837097110",
"119258988697698457769296765622298402469"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a758f0ba11699837af9e1a0f7cbac6ef765a23e",
"target": {
"function": "meson_vpu_has_available_connectors",
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-7e366821",
"digest": {
"length": 187.0,
"function_hash": "23061270665265121729957300273261070967"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8dec38e19f6928235d4009ce55f7add8af34e5c7",
"target": {
"function": "meson_vpu_has_available_connectors",
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-9a2d8538",
"digest": {
"length": 187.0,
"function_hash": "23061270665265121729957300273261070967"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91b3c8dbe898df158fd2a84675f3a284ff6666f7",
"target": {
"function": "meson_vpu_has_available_connectors",
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-a14e1013",
"digest": {
"length": 187.0,
"function_hash": "23061270665265121729957300273261070967"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3aa710e96747c8b4e52ba12ffe09edcb2755897c",
"target": {
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-aad1f738",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18332574479139654362292168812264663228",
"184918691906867384941733516026570769125",
"167629679491199984840057285186390231269",
"155295916243449886868110652661837097110",
"119258988697698457769296765622298402469"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe71d84c1a6c0d54657431e8eeaefc9d24895304",
"target": {
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-cab1cc2b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18332574479139654362292168812264663228",
"184918691906867384941733516026570769125",
"167629679491199984840057285186390231269",
"155295916243449886868110652661837097110",
"119258988697698457769296765622298402469"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d58ef256781398ad115aef44de0a02ad27ea6c3a",
"target": {
"function": "meson_vpu_has_available_connectors",
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-df096b3c",
"digest": {
"length": 187.0,
"function_hash": "23061270665265121729957300273261070967"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d58ef256781398ad115aef44de0a02ad27ea6c3a",
"target": {
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-e03a478f",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18332574479139654362292168812264663228",
"184918691906867384941733516026570769125",
"167629679491199984840057285186390231269",
"155295916243449886868110652661837097110",
"119258988697698457769296765622298402469"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91b3c8dbe898df158fd2a84675f3a284ff6666f7",
"target": {
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-e28b654e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"18332574479139654362292168812264663228",
"184918691906867384941733516026570769125",
"167629679491199984840057285186390231269",
"155295916243449886868110652661837097110",
"119258988697698457769296765622298402469"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe71d84c1a6c0d54657431e8eeaefc9d24895304",
"target": {
"function": "meson_vpu_has_available_connectors",
"file": "drivers/gpu/drm/meson/meson_drv.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50038-f0fda786",
"digest": {
"length": 187.0,
"function_hash": "23061270665265121729957300273261070967"
},
"signature_type": "Function"
}
]